Chapter 1A Page 6
DC DCC
The Photo resistor, sometimes called a Light Dependent Resistor (LDR or CdS cell), should have a light on resistance of about 1,000 to 5,000 ohms. They are sensitive to visible light and can be packaged in metal cans or encased in moisture resistant epoxy.
Adjustment:Set the 20K potentiometer at about half way and with the photo resistor covered (Dark) by whatever you are sensing, adjust the potentiometer so the LED is on at the brightness you want. Uncover the photo resistor and the LED should go off. If not readjust so the LED is less bright.
Installation:The photo resistor needs a moderately strong ambient light to reduce its resistance to a low enough value. If there is not enough light where you want to Operation:place the detector then a small The light shining on the photo bulb will need to be installed to resistor makes its resistance low shine on the cell. You could mount which makes a low voltage on the this low down to the side of the transistor base (b). This is passed to rails and shine it up across the the emitter (e) but will not be space that the train will pass sufficient to light the LED. When the through and on to the photo photo resistor is covered its resistor mounted above and on the resistance increases to a high value, other side of the rails. A shield or gives a higher voltage on the emitter tube could be put over the light to and current stop it being visible from the side. flows from the collector  to the LED. Many other means of getting light To operate reliably a 3 volt battery is to the detector could be devised. needed. A multi-output Plug pack, 3 to 12 volts unregulated DC could be used in place of the battery. The circuit will work up to 12 volts from a DC power supply but care is needed in the adjustment as the LED could be burnt out at the higher voltage.
Current
drain:-
If you are using a battery, the current drain of this circuit will be about 0.25 milliamps per detector, which should give it several months operation on 'D' cells. However you will probably have several detectors running through a tunnel or along a hidden yard and supplied by the one battery so a power on/off switch would be advisable.
Construction:The components can be mounted on a piece of strip board (vero board) and can be fitted into a 4 hole by 10 hole area - see diagram. The picture shows the CdS cell mounted on the vero/strip board but it can be on flying leads somewhere on the layout and the LED and PCB mounted on a convenient track side panel. Multiple PCB's and LED's could be mounted side by side as they are very small.