An ATTiny2313 powers this night light, driving multicolor LEDs diffused by ping-pong balls. nuumio writes:
Geir’s RGB night light was such an inspiration I just had to make my own. Instead of Picaxes I decided to use ATTiny 2313. At first I tried to program it with C but I ran to some “differences of opinions” with gcc when I tried to assign dedicated registers to variables holding duty cycle values (for speed optimizations). After some struggling I gave up and coded the whole thing in AVR assembly. I was quite surprised how easy it was after all. It took me about one weekend and I got first versions running nicely.
Great job, nuumio!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — The Essential Guide to Electronics in Shenzhen
Wearables — Lithium Batteries: a soft touch goes a long way
Electronics — Capacitor Polarity Markers
Biohacking — Can Gizmos Cure Insomnia? – The New Yorker
Sorry, the comment form is closed at this time.