This page is the Umbrella page for pages on Sensors and Signals. The pages for Sensors and Signals are grouped together as a signal will be used to test any sensor code or a sensor may be used to test the signals.
LDR (Light Detecting Resistor) used to monitor the position of a model train.IR (Infra Red) detector also used to monitor the location of a model train. These projects will use both types of sensors.
Photo on the right shows a 3-aspect signal (GREEN-AMBER-RED) and a 2-aspect (GREEN-RED). Currently the signals indicate the points/switches/turnout at the top of the photo are set for the mainline train as opposed to trains from the yards.
The model train projects on this site can be sub-divided into
1. The sensors
2. The train signals
3. Using multiple sensors to control the signals.
4. Transmitting information to the outside world.
This folder is concerned with the sensors and the train signals. (See links below). Using multiple sensors and transmitting information are in the folder Model Trains
Basically the projects in the sensors page will generate a signal train_over_sensor( ) that will is used by the projects in the train signals page to control the signals.
LDR Sensors: Light Detecting Resistors
IR_Sensors: Infra red Sensors
Train Signals: Pages related to signals - both 2 aspect and 3 aspect signals