Communicate between Arduino and ESP8266?
Posted: Mon Sep 26, 2016 10:48 am
There are a great many examples of how to send AT commands from an Arduino to the ESP8266. There are also many examples of writing sketch files to the ESP8266 and using it as a standalone device. Does anyone have an example of communicating between the two to pass data back and forth?
For example, the Arduino might read some data from its inputs, send that data to the ESP8266 and the ESP8266 handle the wifi delivery of the data somewhere. Also the ESP8266 may receive commands from the internet and will then pass that data back to the arduino for processing. Both are standalone units that are communicating with each other over their TX/RX pins or software serial.
So far I haven't located any example to do something like that but I'm sure it is possible.
For example, the Arduino might read some data from its inputs, send that data to the ESP8266 and the ESP8266 handle the wifi delivery of the data somewhere. Also the ESP8266 may receive commands from the internet and will then pass that data back to the arduino for processing. Both are standalone units that are communicating with each other over their TX/RX pins or software serial.
So far I haven't located any example to do something like that but I'm sure it is possible.