I am working on a G scale layout that has CS3 as its controller. We are adding a second unconnected circuit and some storage loops for each circuit, plus train-on-track detectors, train position sensors and servo point control. Rather than using the DCC/MFX route we are installing a MERG CBUS control bus for all the accessories and sensors. CBUS is pretty universal, based also on CAN BUS, with connections to PCs, Raspberry Pis or Arduinos, and can be remote operated using JMRI, for example. But it is not directly compatible with the Marklin system, so some kind of interface is needed.
What I would like to do is substitute these external sensors and accessories for the Marklin ones on the CS3 panel, which would be dummy icons only. That way if operated on the CS3 panel or in Train Control software it would instead trigger the CBUS event to operate the accessory. Similarly a train triggering a CBUS sensor would indicate on the CS3 panel as if an S88 input had been activated. JMRI offers limited connectivity to CS2 in being able to receive and send Marklin CANBUS events in HEX form. I do not know if this will work with CS3 but assume it probably will. I would ideally like to have Train Control in overall command, interfacing with both systems; CS3 and CBUS, and tying them together in the common GUI.
I am happy to do whatever coding for this, and your system looks like a perfect starting point, but would appreciate any help or pointers you might be able to offer as to where to start. Thank you.
I am working on a G scale layout that has CS3 as its controller. We are adding a second unconnected circuit and some storage loops for each circuit, plus train-on-track detectors, train position sensors and servo point control. Rather than using the DCC/MFX route we are installing a MERG CBUS control bus for all the accessories and sensors. CBUS is pretty universal, based also on CAN BUS, with connections to PCs, Raspberry Pis or Arduinos, and can be remote operated using JMRI, for example. But it is not directly compatible with the Marklin system, so some kind of interface is needed.
What I would like to do is substitute these external sensors and accessories for the Marklin ones on the CS3 panel, which would be dummy icons only. That way if operated on the CS3 panel or in Train Control software it would instead trigger the CBUS event to operate the accessory. Similarly a train triggering a CBUS sensor would indicate on the CS3 panel as if an S88 input had been activated. JMRI offers limited connectivity to CS2 in being able to receive and send Marklin CANBUS events in HEX form. I do not know if this will work with CS3 but assume it probably will. I would ideally like to have Train Control in overall command, interfacing with both systems; CS3 and CBUS, and tying them together in the common GUI.
I am happy to do whatever coding for this, and your system looks like a perfect starting point, but would appreciate any help or pointers you might be able to offer as to where to start. Thank you.