Paul
Published

Lights On by Motion Detection (Warning High Voltage!)

Tired of stumbling on shit on my way in the house through the garage with no light switches. Solution light connected to a motion detector.

IntermediateShowcase (no instructions)2 hours1,867
Lights On by Motion Detection (Warning High Voltage!)

Things used in this project

Hardware components

Male/Female Jumper Wires
Male/Female Jumper Wires
×1
Resistor 10k ohm
Resistor 10k ohm
×1
Relay (generic)
×1
Breadboard (generic)
Breadboard (generic)
×1
Male/Male Jumper Wires
×1
PIR Motion Sensor (generic)
PIR Motion Sensor (generic)
HC-SR501
×1
Raspberry Pi 3 Model B
Raspberry Pi 3 Model B
×1

Software apps and online services

Cayenne
myDevices Cayenne

Story

Read more

Schematics

Breadboard to motion sensor

This is the connections on the breadboard for motion detection. 10 k resistor between motion sensor out and RPI GPIO.

Breadboard to relay

This is how I connected the relay.

To the RPI GPIO

This is the connections on the raspberry pins for 5V (red), motion detector (purple) and Ground (black)

To the RPI GPIO

Pins used on Raspberry for the relay (white)

Triggers on in Cayenne

Trigger off in cayenne

Credits

Paul

Paul

4 projects • 1 follower
Trying to learn and share.

Comments