Internet of Things (IoT) Christmas Special: Santa Detector (Part 2)
By Hinkmond-Oracle on Dec 20, 2013
Now, that you have all your parts, you should have this important part which is the motion sensor itself. It detects infrared motion and will light an internal LED and send a signal to the Java SE Embedded app when something (or someone like Santa Claus) passes in front of it.
The Raspberry Pi has enough power to also power this sensor, so you will next need to connect this part to your Raspberry Pi.
Just look at the next photo how it's done.
Flip the sensor over so that you can see the bottom of the circuit board where the labels are.
See: GPIO pin layout
Connect the left connector (OUT) to Pin #26 (GPIO07) on your Raspberry Pi GPIO bus. Connect the middle connector (VCC) to Pin #2 (+5 volts). And, connect the right connector (GND) to Pin #6 (GND) on your RPi.
Next up we'll write a Java SE Embedded app to test the motion sensor. Santa won't have a chance this year...
See the full series of steps: