TinyDice LED die (Arduino compatible)
TinyDice LED die (Arduino compatible)
TinyDice LED die (Arduino compatible)
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.

The code can be downloaded here.
TinyDice LED die (Arduino compatible)
tinyDice.pde1 KB
 
 

Tag cloud

make build easy simple arduino making homemade solar laser printed portable cheap mini building custom cardboard wooden create super lego turn paracord chocolate your paper light intel