ESP as AP and Server - Websockets
Posted: Wed Sep 28, 2016 7:46 am
Greetings,
I am trying to make a system comprised of 4 esp8266s connected to sensors which then communicate to 1 esp8266 acting as a server connected to a LCD screen. I'm using Wemos D1 mini's as my esp8266 board of choice.
I have failed miserably at this.
I initially wanted to do websockets along with the LCD screen, so a person could use a smartphone with the server's site open as a screen if desired. I have all the sketches developed in the arduino IDE, obviously not the most efficient programming, but it works (*should work).
While trying to put this together, I've struggled with the reliability of the esp8266 as an access point. I've also struggled with the esp8266s connecting to eachother with websockets.
As I've flashed code over and over to the esp8266, I've run into other weird issues, like the multiple APs shown from the esp8266, restarts, etc.
Is the esp8266 robust enough to do what I want and I am just not running the right code? Do you guys have examples of a working system like this? Should I move to NRF24L01s?
I am trying to make a system comprised of 4 esp8266s connected to sensors which then communicate to 1 esp8266 acting as a server connected to a LCD screen. I'm using Wemos D1 mini's as my esp8266 board of choice.
I have failed miserably at this.
I initially wanted to do websockets along with the LCD screen, so a person could use a smartphone with the server's site open as a screen if desired. I have all the sketches developed in the arduino IDE, obviously not the most efficient programming, but it works (*should work).
While trying to put this together, I've struggled with the reliability of the esp8266 as an access point. I've also struggled with the esp8266s connecting to eachother with websockets.
As I've flashed code over and over to the esp8266, I've run into other weird issues, like the multiple APs shown from the esp8266, restarts, etc.
Is the esp8266 robust enough to do what I want and I am just not running the right code? Do you guys have examples of a working system like this? Should I move to NRF24L01s?