Page 1 of 1

Re: Very simple occupancy detection

Posted: 29.03.2014, 18:16
by rjversluis
Hi Sven,

you better take a look at Rocnetnode and the GCA-Pixx hardware:
http://wiki.rocrail.net/doku.php?id=roc ... netnode-en

Connecting the track directly to the RasPi will probably destroy the GPIO.

Re: Very simple occupancy detection

Posted: 29.03.2014, 18:47
by rjversluis
Well, good luck.
You have to write your own software in the RasPi to report it to Rocrail.

Re: Very simple occupancy detection

Posted: 29.03.2014, 22:32
by woodyboy
Before you connect your GPIO i should check if the brown wire from the 660x to the track is galvanic the same as the GND of your Pi. If this is not the case your Pi wil be a electronic Pye due to over voltage of your GPIO. I would prefer an opto if you go straight to the GPIO.

Good luck

Re: Very simple occupancy detection

Posted: 30.03.2014, 11:28
by Richard-TX
The simplest way to detect train using the Rpi is to go with Rocnetnode a couple of GCA kits. Peter's kits are inexpensive and flawless.

Doing it with the raw GPIO port is possible but not with a simple resistor. It takes much more than that to interface the Rpi to the DCC track. Doing it with a simple resistor almost guarantees destruction of the Rpi.