DCC++ base station with WPA2-PSK encry[tion

esfeld Apr 18, 2022

  1. esfeld

    esfeld TrainBoard Member

    442
    382
    17
    I had to switch the network I use for my DCC++ base station to WPA2-PSK. So now my Wireless throttles do not connect. Can anyone help out with a sketch for the original DCC++ base station using WPA2-PSK encryption? ... or point me in the right direction.
     
  2. Sumner

    Sumner TrainBoard Member

    2,834
    5,969
    63
    Are you using the older DCC++ or DCC++EX? Can you see the network with your phone in settings and if so have you selected it there?

    Sumner
     
  3. esfeld

    esfeld TrainBoard Member

    442
    382
    17
    Using the older DCC++. Not using a phone. Using throttles that I made years ago. They use Websockets communication to an UNO based command station. They have always worked on a 2.4gz WEP encrypted network and have worked with no problems ... when I changed (for incidental reasons) the network to WPA2-PSK encryption they can not connect ,yes, I changed the SSID and pwd in the client. I am experimenting to see if I have to change anything in the command station code to conform to the WPA2-PSK encryption. Unless there is something else stopping the websockets communication from beginning my thought is that once the server and client are communicating on the network websockets should also connect.
     
  4. Sumner

    Sumner TrainBoard Member

    2,834
    5,969
    63
    I'm probably not the one to help you. I would strongly suggest possibly switching to DCC++EX...

    https://dcc-ex.com/

    ... much improved over the original DCC++. Also you can find a lot of help with their Discord group here ......

    https://discord.com/invite/PuPnNMp8Qf

    .... and maybe they can also help you with this. Start a 'support ticket' and/or post in a different area there.

    I'm interested in your throttles. Are they an adaptation of Dave Bodnar's throttles or something you came up with on your own? His wireless throttles used radios and not WiFi. DCC++EX now has multiple options for WiFi throttles and you can also connect using more than one serial port.

    Good luck and I'd like to know more about your setup and if you got this resolved,

    Sumner
     
  5. Uncle peanut butter

    Uncle peanut butter TrainBoard Member

    179
    238
    9
    My $.02 is to get a wifi shield from makerfab. Cost is less than $10 here, https://www.makerfabs.com/esp8266-wifi-shield.html. Follow the instructions that @Sumner wrote up here,
    https://www.trainboard.com/highball...nd-station-easy-quick-build-with-wifi.143430/ and you’re good to go. Seriously easy.
     
  6. BigJake

    BigJake TrainBoard Member

    3,296
    6,326
    70
    Both the throttles and the command station need to be compatible with, and configured for, WPA2-PSK to use it.
     
  7. esfeld

    esfeld TrainBoard Member

    442
    382
    17
    Thank you for jumping in. I was under the impression, and believe that Arduino (ESP32 and ESP8266) are only compatible with WEP encryption and that is my problem. I'm pretty sure that I've investigated Arduino/WPA2-PSK at some point but will revisit the issue tomorrow for sure.
     

Share This Page