Connect multiple ESP8266 with mobile

Posts: 3
Joined: Tue Jan 19, 2016 3:54 pm

Connect multiple ESP8266 with mobile

Postby amtech » Mon Jul 17, 2017 7:56 pm


I've three ESP8266 modules. All are used as web-servers as transparent serial link.
With one to one connection it's working OK.
How can I connect to all three module with one mobile application?



Re: Connect multiple ESP8266 with mobile

Postby pratik » Mon Jul 24, 2017 6:35 pm

Perhaps you should consider ESP-MESH?
You can connect multiple devices in a self organizing network without much issue.

Posts: 6
Joined: Wed Dec 09, 2020 4:15 pm

Re: Connect multiple ESP8266 with mobile

Postby Nielson » Wed Mar 17, 2021 2:14 pm

Assuming you plan, I suggest you look at the ESP8266 examples include with the IDE. The following are links to github but the same code is available in the FMWhatsApp IDE.

Make an ESP8266 an access point with web server. ... Portal.ino

Web client for ESP8266. ... Client.ino

The hazy general idea is to have the 4 ESPs/web clients connect to the ESP AP/web server. The Android phone can connect to the ESP AP to get data. Try the other examples because there may be a better way to do what you want.

Posts: 4
Joined: Mon Apr 26, 2021 4:50 pm

Re: Connect multiple ESP8266 with mobile

Postby milesstone » Thu Apr 29, 2021 1:51 pm

You should use a bus that's designed for this kind of thing, rather than inventing a new one on your own. With your description, I see two options: I2C or RS485. The former is designed for close distance (mostly on the same PCB, maybe a dozen centimeters, while the latter is designed for up to hundreds of meters, offering protection against interference. The ESP comes with I2C support built in. For RS485, you can convert the built-in UART interface to that via a chip (or module) like theyowhatsapp MAX485.

Who is online

Users browsing this forum: No registered users and 2 guests