Seven-Segment LED Displays



Similar documents
3-Digit Counter and Display

The components. E3: Digital electronics. Goals:

Upon completion of unit 1.1, students will be able to

Copyright Peter R. Rony All rights reserved.

Counters and Decoders

A Digital Timer Implementation using 7 Segment Displays

Digital Electronics Detailed Outline

Decimal Number (base 10) Binary Number (base 2)

DEPARTMENT OF INFORMATION TECHNLOGY

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

STEPPER MOTOR SPEED AND POSITION CONTROL

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, Lab 2. The Full-Adder

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Figure 8-1 Four Possible Results of Adding Two Bits

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

EXPERIMENT 8. Flip-Flops and Sequential Circuits

Lab 17: Building a 4-Digit 7-Segment LED Decoder

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

COMBINATIONAL CIRCUITS

POINTS POSITION INDICATOR PPI4

Chapter 2 Logic Gates and Introduction to Computer Architecture

Lecture N -1- PHYS Microcontrollers

BINARY CODED DECIMAL: B.C.D.

Module 3: Floyd, Digital Fundamental

Application Note 83 Fundamentals of RS 232 Serial Communications

Digital Logic Design Sequential circuits

Asynchronous Counters. Asynchronous Counters


Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

TIL311 HEXADECIMAL DISPLAY WITH LOGIC

2 : BISTABLES. In this Chapter, you will find out about bistables which are the fundamental building blocks of electronic counting circuits.

CD4511BM CD4511BC BCD-to-7 Segment Latch Decoder Driver

Gates, Circuits, and Boolean Algebra

RAM & ROM Based Digital Design. ECE 152A Winter 2012

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

GLOLAB Universal Telephone Hold

Modeling Registers and Counters

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

MICROPROCESSOR AND MICROCOMPUTER BASICS

RUNNING MESSAGE BOARD USING DOT-MATRIX DISPLAY. Ervin John U. Benigra, Bryan Leonard D. Montaño and Engr. Maridee B. Adiong. Capitol University

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute. 2nd (Spring) term 2012/2013

Operating Manual Ver.1.1

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

Interfacing To Alphanumeric Displays

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

0832 Dot Matrix Green Display Information Board User s Guide

Numbering Systems. InThisAppendix...

CHAPTER 11: Flip Flops

GETTING STARTED WITH PROGRAMMABLE LOGIC DEVICES, THE 16V8 AND 20V8

3.2 inch QVGA TFT Color LCD User s Guide Version 1 & 2

Counters. Present State Next State A B A B

CHAPTER 3 Boolean Algebra and Digital Logic

Information Board User s Guide

Hexadecimal and Numeric Indicators. Technical Data

Contents COUNTER. Unit III- Counters

Gray Code Generator and Decoder by Carsten Kristiansen Napier University. November 2004

Lecture 8: Synchronous Digital Systems

Monitoring of Intravenous Drip Rate

List of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447).

Lesson 12 Sequential Circuits: Flip-Flops

(Refer Slide Time: 00:01:16 min)

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

Switch board datasheet EB

MIDECO 64-outputs MIDI note decoder USER MANUAL. Roman Sowa 2012

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

Chapter 3: Computer Hardware Components: CPU, Memory, and I/O

Let s put together a Manual Processor

UMI (Universal Metering Interface)

Microprocessor & Assembly Language

8 by 8 dot matrix LED displays with Cascadable Serial driver B32CDM8 B48CDM8 B64CDM8 General Description

Tutorial. replace them with cell-phone operated module. The advantages of a cell-phone operated bot are:-

ECEN 1400, Introduction to Analog and Digital Electronics

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 OUTCOME 3 PART 1

Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht (info@eonline.de) V0.1draft

40-Segment 2.54 pitch LED Bar Display Board User s Guide

Design: a mod-8 Counter

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Design and Verification of Nine port Network Router

4 Character 5x7 LED Matrix Display

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann

Digital to Analog and Analog to Digital Conversion

Lab 11 Digital Dice. Figure Digital Dice Circuit on NI ELVIS II Workstation

Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II

Wiki Lab Book. This week is practice for wiki usage during the project.

Transcription:

Seven-Segment LED Displays Nicholas Neumann 11/19/2010 Abstract Seven-segment displays are electronic display devices used as an easy way to display decimal numerals and an alterative to the more complex dot-matrix displays. The LDS-C303RI, a common seven-segment display, will be examined. Common anode vs. common cathode will be outlined. LED drivers such as the CD74HC4511E will also be discussed. Design applications such as digital clocks and electronic meters will be covered briefly. Keywords: Seven-Segment, LED Display, Common Anode/Cathode, Drivers, LDS-C303RI, CD74HC4511E

