Things used in this project

Hardware components:
826 04
Male/Female Jumper Wires
×1
Mfr 25frf52 10k sml
Resistor 10k ohm
×1
Relay (generic)
×1
12002 04
Breadboard (generic)
×1
Male/Male Jumper Wires
×1
13285 01
PIR Motion Sensor (generic)
HC-SR501
×1
Pi 3 02
Raspberry Pi 3 Model B
×1
Software apps and online services:
Cayenne logo hi
Cayenne

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

Bdda61e3ad010f8849443317536fdd9d
Paul

Trying to learn and share.

Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Face Detection Using OpenCV With Raspberry Pi
Intermediate
  • 2,372
  • 21

Protip

In this project, we are going to detect faces using OpenCV with Raspberry Pi.

Creating an IoT Server with Home Assistant and MQTT
Intermediate
  • 2,523
  • 17

Full instructions

Home Assistant is one powerful home automation platform and it is complacently open source. Access it from any web browser and automatons.

Adding RC Transmitter/Receiver to Control Mecanum Bot
Intermediate
  • 431
  • 6

Full instructions

We previously showed our Mecanum Bot being controlled by a wireless Xbox controller, now we added RC transmitter/receiver.

Automated GPS Controlled Photo Taker
Intermediate
  • 1,613
  • 19

Full instructions

For this build, I put together a backpack to take pictures when I am close to places that like. And what better place to test than London?

Setting up a "User Data" drive for Raspberry Pi
Intermediate
  • 34
  • 1

Full instructions

Mounting external memory to store users programs, files, etc...

DIY Smart Assistant Speaker/Lamp (Google Home or Alexa)
Intermediate
  • 1,644
  • 5

Full instructions

DIY build using 3D printed enclosure and parts, a recycled Bluetooth speaker, a Raspberry Pi, and a Philips Hue light bulb.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login