today’s example does not attempt to replace a Kinect, or much less. However shows us that with a small hardware little more than €12, can create a sensor’s movements when it detects movements, begin to record the input from a camera.
On this basis, we started with the following hardware for example, where we will see the simple which can be create a Motion Detector
- Fez Spider Mainboard
- USB Client DP
http://www.netmf.com/showcase.aspx?ShowcaseID=1 & id = 110
- PIR Module
with these three elements, we connect the same guided by the following scheme
At this point, with the connected sensor we work with it is pretty simple.
Line 10 shows us that we have an event Motion_Sensed () that is activated when the sensor detects motion.
Well, we can subscribe to this event or can change the focus and do a PULL of the status of the sensor. For this second case we check the Boolean value of the property SensorStillActive (line 15).
The sensor is quite small and has a range of about 7 meters according to official indications that we can readhere .
In the next post, add a camera and keep the contents of it on an SD card.
Saludos @ Home