-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Nextion touch HMI displays #383
Comments
Currently DCCEX has 3 interfaces:
Then someone did build an MQTT bridge, but I have lost that project a bit out of sight. Do you have a controlling software like JMRI running on a computer? Harald. |
Hi Harold, thanks for the valuable information. I currently have it working with a Mega (without DCC-EX) connected via Serial1 using RX/TX pins. The display sends strings onto the Serial when a button is clicked to toggle Kato turnouts and then when the Arduino throws the turnout, the Arduino sends back a string telling the display to indicate the direction of the turnout. In addition, I have buttons for routes. When clicked, the display sends a string indicating which route to toggle. The Arduino, throws all the turnouts in the route, then sends back a string to the display to change the button color indicating the route was activated. I can have up to 4 displays connected to the Mega. If DCC-EX can't do leverage the Serial communication, then I might be able to put an Attiny85 between DCC-EX and the display to convert I2C <> serial? Thanks again. |
Look at https://dcc-ex.com/throttles/tech-reference.html#gsc.tab=0 |
I would like to add support for Nextion touch HMI displays. I am using them for route panels and turnout control. It great simplifies my wiring.
What is the best way for me to add this to DCC-EX? I am a programmer and happy to code it if someone can show me the ropes of the DCC-EX code architecture.
Thanks
The text was updated successfully, but these errors were encountered: