Very simple occupancy detection

Post Reply
rjversluis
Site Admin
Posts: 39295
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: Very simple occupancy detection

Post by rjversluis » 29.03.2014, 18:16

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.

rjversluis
Site Admin
Posts: 39295
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: Very simple occupancy detection

Post by rjversluis » 29.03.2014, 18:47

Well, good luck.
You have to write your own software in the RasPi to report it to Rocrail.

woodyboy
Posts: 628
Joined: 18.11.2013, 16:01
Location: near Utrecht

Re: Very simple occupancy detection

Post by woodyboy » 29.03.2014, 22:32

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
Last edited by woodyboy on 04.04.2014, 11:21, edited 2 times in total.

Richard-TX
Posts: 1320
Joined: 10.07.2012, 04:00
Location: Texas, USA
Contact:

Re: Very simple occupancy detection

Post by Richard-TX » 30.03.2014, 11:28

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.

Post Reply

Return to “DIY Hardware”