ok, so in my house we have a little problem.
sometimes ant night people enter the bath room, & start peeing with the lights off & get a little splash here & there on the floor/edge of the toilet.
The solution i have decided to come up with is, a led light, connected to a PIR that will turn on when it detects motion & light the bowl. (yes i know that they sell these things...but i want to build it)
I want to build something similar to this unit below
http://www.dhgate.com/h8010-infrared-pi ... #s1-1-null
.
So in terms of HW, i have a arduino mega & a micro (but hate to use either on the final project) I have a few 120v receptacles that have a PIR sensor on them, & would like to use 1 of those PIR's (after it is cut off/dis joined from the outlet it is on, or if i can make a PIR with a set of IR Leds). A hand ful of LEDs, thou 1 may be sufficient, & for power i plan to use a lion battery from a disposable e-cig.
so now i need some assistance from you guys as to what i should use as the main "chip" would a 385 work? anyone able to provide any guidance as to how to start the arduino sketch?
and also would the PIR sensor that i want to use work? any way to find out the pin outs on it?
