This circuit uses the ATtiny 8-pin microcontroller which has 5 I/O pins to create a 7-segment display. Since a 7-segment display only requires control of 7 individual LEDs, we use 4 of the ATtiny I/O pins as charlieplexed outputs (n*(n-1)). Leaving the the fifth I/O pin to be used as digital or analog input or another output.
Video
For some reason it is not working properly yet…
Photos
Front and back (LEDs mounted facing down):
ATtiny:
Full circuit:
Blurred lights:
Materials:
– ATtiny45 or 85 >>
– SMD LEDs >>
Code:
>> https://github.com/plusea/CODE/blob/master/EXAMPLE%20CODE/a_tiny7Segment/a_tiny7Segment.ino
Circuit:
3 Comments so far
[…] http://www.kobakant.at/DIY/?p=3800 Share this:TwitterFacebookMe gusta:Me gustaSe el primero en decir que te gusta. […]
The link to the code does not currently lead to code. Could you please check the link and share it again. Thanks!
Never mind, I found the code at this link: https://github.com/plusea/CODE/blob/master/PROJECT CODE/ATtiny Seven Segment/a_tiny7Segment/a_tiny7Segment.ino