DCC++EX and ESP8266 Wifi Multi

Will King May 6, 2022

  1. Will King

    Will King New Member

    4
    0
    1
    I've built a DCC++EX base station on a Mega with Wifi from an ESP8266, and everything works.

    I now want to see if I can get it to connect with ESP8266 running WifiMulti. My layout is outside and in, with several connected APs.

    Here's the issue: I can upload WifiMulti to the ESP8266 with the Arduino IDE easily enough. When finished, the ESP8266 connects properly to each of the APs... until I plug it into the command station.

    I changed the config file to #define DONT_TOUCH_WIFI_CONF.

    Here's what I see in the serial monitor when I boot it up...

    <* LCD0: DCC++ EX v3.1.0 *>
    <* LCD1:Starting *>
    <* ++ Wifi Setup Try 1 ++ *>
    <* Wifi Check: [+IPD\0] *>
    <* TIMEOUT after 200ms *>
    <* Wifi Check: [\r\nOK\r\n\0] *>
    WiFi connected: LESRR 192.168.1.209\r\n<* TIMEOUT after 200ms *>
    <* ++ Wifi Setup NO AT ++ *>
    <* ++ Wifi Setup Try 2 ++ *>
    <* Wifi Check: [+IPD\0] *>
    <* TIMEOUT after 200ms *>
    <* Wifi Check: [\r\nOK\r\n\0] *>
    <* TIMEOUT after 200ms *>
    <* ++ Wifi Setup NO AT ++ *>
    <* ++ Wifi Setup Try 3 ++ *>
    <* Wifi Check: [+IPD\0] *>
    <* TIMEOUT after 200ms *>
    <* Wifi Check: [\r\nOK\r\n\0] *>
    <* TIMEOUT after 200ms *>
    <* ++ Wifi Setup NO AT ++ *>
    <* MotorDriver currentPin=A1, senseOffset=0, rawCurentTripValue(relative to offset)=668 *>
    <* MotorDriver currentPin=A5, senseOffset=0, rawCurentTripValue(relative to offset)=500 *>
    <iDCC-EX V-3.1.0 / MEGA / IBT_2_WITH_ARDUINO_SHIELD G-4a2513d>
    <* Signal pin config: normal accuracy waveform *>
    <* LCD1:Ready *>
    <* LCD2:Free RAM= 6308b *>
    <* LCD2:Free RAM= 6270b *>

    FYI, the first AP it should try to connect to is LESRR - and it seems to do that, at least for a moment. Can anyone tell me what's happening after? And more importantly, what should I adjust?

    Any help is much appreciated!
     
    Last edited: May 6, 2022
  2. Erik84750

    Erik84750 TrainBoard Member

    334
    134
    12
    What version of DCC-EX did you compile for ESP8266?
     
  3. Sumner

    Sumner TrainBoard Member

    2,798
    5,837
    63
    You might also consider going to DCC-EX's Discord channel here....

    https://discord.com/invite/PuPnNMp8Qf

    .... if you don't find an answer here. Those guys are up 24/7 and are pretty good at technical stuff (actually real good). Sounds like an interesting layout. Maybe post some pictures of it here at some point?

    Sumner
     

Share This Page