DCC-EX / CommandStation-EX

EX-CommandStation firmware from DCC-EX. Includes support for WiFi and a standalone WiThrottle server. A complete re-write of the original DCC++.
https://dcc-ex.github.io/
GNU General Public License v3.0
153 stars 103 forks source link

Bug report:DCC-EX wifi can not start automatically #314

Closed TomShen1234 closed 1 year ago

TomShen1234 commented 1 year ago

Version

4.14

Bug description

WIFI does not automatically connect to wifi router when system turn on, but if I connect PC to Arduino serial port, open Arduino IDE, connect correct port, wifi will auto start.

I did not nothing with in Arduino IDE

Steps to reproduce the bug

1.turn on command station

  1. can not ping Dcc-ex
  2. connect PC to command station with serial port, open Arduino IDE, setup correct port
  3. wifi then starting

Expected behaviour

wifi can automatic start when power on

Screenshots

No response

Hardware in use

Arduino MEGA 2560 wifi

Additional context

No response

habazut commented 1 year ago

I guess that when you connect the serial the Arduino Mega does a reset. Can you wake the wifi by just pressing the reset button. Either later or by holding the button 5 seconds while applying power?

Harald.

TomShen1234 commented 1 year ago

I found Mega2560 is not working fine with my ASUS ax86u router, it can stably work fine with Asus ac-5300

TomShen1234 commented 1 year ago

I guess that when you connect the serial the Arduino Mega does a reset. Can you wake the wifi by just pressing the reset button. Either later or by holding the button 5 seconds while applying power?

Harald.

Thanks for your remind that every time when I plug in serial table, Mega is reset, after that I found my mega is not working stable with Asus ax86u 2.4G band.

FrightRisk commented 1 year ago

Is this what is usually called the Mega+WiFi? Both on one board? We have seen some reliability issues with that board. Many work, but some do not. We have not had issues with the ESP01s or the WiFi shields we recommend. But thank you for the report and for letting us know that some of the issues could be communication with specific routers

TomShen1234 commented 1 year ago

Yes, that is correct, it's the combined board.