Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
09.02.2010 at 18:37:19
News: Server upgrade went fine, you are now at the new system


Pages: 1
Yet Another LED Flame (Read 3628 times)
kennethw
YaBB Newbies
*
Offline

Arduino rocks

Posts: 3

Yet Another LED Flame
21.10.2008 at 05:10:12
 
Hi folks. I just wanted to share a bit of video of my first real Arduino project in action. I built an LED "flame" for the pumpkin this year, with a little twist.

I'm quite familiar with coding, but less familiar with the components and hardware aspect of this world, and initially undertook building this using only basic components. I wasn't happy with the results, so I geared up to build standalone Arduino-based projects, based around Atmegas.

The code accepts an arbitrary number of LED outputs, with a minimum brightness for the general glow. A peak brightness and traversal time are generated randomly, and the timed traversal smoothly walks across the outputs. The peak falls off, so the effect is of a smooth motion of the peak across the LEDs, to an arbitrary position along the line of outputs (as a float, rather than always peaking at a specific light). When arranged in a circle, it feels like the light is moving around the group, which casts moving shadows, and gives a flickering effect that's much more convincing that a single light variably changing brightness.

I also built it to accept a modular array of LEDs, in that the group is attached to the board via headers, so I can switch out the lights (and code) for different purposes.

Here's a bit of terrible video. My camera doesn't work well in low light.  Smiley

http://www.youtube.com/watch?v=IfCKTKWgKeg
Back to top
 
 
View Profile   IP Logged
b94cast
Junior Member
**
Offline

! <3 Atmega328

Posts: 68
Denver, CO - USA
Re: Yet Another LED Flame
Reply #1 - 21.10.2008 at 05:14:21
 
Nice!  I like the effect you have going there
Might you be looking to share the code?   Smiley
Back to top
 
 
View Profile   IP Logged
walterr
Junior Member
**
Offline

Arduino rocks

Posts: 94

Re: Yet Another LED Flame
Reply #2 - 21.10.2008 at 19:01:48
 
Nicely done!

I'm working on a similar project, but have started with one LED since I'm trying to light 6 pumpkins. If time permits I'll upgrade my setup for more realism. There is also next year as well!
Back to top
 
 
View Profile   IP Logged
kennethw
YaBB Newbies
*
Offline

Arduino rocks

Posts: 3

Re: Yet Another LED Flame
Reply #3 - 22.10.2008 at 05:19:10
 
Thanks!

Let me make sure the code is presentable and I'll get back to you. =)
Back to top
 
 
View Profile   IP Logged
rhololkeolke
YaBB Newbies
*
Offline

Arduino rocks

Posts: 2

Re: Yet Another LED Flame
Reply #4 - 25.10.2008 at 19:34:26
 
That looks cool.
Back to top
 
 
View Profile   IP Logged
Intosia
YaBB Newbies
*
Offline

Prototype Limited
Edition owner! lol

Posts: 10

Re: Yet Another LED Flame
Reply #5 - 30.10.2008 at 20:22:07
 
Yeah very nice! Would love to see that code for learning! Smiley
Back to top
 
 
View Profile   IP Logged
masuka
YaBB Newbies
*
Offline

Arduino rocks

Posts: 3

Re: Yet Another LED Flame
Reply #6 - 08.11.2008 at 20:32:12
 
yeah, very nice, thank you!!
Back to top
 
 
View Profile   IP Logged
Pages: 1