Hello, I wanted to ask how I set up switches with servo drive in DCC++ EX. The vohrgehen with eibem decoder is clear to me. Only the direct connection to an Arduino on which also DCC++EX runs is not clear to me. I have a PCA9685 on an Arduino Mega I2C bus, which works fine so far, with a test sketch. Unfortunately I do not understand the source code completely. As far as I can see, this is already implemented, but I do not know how to address this with the <T> commands, or with JMIR. In the documentation it is also not listed. Thank you and thanks for the excellent software that has brought me back into the hobby.
Hello tror, this is not official supported yet. But I forked the repo and modified the code. You can find the version here: https://github.com/rkmAT/CommandStation-EX/tree/PCA9685_servo_turnouts . If you have more questions you can send me a PM also in German my native language. Regards Maik
If you use JMRI to control turnouts, you might consider the CMRI/RS-485 connection. It is useful where I2C wire length could be an issue. Think of it as a separate bus for accessories. Here is a link on my implementation which also includes MCP23017 boards for lights, buttons, relays and occupancy detection. https://www.trainboard.com/highball...-out-card-for-jmri.116454/page-2#post-1141569 I am not adverse to using DCC for accessories, but CMRI/RS-485 seems to be working well for my DIY approach. I have no commercial DCC throttles/controls/accessories. I plan to get a lokprogrammer, unless someone provides a DIY approach for loading sound files.
Hi rmkAT. Downloaded the servo_turnout sketch and uploaded to my Mega2560 with WiFi module but WiFi doesn't work. If I load CommandStation-EX WiFi is fine. Is there a bug or am I doing something wrong? Regards FrenchSR