I need to use Arduino Uno and ESP8266-01 and let them communicate to each other. I have multiple sensors on my analog pins and multiple devices on the digital pins. I want to control them online using ESP8266-01. How can I transfer the data from Arduino Uno to ESP8266 for me to send it to my web server? Thank you.
If you Google 'Arduino esp8266' you'll find quite a few useful pages
20lester20:
I need to use Arduino Uno and ESP8266-01 and let them communicate to each other. I have multiple sensors on my analog pins and multiple devices on the digital pins. I want to control them online using ESP8266-01. How can I transfer the data from Arduino Uno to ESP8266 for me to send it to my web server? Thank you.
Communicate between the ESP and the Uno using serial. I suggest using the SoftwareSerial library in order to allow the hardware serial lines on both devices free for programming.
Alternatively you could use I2C, the ESP must be the slave as the Uno is only capabe of being a master.
However here is a better idea. Don't use the Uno, or version 01 of the ESP8266 (as its difficult to work with). I suggest getting an ESP8266-12E (search AliExpress for "esp8266 nodemcu") I've personally ordered many from this seller: AliExpress.com ESP8266-12E seller. The only drawback is one ADc input(no internal mux), and an ADC max of 1.0V. You can easily get around this by using some ADS1115 boards (search AliExpress for "ADS1115"), which will give you 16 bits of resolution AND true differential inputs!