Circuits – 7 Segment Displays

I’ve decided to write this post to support a bit of the theory behind my new project (click here to see) in which I’ve used a 7 segment 4 digit display (Common anode).

How they work:

7_segment_display_labeled.svg

A 7-segment display is an assembly of light emitting diode-bars (LED segments) each which can be powered individually. The display show the number 8 when all the segments are powered on, an additional 8th the ‘dot’ or DP, represents the decimal point, usually it’s on right side of the display.

Each one of the seven LEDs in the display is given a positional segment with one of its connection pins, these individually LED pins are labeled from a through to g representing each individual LED. The other LED pins are connected together and wired to form a common pin.

So when we use those displays some segments will be light and others will be dark allowing the desired character pattern of the number to be generated on the display. This allows us to display each of the ten decimal digits 0 through to 9 on the same 7-segment display.

The are two types of 7-segment displays the common-cathode and the common-anode.

  • 1. The Common Cathode (CC): In the common cathode, all the cathode connections of the LED segments are joined COMMON_ANODE_CATHODE ogether to logic “0″ or GND. The individual segments are illuminated by application of a “HIGH”, or logic “1″ signal via a current limiting resistor to forward bias the individual Anode terminals (a-g).

 

  • 2. The Common Anode (CA): In the common anode display, all the anode connections of the LED segments are joined together to logic “1″. The individual segments are illuminated by applying a ground, logic “0″ or “LOW” signal via a suitable current limiting resistor to the Cathode of the particular segment (a-g).

The Truth Table:

7SegmentTruthTable

Thanks for reading, you can contact me by leaving a comment. If you like this post probably you might like my next ones, so please support me by subscribing my blog and my Facebook Page.



Learn how to build a home automation system and we’ll cover the following main subjects: Node-RED, Node-RED Dashboard, Raspberry Pi, ESP32, ESP8266, MQTT, and InfluxDB database DOWNLOAD »
Learn how to build a home automation system and we’ll cover the following main subjects: Node-RED, Node-RED Dashboard, Raspberry Pi, ESP32, ESP8266, MQTT, and InfluxDB database DOWNLOAD »

Recommended Resources

Build a Home Automation System from Scratch » With Raspberry Pi, ESP8266, Arduino, and Node-RED.

Home Automation using ESP8266 eBook and video course » Build IoT and home automation projects.

Arduino Step-by-Step Projects » Build 25 Arduino projects with our course, even with no prior experience!

What to Read Next…


Enjoyed this project? Stay updated by subscribing our newsletter!

3 thoughts on “Circuits – 7 Segment Displays”

Leave a Comment

Download Our Free eBooks and Resources

Get instant access to our FREE eBooks, Resources, and Exclusive Electronics Projects by entering your email address below.