Connect multiple ESP8266 with mobile
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?
Thanks.
Re: Connect multiple ESP8266 with mobile
Postby pratik » Mon Jul 24, 2017 6:35 pm
https://github.com/espressif/ESP8266_MESH_DEMO
You can connect multiple devices in a self organizing network without much issue.
Re: Connect multiple ESP8266 with mobile
Postby Nielson » Wed Mar 17, 2021 2:14 pm
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.
-
- Posts: 169
- Joined: Mon Apr 26, 2021 4:50 pm
Re: Connect multiple ESP8266 with mobile
Postby milesstone » Thu Apr 29, 2021 1:51 pm
Re: Connect multiple ESP8266 with mobile
Postby Nielson » Sat Jul 31, 2021 10:03 pm
milesstone wrote: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.
You know how you have a web link that brings up your HTML GUI developed from one of your esp 8266s? Wondering if that can website can be used to manipulate multiple esp8266s.
Re: Connect multiple ESP8266 with mobile
Postby nobita001 » Tue Sep 07, 2021 5:13 pm
milesstone wrote: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 thekinemaster mods MAX485.
Thanks for the suggestion...hope it work out without any issue.
-
- Posts: 10
- Joined: Sat Sep 11, 2021 2:42 pm
- Contact:
Re: Connect multiple ESP8266 with mobile
Postby JohnWick128 » Sat Sep 11, 2021 2:47 pm
milesstone wrote: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 the MAX485.
Thanks for your suggestion, it was very helpfulNull's Brawl Apk
-
- Posts: 1
- Joined: Sat Dec 25, 2021 12:01 am
Re: Connect multiple ESP8266 with mobile
Postby daniel8317lon » Sat Dec 25, 2021 12:06 am
Re: Connect multiple ESP8266 with mobile
Postby Keonte45 » Fri Sep 23, 2022 12:16 am
milesstone wrote: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.
Thank you for this!!
Who is online
Users browsing this forum: No registered users and 4 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.