TinyDice LED Die (Arduino Compatible)

by Emiliano Valencia in Circuits > Microcontrollers

8011 Views, 20 Favorites, 0 Comments

TinyDice LED Die (Arduino Compatible)

Foto del día 27-06-2011 a la(s) 18:22.jpg
Foto del día 27-06-2011 a la(s) 18:21 #4.jpg
Foto del día 27-06-2011 a la(s) 18:20 #2.jpg
I used an ATtiny25 to control some LEDs, it generates a number randomly and displays it as a die.
It first displays light sequence, then the random number and it finally goes to sleep, consuming less than 0.1uA untill someone presses the button and wakes it up to start again, battery will last about 250 YEARS when asleep.

The code is fully compatible with arduino and written on the Arduino IDE, for further info on how to program the ATtiny using the arduino ide visit This Guide.

T
he code can be downloaded here.

Downloads