Automatic Lights and Door Without Microcontroller

Spread the love
Advertisement

There are various IoT devices available in the market that perform tasks based on voice commands such as opening a door or switching on/off the lights and many others. Constructing them is a complex task and costly as well for which a microcontroller is required along with few sensors. And programming them consumes a lot of resources. 

So let’s make a smart door and a smart light that senses human motion, and which automatically operates without needing a microcontroller.

Bill Of Materials

Here we use the PIR sensor to sense human motion. This helps us in detecting whether a person is coming through the door of a room or the garage door. Next, connect the output signal of the motion sensor to the input of the relay module. In the relay module, connect the live wire carrying current from the AC power source to the common (COM) pins (COM) of the 2-channel relay. Next, connect the live wire of both the light and the door actuator (that opens the door) to the normally open (NO) relay pins.  

The neutral and earth wire of both the light and door actuator is connected to neutral and actuator pins.

Connection

Connect the components as shown in the circuit diagram.

Testing 

Now place the PIR sensor above the door and power it. While walking towards the door, the sensor detects the human motion and transmits a signal to the relay module, which activates a relay plunger to move and switch on the room light. The door actuator also gets triggered, which unlocks the door.

Advertisement

Leave a Reply

Your email address will not be published. Required fields are marked *