How
to make an Automatic Table Lamp?
Components
Required:
·
Infrared (IR sensor)
·
5v single channel relay module
·
5v power supply
·
Jumper wires
Connections:
·
First, connect all pins of IR sensor with jumper
wires.
·
Now connect the VCC pin of the IR sensor with
the positive wire of power supply.
·
Then connect GND to negative of the power
supply.
·
Now do the same with the relay.
·
Now connect the OUT pin of the IR sensor with
the IN pin of the 5v relay.
·
Now power up the circuit.
·
Now connect the positive side of your lamp
to the left and middle slots of the relay as it is acting as a switch.
·
If you want to adjust the range of your sensor, then rotate the
screw on the potentiometer.
·
Now place the sensor under your table in
such a way that whenever you sit on the chair, it can automatically detect you
and turn on the lamp.
Hope
that you will enjoy this fun project. Don’t forget to support us.
No comments:
Post a Comment