The circuit involves infrared phototransistor pairs positioned at three locations within a maze, including the endpoint. The maze is designed to be narrow enough for a single finger to slide through, and as fingers pass the phototransistors, a sound will be emitted from the speaker. This document discusses infrared "Across The Track" train detection circuits, which utilize the LM339 quad comparator chip and a variety of matched infrared emitter/detector pairs. An alternative method for longer-range detection is also described, applicable for yard throats. A detector circuit of this type is currently implemented at the London Model Railroad Group's club layout, spanning seven O Scale tracks with a single infrared LED and a lensed phototransistor. In the described circuit, the LED activates when the infrared beam is interrupted. The resistor R1's value determines the sensitivity of phototransistor Q1, with 1 Meg or 470K ohm typically yielding good results, although some experimentation may be necessary for different setups.
When a train disrupts the infrared beam, the phototransistor conducts less current, causing the voltage at the MINUS input of the comparator to exceed the reference voltage at the PLUS input, as determined by resistors R3 and R4. This results in the comparator output turning ON, which activates the LED. Proper alignment of the emitter and detector is crucial for optimal operation, particularly over larger gaps. Alignment can be facilitated using a string stretched between the LED and phototransistor or employing a length of dowel or stiff wire. For extended distances, a laser pointer can be directed through one of the mounting holes for alignment. The ideal beam height should match the coupler height and be angled across the tracks. The emitter may also be positioned above the track, with the phototransistor situated between the rails, particularly in concealed areas such as hidden yards. Angling the emitter and detector can further enhance performance.
The circuit design incorporates several key components and considerations for effective infrared detection in model railroading applications. The use of the LM339 quad comparator allows for precise voltage comparisons, enabling reliable detection of interruptions in the infrared beam. The choice of infrared emitter and detector pairs is critical, as their matching characteristics will significantly influence the sensitivity and range of the detection system.
The configuration of the resistors, particularly R1, R3, and R4, must be carefully selected to achieve the desired sensitivity and response time. R1's adjustment allows for calibration based on the specific environment and distance between the emitter and detector. The physical arrangement of components is also paramount; ensuring that the infrared beam is unobstructed and properly aligned maximizes detection efficiency.
In practical applications, testing and iterative adjustments may be necessary to fine-tune the system for optimal performance. The integration of sound output in response to beam interruption adds an interactive element, enhancing user engagement with the maze and detection system. Overall, this circuit exemplifies a robust approach to infrared detection in model railroading, combining effective component selection, careful alignment, and adaptability to various scenarios.Below is the circuit I`m working with; I plan on having the infrared phototransistor pairs inserted in 3 locations in the middle of the maze, including the end point. The width of the maze will be small enough for one finger to be able to slide in it, and as both fingers pass the phototransistors, they will cause a sound to be emitted from the spe
aker. This page presents information on infrared Across The Track` train detection circuits. The circuits are designed around the LM339 quad comparator chip and can use a wide assortment of matched infrared emitter / detector pairs. There is also a method that can be used for longer range across track detection that could be used for yard throats.
A detector circuit of this type is in use at the London Model Railroad Group`s club layout and spans seven O Scale tracks using one infrared LED and a lensed phototransistor. In the circuit bellow the LED will turn on when the infrared beam is broken. The value of the resistor R1 determines the sensitivity of the phototransistor Q1. In most cases a value of 1 Meg or 470K ohm with good results but every situation is different and some experimentation might be needed.
Circuit Operation When a train breaks the infrared beam the phototransistor will conduct less current. The voltage at the MINUS input of the comparator will rise above the reference voltage at the PLUS as determined by R3 and R4.
The output of the comparator to turn ON and the LED will be lit. Good alignment of the emitter and detector is important for good operation, especially if the gap is large. This can be done with a piece of string stretched between and in line with LED and phototransistor. A length of dowel or stiff wire could be used to set the alignment. Another method that can be used for longer distances is a laser pointer shone through one of the mounting holes.
The next diagram shows two methods of aligning the emitter and detector mountings. For best results the height of the beam should be at coupler height and at an angle across the tracks. The emitter could also be mounted above the track with the phototransistor placed between the rails in locations such as hidden yards.
Placing the emitter and detector at an angle would again be helpful. 🔗 External reference
This is a simple smoke alarm circuit using a timer IC, the NE555. The circuit operates by illuminating a Light Dependent Resistor (LDR) with a lamp. When smoke obscures the light from the lamp, the resistance of the LDR...
The circuit presented utilizes modulated rectangular waves of varying time periods to generate ringing tones akin to those produced by a telephone. It requires four astable multivibrators for operation, implemented using two 556 integrated circuits (ICs). The 556 IC...
In this figure, S1 initiates the timing process, and once the timer is activated, toggling this switch will not impact the timing operation. S2 serves as the OFF switch located in the center; toggling this switch allows the timer...
The water sensor circuit utilizes a 555 timer circuit along with common electronic components. It consists of two metal electrodes positioned closely enough that a drop of water can create a conductive bridge between them. If the water is...
The infrared (IR) toggle switch project aims to provide a control mechanism for electrical appliances lacking remote operation features. The objective is to create a device that allows users to plug in a 120V AC appliance and control its...
This is a dry cell battery charger circuit designed to charge batteries over a period of approximately 12 hours. When powered by a 9-volt supply, the circuit is configured to accommodate AA-sized batteries. If C or D-sized batteries are...
We use cookies to enhance your experience, analyze traffic, and serve personalized ads.
By clicking "Accept", you agree to our use of cookies.
Learn more