Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Muhammad Ansar
Published

Motion Sensor based Light Control

How to make Motion Sensor based Light Control using Arduino and PIR Sensor

BeginnerFull instructions provided19,423
Motion Sensor based Light Control

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
PIR Sensor, 7 m
PIR Sensor, 7 m
×1
Relay Module (Generic)
×1
LED (generic)
LED (generic)
×1
LED Light Bulb, Frosted GLS
LED Light Bulb, Frosted GLS
×1
Single Turn Potentiometer- 10k ohms
Single Turn Potentiometer- 10k ohms
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Materia 101
Arduino Materia 101

Story

Read more

Custom parts and enclosures

Components

Components Details () {
Solderless Breadboard,
Arduino Nano,
10k Variable Resistor,
PIR Sensor,
1k Resistor,
Red LED,
1-Channel 5v Relay Module,
Male to Male Jumper Wires,
Male to Female jumper Wires,
Bulb Holder,
220v LED Bulb,
5v 2Amp Power Adapter
}

Schematics

Schematics and circuit diagrams

Code

Code and Schematics

Credits

Muhammad Ansar

Muhammad Ansar

108 projects • 276 followers

Comments