-->
Page 2 of 8

Re: Making a combi project using esp8266 and arduino uno

PostPosted: Sun Feb 12, 2017 4:22 pm
by gdsports
You will have to look around for a similar project. Then learn from it and adapt it to your needs. For example, this project shows the server half with DHT and web interface. Get something like this working first. The DHT sensor is connected to the ESP. There is no need for an Arduino Uno.

https://learn.adafruit.com/esp8266-temp ... r/overview

Unfortunately, Adafruit's tutorial is a little rusty. Ignore their instructions for setting up the Arduino IDE. Use there latest instructions from here.

https://github.com/esp8266/arduino#ardu ... -wifi-chip

Re: Making a combi project using esp8266 and arduino uno

PostPosted: Tue Feb 14, 2017 6:04 am
by Lucas neill
gdsports wrote:You will have to look around for a similar project. Then learn from it and adapt it to your needs. For example, this project shows the server half with DHT and web interface. Get something like this working first. The DHT sensor is connected to the ESP. There is no need for an Arduino Uno.

https://learn.adafruit.com/esp8266-temp ... r/overview

Unfortunately, Adafruit's tutorial is a little rusty. Ignore their instructions for setting up the Arduino IDE. Use there latest instructions from here.

https://github.com/esp8266/arduino#ardu ... -wifi-chip

I successfully made this adafruit project but now how can I make my other esp read this temperature info and turn the relay on connected to it?

Re: Making a combi project using esp8266 and arduino uno

PostPosted: Tue Feb 14, 2017 2:37 pm
by Lucas neill
I found this post for my purpose

http://www.geekstips.com/two-esp8266-co ... omment-178

but how can i modify this to turn on the relay on AP side according to temperature readings from client side?

Re: Making a combi project using esp8266 and arduino uno

PostPosted: Tue Feb 14, 2017 6:23 pm
by gdsports
I successfully made this adafruit project but now how can I make my other esp read this temperature info and turn the relay on connected to it?

The following example shows how another ESP can connect to the Adafruit webserver example to get temperature. Change the http.begin() line.

Code: Select allhttp.begin("http://<IP address of ESP with DHT>/temp");


https://github.com/esp8266/Arduino/blob ... Client.ino

Look for an example of controlling a relay from an ESP.