IR Relay Control

by MikeTheMaker in Circuits > Electronics

525 Views, 2 Favorites, 0 Comments

IR Relay Control

sensor - 5.jpg

This project shows a simple way to detect a near object (like a model train passing) and activate a relay.

Supplies

sensor - 1.jpg

5 volt relay module

IR detector module

sensor - 2.jpg
sensor - 4.jpg

Make sure the little yellow jumper is placed close to the "L" end (the IR sensor goes low when it detects an object).

sensor - 3.jpg
sensor - 7.jpg

Connect according to this schematic. The power supply used is 5 volts dc. The small blue potentiometer can be turned to adjust sensitivity.

sensor - 6.jpg
sensor - 5.jpg

When the object is close, the relay will close (note the small red light on the relay module). When the object is not close, the relay will open.