Introduction Seven-segment displays first became widely used as a popular way of displaying numbers. Today they are used as displays in home appliances, cars, and various digital devices. The LDS-C303RI is commonly used in many designs, it includes seven LED bars aligned in a figure eight pattern as seen in Figure 1. It is capable of displaying the numbers 0-9 and the letters A-F by lighting the appropriate segments. This is typically controlled by a driver like the CD74HC4511E. Figure 1: Seven-Segment Layout Objective The following will detail the necessary requirements to implement a display into a circuit. This application note will also provide the basic functionality of a seven-segment display. In terms of hardware, the implementation of the display into a counter using a CD74HC4511E driver will be discussed. Schematics are included in order to explicitly show the correct implementation of the display into a simple binary counter. Methods Seven-Segment Display When dealing with seven-segment displays, there are two types. Common anode and common cathode; in common anode all the anodes on the display are tied to a common pin, typically the power source, and the LED are controlled via the cathodes with ground being on and power being off. In common cathode all the cathodes are tied to a common pin, in this case generally ground, and the LED are driven by the state of the anodes where ground is off and power is on.

Hence a seven-segment plus decimal point package will only require nine pins, though commercial products typically contain more pins in order to match industry standard pinouts. See Figure 2 and 3 for reference. Figure 2: Common Anode Figure 3: Common Cathode A simple truth table can be used to show how to display each number and letter. This can be seen in Table 1. For example, it can be seen that if a 0 is wanted to be displayed the a-f LED segments need to be turned on while the g segment is off. Note that B and D are displayed as b and d; this is done to obtain a unique, unambiguous shape for each letter. Otherwise, a capital D would look identical to a 0 and a capital B would look identical to an 8. Number a b c d e f g 0 On On On On On On Off 1 Off On On Off Off Off Off 2 On On Off On On Off On 3 On On On On Off Off On 4 Off On On Off Off On On 5 On Off On On Off On On 6 Off Off On On On On On 7 On On On Off Off Off Off 8 On On On On On On On

9 On On Off Off On On On A On On On Off On On On B Off Off On On On On On C On Off Off On On On Off D Off On On On On Off On E On Off Off On On On On F On Off Off Off On On On Table 1: Seven-Segment Truth Table Display Driver Controlling a seven-segment display will require eight pins for most displays and nine pins if it has a decimal point. This adds a lot of wiring to the circuit; however the use of a display driver can simplify this by reducing the number of pins required to four. A display driver is a simple logic based device that is passed a 4-bit binary input which is decoded and translated into the correct pin values for the display, see Appendix for chip schematic. So if we wanted the display to show a C representing the number 12 we would pass it the 4-bit representation 1100. It must be kept in mind however that not all drivers are capable of displaying the letters A-F. Shown below in Figure 4 is the complete function table for the CD74HC4511E, a display driver made by Texas Instruments. Here D 0 -D 3 are the 4-bit inputs and a-g are the outputs controlling the display. LE, BL, and LT are all unique to the chip and used to perform various tests, they are of no concern for this example. Figure 4: Display Driver Function Table

Seen below in Figure 5 is an example of a wiring diagram for a seven-segment display using a LDS-C303RI and the CD74HC4511E. This circuit could be connected to a simple switch based input that would control the count manually, or it could be appended to the end of a clocked counter circuit using JK Flip-Flops for the input. Additionally, for a more complex counting scheme the circuit could be hooked up to a microcontroller and be customized to specifications via programming. Figure 5: Schematic Discussion Seven-segment displays are very convenient to use and simple to design. The specific application of using a seven-segment display as a method of showing a numerical output for a binary counter was discussed here. However, the basic framework provided here should yield other applications as well. The displays are highly versatile and with proper input can display a variety of numbers, letters, and figures. If the case occurs where multiple digits are needed to be displayed, then by expanding on the applications provided serial inputs should be found that allow control of a set of digits from only a few inputs. References 1. LDS-C303RI Data Sheet. Lumex Incorporated. May 1997. 2. CD74HC4511E BCD-To-7 Segment Latch/Decoder/Drivers Datasheet. Texas Insturments. October 2003. 3. Fundamentals of Seven Segment Displays. Electronic Project Design. Web. 19 Nov. 2010. <http://www.electronics-project-design.com/sevensegmentdisplays.html>.

4. Wood, Vincent. Numitron Readout: Simplified Seven-Segment Display in One Tube. Decode Systems. Web. 19 Nov. 2010. <http://www.decodesystems.com/numitron.html>. 5. BCD Decoder. Diagram. Web. 19 Nov. 2010. <http://thediagram.com/7_2/bcd_decoder.gif>.

Appendix