Using motion sensor with Arduino

Arduino, Gadget comments edit

Basically the fun with playing gadgets such as Arduino, Gadgeteer and others comes from sensors. Because they are how your system interacts with the real world. And writing code that acts upon some readings from the real world is fascinating!

So let’s get started with using the motion sensor. I have a very generic sensor from Parallax and fortunate enough to find an article that explains exactly what I needed: Using motion sensor with Arduino. Check out the resources section down below to access the original article. Unlike the LCD, it’s quite simple to connect the motion sensor to Arduino. The sample code lights the onboard LED when the motion sensor detects a motion. Check out the video for a short demo. When the sensor “senses” motion, it goes red and the LED starts blinking.

I think the next step would be to connect both LCD and motion sensor to display the alarms on the display. Hope I can make that project happen without too much delay.

Resources

Comments