There's an outlet in there, but a simple solution won't do: I have more circuitry and time on my hands than I can handle, and the least I can do is make an over-complicated pantry light.
Parts lying around to use:
- AC-DC converter blocks with screw-terminals outputting 12V at 2A. I have a bunch of these-- came with the LED strips.
- A length of white LED strip.
- Lots of TIP-120-style MOSFETs, intended for a second light suit. It's fun to have a lot of high power switches around.
- Spare Arduino-compatible board "StripDuino" by "Tinkeract.com," now defunct it seems. Thanks for sending the free board!
This design solves the problem uniquely with:
- Very large switch surface,
- Variable brightness by holding the switch,
- Indirect lighting from compact, dense LED strip tucked out of view.
- Capacitive touch sensing works between pins D5 and D6 with a 1M resistor
- Touch surface works: aluminum foil with soldered wire plus a layer of hot glue and tape.
- PWM works with the MOSFET to control the LED strip nicely, with the board's 3.3V logic.
To do:
- Capture the working circuit in an Eagle schematic.
- Build a looping sketch with the tap/hold fading behavior.
Great detailed and informative post..
ReplyDelete