Lots Of Seven Segment Displays With A Single ATtiny

7seg

These days they’ve been replaced with character LCD displays or even brightly colored graphical displays, but if you’re trying to display data on one of your projects, there’s nothing like the classic red glow of a red seven segment display. [five volts] got his hands on a few ancient segmented displays, but controlling even one took up more microcontroller pins than he was ready to spare. The solution to this problem was to use a shift register and control multiple segment displays with an 8 pin microcontroller.

[volts] is using an ATtiny13 to control six seven segment displays. Each display is mounted on a hand-etched board, with a shift register and a handful of resistors soldered to the back. By having the microcontroller shift bits down the line, [volts] created an extremely easy to interface 6-digit segment display, and the entire device can be expanded even more.

The board files and schematics are available on [volt]’s project page. A great project if you’re just starting out to etch your own boards.

22 thoughts on “Lots Of Seven Segment Displays With A Single ATtiny

  1. With a plain shift register, you’ll get unwanted segments flashing up when the display changes. A better device would be the 74595 which is a shift register with an extra output latch that allows you to cleanly switch all outputs at the same time..

          1. @kubik Have you used a tiny13? Do you know the space restrictions? Relegate that to hardware, for sure. :P

            but, to the post itself, I was so glad to see it wasn’t something like the 2313, just for the crunch factor of limited pins.

    1. Exactly. The 595 is the standard device for that. He’s rediscovered what we’ve been doing for 10+ years. It’s also a good way to control a large number of individual LEDs with few MCU pins. For example, all the network status LEDs (activity, speed) on large network switches.

  2. Yeah. The MAX7219 is so much easier to deal with. SPI input. Cascade up to 255 parts (I think). Way easier than putzing around with some shift registers. Your time is worth something. Can’t get that back.

      1. eBay is your friend. You can pick up MAX7219s for about 70-80 us cents each, including postage. Add the fact that you only need a single resistor and its cheaper than using shift registers.

          1. I buy lots of components from china. Can’t remember ever getting one that didnt work. I guess it costs just as much to make a fake as it costs to make the real thing.
            the Max7219 cost 40 euro cents including shipping if you buy 10, but yes, HC595 costs only 6.5 eurocents including shipping… if you get a 100.
            Have used both

Leave a Reply to DroneCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.