Hello All.
I have built a DCC++ Control Panel on Arduino to operate H0 scale railways and more. I then found a project to operate it via ESP8266-01. How to upload the code to the ESP here: http://trainelectronics.com/WiFi-esp8266/Setup/
The necessary library for the ESP here: https://github.com/Links2004/arduinoWebSockets
Throttle operation of the trains is via the website:
https://github.com/indev2/DCCpp-WebSocket/tree/master/indexDCC%2B%2B
Just open indexDCC.html which connects to the ESP8266-01 and this sends data via RX, TX to the control panel. On the page above is the code for the ESP: DCCppWebsocketServer.ino
The ESP broadcasts the ssid of the network and this is where the problem arises, namely the code compiles correctly and uploads too, but the network name does not match the one in the code. Obviously the site does not want to connect to the network ip. To my mind it's the library's fault, but I can't figure out what's wrong.
If anyone would care to take a look at this and at least hint where to look for this fault I would be more than usually grateful and probably more. I have written to the author of the ESP code Dave Bodnar but so far no reply at all.
Best regards to all.
I have built a DCC++ Control Panel on Arduino to operate H0 scale railways and more. I then found a project to operate it via ESP8266-01. How to upload the code to the ESP here: http://trainelectronics.com/WiFi-esp8266/Setup/
The necessary library for the ESP here: https://github.com/Links2004/arduinoWebSockets
Throttle operation of the trains is via the website:
https://github.com/indev2/DCCpp-WebSocket/tree/master/indexDCC%2B%2B
Just open indexDCC.html which connects to the ESP8266-01 and this sends data via RX, TX to the control panel. On the page above is the code for the ESP: DCCppWebsocketServer.ino
The ESP broadcasts the ssid of the network and this is where the problem arises, namely the code compiles correctly and uploads too, but the network name does not match the one in the code. Obviously the site does not want to connect to the network ip. To my mind it's the library's fault, but I can't figure out what's wrong.
If anyone would care to take a look at this and at least hint where to look for this fault I would be more than usually grateful and probably more. I have written to the author of the ESP code Dave Bodnar but so far no reply at all.
Best regards to all.