NodeMCU with arduino nano

Hi, i currently have a Nodemcu module i need to use it as wifi for the arduino nano as i don't have an individual esp8266 right now

i want to connect all sensors and modules to the nano and use the nodeMCU as a sender and receiver to the IoT platform only

is this possible and how to connect that

The reason of that that all sensors are analog

You can connect the Nano to the NodeMCU

  • with SoftwareSerial(...) at both sides
  • with I2c
  • with SPI

In all cases you must program the data transfer at both sides. And you should calculate the speed if it is fast enough for your application.

I did it with SoftwareSerial(19200) - it is not very fast.