Does this page help for the Sensors?
Bob
On Jan 15, 2019, at 1:17 AM, Martin Peake <martinpeake@...> wrote:
Francois,
I am controlling the system using DCC++. This uses an Arduino Mega. I can connect the outputs direct to the Mega inputs.
- How is the addressing of the sensor done? I do not see in the code. Example for my turnout decoders I use the addressing in the code of each Uno (1 Uno for 6 Turnouts):
Because I am using the DCC++ Mega, I can set Mega inputs using JMRI. So, the outputs from the board go to inputs on the Mega, and JMRI knows all about it.
As pointed out above, there may be a problem because the sensors only signal when a train is over them. Current sensors detect whenever a train is in the block. Therefore, I may have to think again. I may develop a current sensor as well. I haven't got a suitable layout build yet, so this is a developing science.
I could modify my sensors to detect a train entering and leaving a block.
--
Bob Jacobsen
rgj1927@...