Connect multiple ESP8266 with mobile

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

Connect multiple ESP8266 with mobile

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

Hi,

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?

Thanks.

pratik

Re: Connect multiple ESP8266 with mobile

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

Perhaps you should consider ESP-MESH?
https://github.com/espressif/ESP8266_MESH_DEMO
You can connect multiple devices in a self organizing network without much issue.

Nielson
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.

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

Web client for ESP8266.

https://github.com/esp8266/Arduino/blob ... 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.

Who is online

Users browsing this forum: No registered users and 4 guests