I built a "smart" night light with an ATtiny85 and a motion sensor hacked from an air freshener. It is normally PWM LED at a dim level. If it "sees" you, it goes full bright. After 30 seconds of not "seeing" anyone, it goes to a dim level again.
I built a "smart" night light with an ATtiny85 and a motion sensor hacked from an air freshener. It is normally PWM LED at a dim level. If it "sees" you, it goes full bright. After 30 seconds of not "seeing" anyone, it goes to a dim level again.