Here’s how to set up serial comms between a NodeMCU V1 (ESP-12E) and Arduino Nano. Note, you could replace the Nano with any Arduino board but I have only tested with a Nano.
Here are parts required:
- NodeMCU V1 (ESP-12E) (https://raw.githubusercontent.com/nodemcu/nodemcu-devkit-v1.0/master/Documents/NodeMCU_DEVKIT_1.0.jpg)
- Arduino Nano V3 (https://store.arduino.cc/usa/arduino-nano)
- Logic Level Converter (like this: https://www.sparkfun.com/products/12009)
Here’s the diagram:
And the source code is available here: https://github.com/coytar/Snippets/tree/master/NodeMCU_To_Nano
Good luck! 🙂