I followed this blog post. The only change was different GPIO port numbers:
http://www.millamilla.com/?p=18
When moving in front of the sensor, the LED turns on.
Worked great!
There are two manual adjustments on the module:
- Sensitive Setting: turn to right, distance increases (about 7m); turn to left, distance reduces (about 3m)
- Time Setting: turn to right, time increases (about 300 seconds); turn to left, time reduces (about 5 seconds).
No comments:
Post a Comment