My mother likes a night light for the bathroom but she didn't want one that stayed on all night so I needed one that could detect a person. Many thoughts popped up into my head on what sensors to use. I could us esuch as the Linescan Imaging Sensor Daughterboard by Parallax but that was overkill and too expensive. A cheaper solution would be to use a few ir leds with ir phototransistor but still too complicated. I also thought of the Ping Sensor from Parallax but too hard to program with my beginner standards in C and, it used too much power. (I'm more of a Spin and Assembly language person.) I finally looked through my sensors box and found...(...drumroll please...) ...Parallax's Passive Infared Motion Sensor! It was fairly inespensive ($9.99), it could work in the dark, and, I have had experience in programming these!
Remove these ads by
Signing UpStep 1Get The Required Materials.
Arduino
PIR Motion Sensor from Parallax
LED ( Preferably Ultra Bright White. I bought mine along with other colors at Ebay from this seller: http://myworld.ebay.com/led.shop*2010/?_trksid=p4340.l2559
They will compile your own personal mix of colors if you want them to...they will charge more but it is a personalized order. I also found this order of only white LEDs but very cheap.
http://www.ebay.com/itm/100pcs-5mm-Ultra-Bright-White-LEDs-200pcs-resistors-/220610858794?pt=LH_DefaultDomain_0&hash=item335d6e8f2a#ht_2715wt_1017
Many jumper wires
Optoisolator/ optocoupler/ relay
Resistor. Define the value yourself.
| « Previous Step | Download PDFView All Steps | Next Step » |

























































It can be but since I was entering this in a Arduino competition I used the Arduino. I could have used a transistor and possibly a Darlington transistor. Maybe I will make another one with a transistor...