¿ªÔÆÌåÓý

Re: Simplest way to communicate between an Arduino and JMRI for this scenario


 

Nags:?
I have not tried two arduino on a usb hub, but since the CMRI Node software requires a difference address, I would think it SHOULD work. Try it and see.
?
I found the CMRI code easy enough to use, and even adding the RS485 interface was no big deal. I started with a UNO to get things working, added a Mega later, then started using the Nano and Pro Mini. I even went as far as having custom circuit boards made for the Pro Mini, giving me 16 input and 48 output lines per node and RS485. As I learned more about arduino, code and the hardware I ended up building boards for myself and a large club ( More coming ). So far all is working well and zero issues. As I mentioned in my first response, you add the CMRI network and JMRI will handle it along with the Loconet. Its then programming the sensors and turnouts to do as needed.?
?
I explored many of the options available to create signals, and even started with the SE8C from Digitrax, but after working with the CMRI nodes and building my own boards, Im very happy with the results. I tried to find a more simple route, this is where I kept coming back to. Its inputs ( sensors ) and outputs ( turnouts ). All becoming ¡°ON or OFF¡± logic. JMRI handles the decisions, the CMRI boards just handle the lines.
?
Randy

Join [email protected] to automatically receive all group messages.