Brighten Your Day with Motion Controlled Cabinet Light

[Thomas Snow] found himself in a bit of a pickle. His kitchen lights didn’t adequately light his counter-tops. So instead of inventing a light bending device that could warp space-time enough to get the light where it needs to go, he decided to take the easy road and installed a motion controlled LED strip under the cabinets.

Now, these aren’t just any ‘ol motion control lights. Not only is [Thomas] able to turn the lights on and off with a wave of his hand, he can control the brightness as well. He’s doing the magic with an ultrasonic range sensor and PIR sensor. An ATTiny85 ties everything together to form the completed system.

The PIR sensor was incorporated because [Thomas] didn’t want to bug his pets with the 40kHz chirp from the ultrasonic sensor. So it only comes on when the PIR sensor sees your hand. Be sure to check out [Thomas’s] project for full source and schematics.

Continue reading “Brighten Your Day with Motion Controlled Cabinet Light”

Slick Bathroom Mirror is All Tricked Out

A Mirror surrounded by a string of brightly lit lamps is something you usually get to see in a Movie Star’s dressing room. [pickandplace] was inspired by the Movies, and a dark bathroom, to come up with a Bathroom Mirror equipped with some bells and whistles. To start with, his planning was quite detailed, sketching out the features and constraints for his design. He chose to use a round mirror with 12 LED bulbs (which are safer than 220V bulbs) so it can work as a clock. User input is handled by a motion sensor to automatically switch it on/off and a capacitive touch dimmer. Under the hood there’s an RTC (for clock and brightness adjustment based on time of day), simple boost PWM LED driver, thermal management for the LEDs which are 10W, temperature sensor to pipe down the current if the LEDs get too hot, and even an anti-fogging heater strip – phew!

His execution is no less brilliant. Starting with building the wooden frame and ending with the code for driving all the electronics. Along the way, you will find detailed notes on the LED’s, PWM Driver, Heat sinking, and capacitive Touch dimmer using Atmel’s AT42QT2160 Qslide – Matrix Sensor IC. He had some trouble with the Motion Sensor PIR module, and hasn’t yet written the code to implement it. His first version used a PIC18F87J50, and the next iteration had an ATXmega256A3BU – but he asks us not to get into the Microchip vs. Amtel debate. We have to agree on that. Sharp readers will point out that neither of the two micro’s can provide 12 PWM channels. Well, worry not, he has it all figured out. He also coded up a simple control interface which is handy when the unit is hooked up over USB to a computer. To top it off, he built a miniature LED ring to use as a “Simulator” while working on the code so he didn’t have to lug the heavy Mirror in and out of the bathroom. How’s that for doing a good job better! Source files are on his Github repo, and links to the hardware schematics are peppered throughout his blog.

If you don’t want to build something so fancy, look up the Bathroom Mirror with HUD which displays Time and Weather

Continue reading “Slick Bathroom Mirror is All Tricked Out”