Hacked Gadgets Forum

August 11, 2008

Microcontroller Fireflies - ATtiny13 based

at 5:28 am. Filed under Electronic Hacks

 

These microcontroller based fireflies are cool. At first I thought they simply started to flash when the lights turned off but they actually are able to detect the flashes of their neighbors and sync themselves!

"What can be observed is that the fireflies start with random blinking. But as time goes by, they are able to slowly synchronize with their nearest neighbors. And these neighbors are synchronizing themselfes with their neighbors and so on an so on. Until the whole tree or the whole valley blinks in the same cycle. And what is it good for? It is used to attract other specimen. With all the blinking in sync it is much easier to find a partner. One of the easiest algorithm to explain this behaviour goes like this: You have a value that holds the power to flash. As time passes this power will slightly raise. If the power reaches a certain level, the firefly flashes and the power is consumed. The rate at which the power raises is nearly the same for all fireflies. So they have the same frequency but not the same point in time to flash. While slowly charging with power the firefly is able to detect a flash of another firefly nearby. It adds then a higher value to its power value. Some kind of power boost, if you wish. That means the next flash will occur earlier than the one before. And next one even earlier, until these two are flashing exactly at the same point in time and with the same speed."


 


Related Posts

LED Firefly version 2
Ethernet Controlled Security System
Microcontroller to SMS Interface
Arduino based Timelapse Photography Rig
PIC 12F683 Microcontroller Based Logic Probe
AVR Microcontroller Based Video Game
Freezer Failure Alarm based on the PIC Microcontroller
Atmel Atmega based Electromagnetic Floater

 


 

7 Responses to “Microcontroller Fireflies - ATtiny13 based”

  1. GEARFUSE » Microcontroller Fireflies Devine Synchronize Says:

    [...] (via) Read More LED Cape Would Fit Dracula WellDIY: Make your own GPS cellular rotary phonePac-Mac [...]

  2. Alex Says:

    Hi Alan,

    if you liked my instructable, you may want to have a look at Fireflies NG, which I did some days ago. It’s basically the same circuit, but every firefly sits on its own PCB.
    http://tinkerlog.com/2008/07/27/synchronizing-fireflies-ng/

    Cheers,
    Alex

  3. Multiple Monitors Says:

    You guys always have the most useless creative stuff…lol. and that’s what I love! I’m addicted to Hackedgadgets!

  4. bonzi_buddy Says:

    @Multiple Monitors: yeah sometimes pretty useless stuff but as you said: i’m pretty addicted, too! ;) hackedgadgets is great!

  5. LED Firefly version 2 - Hacked Gadgets - DIY Tech Blog Says:

    [...] is a new version of the Firefly that was featured yesterday. The new version was built on a manufactured PCB and looks very good! Full build details are [...]

  6. entegre sinek yapalım | bunubuldum Says:

    [...] bu arkadaşlardan bir kaç tane yaptığınız zaman kendi aralarında senkronize olarak yanıp sönebiliyorlarmış. Bu sistemin çalışma mekanizması gerçek sineklerin senkronizasyonundan esinlenilmiş. hmmm… kaynak [...]

  7. Day Trading Computer Says:

    I like the other one better. This one is cool though.

Leave a Reply

Internal Links:

Categories:

Search:

Google
Hacked Gadgets
Web

Site Sponsors:

 

Recent Comments:

Site Rating:

More RSS Feed Options

Site Sponsors:

 

Interesting Sites:

Site Videos:

Incoming Links:

Recent Readers:

Forum Activity:

Fun Articles from other Blogs