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,172
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.
Img 0750

Breadboard to relay

This is how I connected the relay.
Img 0751

To the RPI GPIO

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

To the RPI GPIO

Pins used on Raspberry for the relay (white)
Img 0753

Triggers on in Cayenne

2016 09 18%20(2)

Trigger off in cayenne

2016 09 18%20(4)

Credits

Paul

Paul

4 projects • 1 follower
Trying to learn and share.

Comments