0

Led ON using WIFI and Two FEATHER HUZZAH W/ ESP8266 WIFI
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Led ON using WIFI and Two FEATHER HUZZAH W/ ESP8266 WIFI

by igeorge688 on Thu Jan 16, 2020 9:39 pm

Hello,
I just bought TWO boards ASSEMBLED FEATHER HUZZAH W/ ESP8266 WIFI WITH STACKING HEADERS
I read the description and tried the example.
It works.
What i would like, is to get an example of interaction between the two boards using WIFI.
Lets say, each board has 3 Pushbuttons and 3 leds.
I would like some help to achieve:
Press B1 on board one and Led1 on board two is ON.
And vice versa, pressing let's say B2 on board 2 i can turn ON Led 2 on board 1.
At the moment i will be happy to start simple.
The leds, stay on as long as keep the button pressed, and when i release, led will turn OFF.
Also, for simplicity, each WIFI board is connected to the same SSID. Just inside of my house.
As i have two wireless routers in the house, I will put probably one board in one SSID and the other board on the other SSID.
Can somebody help me to start with ESP, and WIFI please ?
Once i have an example, i can read and play with it to develop more.
Thank you very much.

igeorge688
 
Posts: 3
Joined: Thu Jan 16, 2020 9:19 pm

Re: Led ON using WIFI and Two FEATHER HUZZAH W/ ESP8266 WIFI

by brubell on Wed Jan 22, 2020 12:00 pm

Check out this guide: Remote control with the huzzah plus adafruit io

https://learn.adafruit.com/remote-contr ... dafruit-io

Note that this guide uses the 8266 Huzzah - you can easily substitute the Feather Huzzah w/8266 instead. Be sure to check the pinouts while building it.

As i have two wireless routers in the house, I will put probably one board in one SSID and the other board on the other SSID.


The code in the guide above should work for this scenario, too.

brubell
 
Posts: 745
Joined: Fri Jul 17, 2015 10:33 pm

Re: Led ON using WIFI and Two FEATHER HUZZAH W/ ESP8266 WIFI

by igeorge688 on Wed Jan 22, 2020 12:28 pm

Thank you very much Brubel,
I will read and test it .
You help me a lot by guiding me to a start.
Have a great day.

igeorge688
 
Posts: 3
Joined: Thu Jan 16, 2020 9:19 pm

Please be positive and constructive with your questions and comments.