Skip to main content

Posts

Showing posts with the label detect motion using PIR sensor

Automatic gesture controlled Table Lamp - Main light control system for study.

Arduino and PIR motion sensor based automatic multiple light control system. Room light on - TableLamp off. Room light off - TableLamp on. Perfect device for study. Control things by just waving at them. I've  built a PIR motion sensor based automated light / Appliances project which can be found  here . This project is a bigger version with relay to control 220V lights. FEATURES-  Table lamp ON main Light OFF  Table lamp OFF main Light ON PARTS YOU'LL NEED - Arduino pro mini (or any board) 2 Channel relay module Buzzer PIR motion sensor 220v to 5v converter wires hot glue THE CIRCUIT DIAGRAM: Making the project: I've  built a PIR motion sensor based automated light / Appliances project which can be found  here . This project is a bigger version with relay to control 220V lights. Just added the lights switch wires to relays and powered the arduino and relay module using a 220 to 5v converter...

Problems using PIR sensor?? Always HIGH? DELAY? Solution is here.

PIR sensor When I was working on a project "controlling home appliances using just a wave of hand" I had used a PIR sensor and found some issues: PIR doesn't work properly when starts. PIR output value is always 1. It some times doesn't read motions. Now those are three Common and Unavoidable problems of a PIR sensor. So what would we do? I assume you know what a PIR sensor is and I'll just try to give a solution to the problems so that you can use PIR in your project efficiently, also I've added a code below on how to solve that problem. As I have mentioned earlier those are Common and Unavoidable,  keep 3 issues in mind: After powering - PIR sensor needs 1 minute to function For that 1 minute the OUTPUT is always HIGH. When a motion is detected it'll take 5 to 7 seconds to detect motion again. SOLUTION: After powering - PIR sensor needs 1 minute to function:  which means when you'll power a PIR sensor it wi...