Use the following diagram to connect your Digital Motion Sensor.
A couple of notes before you get started:
Make sure Raspberry Pi is powered off when connecting wires.
When using a GPIO ribbon cable, make sure the power wire (it’s a different color than the others) is connected to the corner of your Raspberry Pi and the top of your Pi cobbler.
The provided diagram is just an example of how to connect the sensor. There are many ways to connect sensors and extensions, so try what works best for you!
Some full-size breadboards (used in diagrams below) have a powerline that is separated in the middle. If this is the case, be sure your sensors are connected on the same half of the breadboard as your Pi Cobbler.
Connect 5V power from the Pi Cobbler to the Motion sensor.
Connect the Motion Sensor to one of the GPIO pins on the Pi Cobbler, GPIO 17 in this case. Be sure to connect a resistor between the GPIO pin and the motion sensor.
Connect ground from the Pi Cobbler to the Motion sensor.
when you’re done,you can add the Digital Motion sensor to your dashboard as following instruction, using GPIO 17 as the input channel.
Add new >> Device/Widget >> select Digital motion sensor>> select channel 17 >> Add sensor
You must be logged in to post a comment