Electronics, occupancy detector

krokodil

Member
Nov 20, 2003
218
0
16
Austria
www.railfilm.net
Hi rschroots

in this case there is an error on the drawing. The diode D3 must go on line lower on the PCB i.e. the cathode to the collector of the transistor.


Furthermore it will NOT work with Conrad module as it expects stady status on the diode output i.e. high when the block is empty and low when occupied. as in the track there is no DC voltage, DCC is alternating by about 4-5 kHz (4000-5000 times per second) the output of the Q1 will exactly follow the positive part of the DCC shape, and the Conrad module will not recognize the status. You need to add the capacitor also to the Q1 Collector and to the GND to remove the high frequency componets from the signal.

Try and and you will see what is the reaction.

:wave:
 

krokodil

Member
Nov 20, 2003
218
0
16
Austria
www.railfilm.net
I checked today the Conrad module. It uses CCD devices to store the status of each input i.e. the input must be a stable signal, like switch etc. for the time of sampling. The occupancy detector in your case does NOT provide a stable signal (except for 1/4000 of second, what is to short).
Without a capacitor and the modification (see my pervious reply) the circuit will not work.

:wave:

If you like on Monday I can insert the drawing of a working unit.