Seven segment display explained

7segmentexplained-1.jpg

MAKE subscriber Florin points out this thorough rundown on 7-segment display usage, even covering the basics of multiplexing with the common component -

7segmentexplained-2.jpg

Since the digits share the same data bus, each digit will have the same number displayed, like the wheel on the picture, to change the number the “data guy” rotates the wheel. So how can we display 1234 you might ask, well wee need another guy, the selector, which will leave only one digit to be seen, all the others are shut off, by synchronizing the “data guy” and the “selector guy ” so they operate at the same time, when the wheel is at the 1111 position, the selector opens the first window, when at 2222 it opens the second and so on. By changing the data and selecting the digits at many times per second the human eye will see a steady image with 1234, the display refresh rate should be above 50 times in 1 second, otherwise the image may flicker.
Whether you consider yourself a "data" or "selector guy" (or gal), the tutorial seems handy way to get acquainted with such concepts.

Recent Entries

Comments

Oldest comments listed first.

Posted by: dennisj on June 2, 2009 at 9:59 AM

Or just use a MAX7219 IC combined w/ an Arduino:

http://www.arduino.cc/playground/Main/LEDMatrix

Much easier...


Posted by: The Oracle on June 2, 2009 at 11:49 AM

This is how a 7219 works. And it's important to know how your building blocks work so when something goes wrong (and it always does), you're better equipped to troubleshoot.


Posted by: Todd Harrison on June 2, 2009 at 2:18 PM

Interesting seven segment LED fact.

I once need 3 seven segment LEDs to count to 999 for a project. I created the wiring diagram which connected the LEDs to three decade counter chips. In my excitement I wired everything together using perf-board and wire-wrap upside down. That is to say I read the diagram rightside up but connected all the wires with the board upside down looking from the bottom. This created a perfect mirror image wiring of the chips and LEDs. When I applied the power it didn't smoke but just turned on as if all was just fine. With one very scary issue...The LEDs displayed 666 all the time! Never counting up or down. I'm not kidding this really happen and can be reproduced simply by reproducing my mirror image wiring error. Once I noticed my issue I rewired the LEDs, decade counters, latches correctly and everything worked just fine. But WOW very spooky!
Todd Harrison


Posted by: Robert on June 2, 2009 at 5:29 PM

Pah.

This ignores the technique of charlieplexing and so wastes 4 GPIOs.

(Not that charlieplexing is problem free mind you)


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
Holiday Gift Guides from MAKE

Gifts for Dads
Science and Chemistry
More guides: Gifts Under $20, Santa Claus Machines, Geek Toys for Grown Up Girls & Boys


Check out all of the episodes of Make: television

Alex Rider Dream Gadget Contest
Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Beetlebot Simple robot from your parts bin that avoids obstacles. Thanks go to Jerome Demers for the original article in MAKE, Volume 12. To download the Beetlebot video, click here or subscribe in iTunes. Check out the complete Beetlebot article... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en Español MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog