Friday Dec 20, 2013

Internet of Things (IoT) Christmas Special: Santa Detector (Part 2)

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.

And, that's it for the hardware part. Not too bad.

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:
Internet of Things (IoT) Christmas Special: Santa Detector (Part 1)
Internet of Things (IoT) Christmas Special: Santa Detector (Part 2)
Internet of Things (IoT) Christmas Special: Santa Detector (Part 3)
Internet of Things (IoT) Christmas Special: Santa Detector (Part 4)
Internet of Things (IoT) Christmas Special: Santa Detector (Part 5)
<<< Previous  | Next >>>

About

Hinkmond Wong's blog on making Machine to Machine (M2M) and the Incredible Internet of Things (IoT) smarter with Java Embedded Technologies

Search

Archives
« December 2013 »
SunMonTueWedThuFriSat
1
3
4
6
7
8
9
10
11
12
13
14
15
16
17
21
25
26
27
28
29
30
31
    
       
Today