CharliePlexed RGB LED Dice

Electronic dice persay is not a very interesting electronic project, but controlling 21 LEDs with just 4 I/O microcontroller pins is really interesting. Multiplexing used in this project is Charlieplexing. We all know that electronic dice requires just 7 LEDs, but since RGB LEDs were used, a total of 21 LEDs had to be controlled.

After a pushbutton is pressed, microcontroller ATtiny13V generates a random number from 1 to 6 and displays the result on RGB LEDs in 6 possible collors and in random fashion.

© cedtlab

[ Source: cedtlab ]

Charlieplexirana RGB LED kocka Bookmark and Share Comments (0)

Comment page:

add comment


e-mail (will not be published)


How much is = also add letter "a" at the end of your result! Eg.: 7a

Please log-in!

You can log-in on forum link: Login page. After logging-in, return to this page and click refresh in your browser.

site friends

sponsored links