Multiple Esp8266 wireless communication
Posted: Wed Jun 15, 2016 10:18 am
Hi Everybody,
I'm a noob in electronics and i'm stuck right now.
Ok so, i've made a simple program via arduino IDE and used an Arduino Mega (until recently). The program reads PH from my green house water supply, displays it on a 20*4 lcd screen, and activate some 12v pumps via some relays if the PH isn't correct. Until here, everything is fine.
The thing is, i've tried the ESP8266 in order to make my setup wireless.
The target is to have one ESP in my house, connected to the LCD, receiving data and sending orders to the other ESP¨in my greenhouse (which is connected to the temp sensor and the relay board).
As I told you, I'm a noob... and I only have basic knowledge about code.
Is there someone that could help me or provide me an sample of code for the server side and another for the client side?
All I can find on the internet are tutorials that show how to display values on a webpage, but i can't figure out how the other ESP can retrieve it.
Same thing for the relay part, i can find code that allow me to turn on/off my relays via a webpage, but nothing on how i can turn it on/off from another ESP.
Sorry if everything isn't clear, i'm a beginner AND french...
Please helllllp
I'm a noob in electronics and i'm stuck right now.
Ok so, i've made a simple program via arduino IDE and used an Arduino Mega (until recently). The program reads PH from my green house water supply, displays it on a 20*4 lcd screen, and activate some 12v pumps via some relays if the PH isn't correct. Until here, everything is fine.
The thing is, i've tried the ESP8266 in order to make my setup wireless.
The target is to have one ESP in my house, connected to the LCD, receiving data and sending orders to the other ESP¨in my greenhouse (which is connected to the temp sensor and the relay board).
As I told you, I'm a noob... and I only have basic knowledge about code.
Is there someone that could help me or provide me an sample of code for the server side and another for the client side?
All I can find on the internet are tutorials that show how to display values on a webpage, but i can't figure out how the other ESP can retrieve it.
Same thing for the relay part, i can find code that allow me to turn on/off my relays via a webpage, but nothing on how i can turn it on/off from another ESP.
Sorry if everything isn't clear, i'm a beginner AND french...
Please helllllp