I'm currently reverse-engineering a cheap motion-sensing LED Light Blub. Does that give you hope...?
mnem
};=)~~~~<
Mnem, that is just sad. You need to set down roots, get your gear up to the GWN and dive into some meaty exploits. This diet of corn chips cannot be tasty or satisfying....
Ehhh... this is my first afternoon off just trying to recover from the back pain of moving; thought I'd tackle something simple and domestic. I want to use this motion sensor blub in a bathroom, but it appears these stupid things all have a dawn/dusk sensor as well, so intended for outdoor use. I'm trying to characterize the value of the CDS to select a fixed resistor to replace it with so it would work in an environment where there would still be ambient light a lot of the time.
But... of course Murphy has other plans. After trying several different resistors and a couple pots, I found I could get the bulb to either light continuously or stay off, but not to actually do the motion sense thing.
Several times I read the destructions to understand how it works; then I realized the problem: The first thing the bulb does at power on is test and cal itself by turning the LED array on and reading the CDS. With a fixed resistor, either it reads light level above threshold or below... but never detects a change to cal itself.
Doing a quick swing with a pot proved this behavior... but it means that this blub is probably not suitable for an indoor application where there will sometimes be ambient light unless I can force it to cal at just the right brightness level for both daylight and dark.
Outsmarted by a fukkin' light bulb... shoulda seen it coming.
mnem