This is an attempt at an absolutely minimized electronics dice implementation. An entry for the Hackaday 1kb competition. Using an ATtiny10 as a MCU automatically limits the code size to 1kb, so the code size competition is automatically met.
The ATtiny10 only has three I/O lines - we need to control 7 LEDs in total. How?
This implementation manages to control all 7 LEDs using only two I/Os. See here for a description of the multiplexing scheme: https://cpldcpu.wordpress.com/2015/05/24/plexingplus/
Why no series resistors? Well, turns out you can get away with that when you minimize the duty cycle of the LEDs. Since the scheme required multiplexing anyways, this is automatically given.
The remaining I/O pin is used for a touch button to activate the dice. No push button is needed. I am using my TinyTouchLib for this, which also works on an ATtiny10.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.