Feather Huzzah ESP8266 Communication

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mmblank
 
Posts: 3
Joined: Mon Apr 09, 2018 12:40 pm

Feather Huzzah ESP8266 Communication

Post by mmblank »

Are two boards capable of communicating with each other? If so, how would I go about connecting the two boards together?

My goal is to record sensor data on one board and send the data over a long distance to another board that will then produce a response.

User avatar
kcl1s
 
Posts: 1512
Joined: Tue Aug 30, 2016 12:06 pm

Re: Feather Huzzah ESP8266 Communication

Post by kcl1s »

Here is a link that describes the modes the 8266 can use for communication. https://github.com/esp8266/Arduino/tree ... sp8266wifi

Fellow Hobbyist
Keith

User avatar
mmblank
 
Posts: 3
Joined: Mon Apr 09, 2018 12:40 pm

Re: Feather Huzzah ESP8266 Communication

Post by mmblank »

Thank you.

After reading through the information, it seems like you can only connect the ESP8266 to a computer/phone. Has anyone had any luck connecting it to a second ESP8266?

We are trying to create a device that takes sensor information from one user and transmits the information to a second user in a remote location. Is this is a possibility?

Thanks for the help!

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Feather Huzzah ESP8266 Communication

Post by adafruit_support_mike »

You can program one ESP8266 to run as a Wifi access point and have the other one connect to that. The WAP can talk to devices through TCP/IP while it's also handling the Wifi connection.

User avatar
mmblank
 
Posts: 3
Joined: Mon Apr 09, 2018 12:40 pm

Re: Feather Huzzah ESP8266 Communication

Post by mmblank »

Thank you!

Will this work across long distances? Or is this short ranged?

Thanks again for the help!

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Feather Huzzah ESP8266 Communication

Post by adafruit_support_mike »

It's a Wifi connection, so the nominal range is about 50m. That tends to be a best-case estimate even for consumer Wifi hubs, but I'd guess you could make a connection work at 20m to 30m in an environment without a lot of other Wifi interference.

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”