author6

cp256

Inbox View Profile
3CommentsWNY

Tell us about yourself!

  • Glass Jar Firefly (Beginner Arduino Project)

    This similar to a PWM circuit that I made for an electronic candle, which might work well for a firefly and extend battery life. I had one of those cheap LED candles that run off of a coin cell (like a 2025 or 2032), but it was constant brightness and didn't emulate a candle very well. I prototyped a flickering version with an arduino and 5 mm yellow LED that fits a flame shaped plastic cover from the cheapo candle. When the PWM code looked good I then built it with an ATtiny13a 8 pin 8-bit AVR microcontroller with a software PWM hack to minimize the current draw. It ranges from 4.3 to 6.5 milliamps when running with about 4.15 ma being used by the microcontroller. Still more than I'd like to have running from a couple of coin cells. Maybe a small LiPo battery would work ok, but then I wo…

    see more »

    This similar to a PWM circuit that I made for an electronic candle, which might work well for a firefly and extend battery life. I had one of those cheap LED candles that run off of a coin cell (like a 2025 or 2032), but it was constant brightness and didn't emulate a candle very well. I prototyped a flickering version with an arduino and 5 mm yellow LED that fits a flame shaped plastic cover from the cheapo candle. When the PWM code looked good I then built it with an ATtiny13a 8 pin 8-bit AVR microcontroller with a software PWM hack to minimize the current draw. It ranges from 4.3 to 6.5 milliamps when running with about 4.15 ma being used by the microcontroller. Still more than I'd like to have running from a couple of coin cells. Maybe a small LiPo battery would work ok, but then I would have to build in a charging port/system of some kind. I have one from a bluetooth headset I upgraded that might work...

    View Instructable »
  • Overview the Arduino Sketch Uploading Process and ISP

    I have had varying levels of success with all sorts of ISPs. I am looking forward to trying even more methods!

    View Instructable »