Wanting to make a switchable IR night light Answered
Every night I come home, I have to open my garage door manually and park my motorcycle. When the garage closes, its dark and I tend to bump into my cycles exhaust burning myself. Yeah pretty funny. Anyways I had an idea, since I already had an arduino uno board and an IR Sensor and emitter, I wanted to make a trigger-able light switch. But I wanted my IR reader to run on AC, like a night light.
At the press of a button from my emitter, the IR would pick up the codes and my light would turn on. Is this possible? Some people say, just buy a motion sensor and plug it in, I say i'll just salvage it for parts and try to make my own. Whats the fun in buying it, when I could build it with parts I already have.
I mean, I know AC is dangerous, if not viable, then I could resort to a 9v with a power capacitor so long as it doesn't drain my 9v instantly.