SlideShare a Scribd company logo
2
Most read
4
Most read
9
Most read
7 SEGMENT INTERFACE WITH
AVR MICROCONTROLLER
A. D. Patel Institute Of Technology
EC :- Sem V Present By :- Pratik Makadia
(130010111017)
19 October 2015
1
Introduction
 Seven segment displays are very common for electronic product to
display numerical output.
 Many common devices like calculators, watches, electronic
weighing scales, ovens etc use them.
 You must have also seen in our ADIT lifts display the current floor
numbers in seven segment displays.
19 October 2015
2
Fundamentals
 A seven-segment display is so named because it is divided into
seven different segments that can be switched on or off.
 The different combination of these segments switched on produces
different English numbers.
 The display also has a decimal point.
19 October 2015
3
 The figure shows a seven segment display
and the names of the various segments.
 For example if you want to display
number 4 then segments that will be ‘on’
are {f, g, b, c} while rest are ‘off’. Basically
the seven segments are just LEDs.
 The one common end of all the leds are
connected while the rest are available.
 Depending on whether anode or
cathode of all the leds are common they
are of two types.
19 October 2015
4
1) Common anode
19 October 2015
5
2) Common cathode
PIN Configuration
 these displays should have
nine pin( one for each
segment + decimal point
+common).
 but the available modules
have two pins for common.
 They are internally
connected. So they have
total of 10 PINs.
19 October 2015
6
Interfacing with MCU
 Interfacing these displays are
same as interfacing LEDs with
MCU.
 I have interfaced a common
anode(+) 7 segment display
with PORTD of AVR using 8-PIN
connectors.
 The segments will be "on"
when levels on the PORT is low,
that is 0.
19 October 2015
7
Block Diagram Of Interfacing
19 October 2015
8
Table for all 16 hexadecimal digits and values for all segment to
need turn on the proper segment.
Digit Hex
Value
g f e d c b a
0 0x3F 0 1 1 1 1 1 1
1 0x06 0 0 0 0 1 1 0
2 0x5B 1 0 1 1 0 1 1
3 0x4F 1 0 0 1 1 1 1
4 0x66 1 1 0 0 1 1 0
5 0x6D 1 1 0 1 1 0 1
6 0x7D 1 1 1 1 1 0 1
7 0x07 0 0 0 0 1 1 1
19 October 2015
9
Digit Hex
Value
g f e d c b a
8 0x7F 1 1 1 1 1 1 1
9 0x6F 1 1 0 1 1 1 1
A 0x77 1 1 1 0 1 1 1
B 0x7C 1 1 1 1 1 0 0
C 0x39 0 1 1 1 0 0 1
D 0x5E 1 0 1 1 1 1 0
E 0x79 1 1 1 1 0 0 1
F 0x71 1 1 1 0 0 0 1
Programming
 These displays are very easy to program in C.
 The controller is initialized by sending three commands:
1) Turning on its internal oscillator
2) Enabling display output
3) Setting the brightness level
 Brightness is adjusted from 0 (dimmest) to 15 (brightest).
19 October 2015
10
19 October 2015
11

More Related Content

PPTX
Chapter 6 hardware structure of 8086
PDF
Intel 8086 microprocessor
PPTX
PIC 16F877 micro controller by Gaurav raikar
PPTX
Stacks & subroutines 1
PPTX
Microoperations
PDF
Architecture OF 8085
PDF
8051 microcontroller
PPTX
Flag registers, addressing modes, instruction set
Chapter 6 hardware structure of 8086
Intel 8086 microprocessor
PIC 16F877 micro controller by Gaurav raikar
Stacks & subroutines 1
Microoperations
Architecture OF 8085
8051 microcontroller
Flag registers, addressing modes, instruction set

What's hot (20)

PPTX
8086 Microprocessor
PPTX
Lecture #3 Flag Register.pptx
PPTX
8086 pin configuration
PPT
Microprocessor 80386
DOCX
301378156 design-of-sram-in-verilog
PDF
22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE
PPTX
Registers
PPT
8086 micro processor
PPTX
Architecture and pin diagram of 8085
PDF
8086 architecture and pin description
PPT
Shift Register
PPTX
Digital Clock
PPTX
decade counter
PDF
Module 4 registers and counters
PPTX
Flag Register in 8086.pptx with the notenot
PPTX
8086 signals
PPTX
Flag Register in 8086.pptx microprocessor 8085
PDF
Stepper motor-interfacing
PPTX
Software and Hardware Tools for Microprocessors
PPT
Introduction to intel 8086 part1
8086 Microprocessor
Lecture #3 Flag Register.pptx
8086 pin configuration
Microprocessor 80386
301378156 design-of-sram-in-verilog
22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE
Registers
8086 micro processor
Architecture and pin diagram of 8085
8086 architecture and pin description
Shift Register
Digital Clock
decade counter
Module 4 registers and counters
Flag Register in 8086.pptx with the notenot
8086 signals
Flag Register in 8086.pptx microprocessor 8085
Stepper motor-interfacing
Software and Hardware Tools for Microprocessors
Introduction to intel 8086 part1
Ad

Viewers also liked (20)

PDF
Interfacing using ِAtmega16/32
PPSX
Programming ATmega microcontroller using Embedded C
DOCX
ARDUINO EMBEDDED SYSTEM
PPT
Lcd & keypad
PDF
A.F. Ismail (presentation)
PDF
T.H. (presentation)
PPT
Embedded system programming using Arduino microcontroller
DOCX
Embedded system development-Arduino UNO
PPTX
Tutorial on avr atmega8 microcontroller, architecture and its applications
PPTX
Ppt on interfacing led and 7 segment with 8951
PPT
Interfacing keypad
DOCX
7-Segment Display
PPTX
Microcontroller
PPTX
Advance Microcontroller AVR
PPTX
Embedded system design using arduino
PPT
Embedded systems, 8051 microcontroller
PDF
Chapter 7 8051 programming in c
PPTX
Smart digital door locking system
PPTX
INTRODUCTION TO MICROCONTROLLER
PDF
Introduction in microcontroller
Interfacing using ِAtmega16/32
Programming ATmega microcontroller using Embedded C
ARDUINO EMBEDDED SYSTEM
Lcd & keypad
A.F. Ismail (presentation)
T.H. (presentation)
Embedded system programming using Arduino microcontroller
Embedded system development-Arduino UNO
Tutorial on avr atmega8 microcontroller, architecture and its applications
Ppt on interfacing led and 7 segment with 8951
Interfacing keypad
7-Segment Display
Microcontroller
Advance Microcontroller AVR
Embedded system design using arduino
Embedded systems, 8051 microcontroller
Chapter 7 8051 programming in c
Smart digital door locking system
INTRODUCTION TO MICROCONTROLLER
Introduction in microcontroller
Ad

Similar to 7 segment interface with avr microcontroller (20)

DOCX
PDF
Seven segment interfacing with 8051.pdf
PDF
IRJET - Interfacing Multi-Digit 7-Segment with 8051 Microcontroller
PPTX
How to interface a Seven Segment Display with Arduino?
PDF
7segmentdisplay
PPTX
Fundamentals of Arduino: Day-02
PDF
I0312050058
PPTX
Ppt on interfacing led and 7 segmentwith 8951
PDF
Applications of Microcontroller 8051
PPT
M7.2 7-SegmentDisplays.ppt segment displays
PDF
Embedded C Programming Module 7 Presentation
PDF
L6 Visual Output LED_7SEGMEN_LEDMATRIX upate.pdf
PDF
L6 Visual Output LED_7SEGMEN_LEDMATRIX upate.pdf
PPTX
Arduino Simulation_Basic_Day-2 (Proteus)
PPTX
An application of 8085 register interfacing with LED
PPTX
Seven Segment Display
PPTX
Ppt on interfacing led and 7 segmentwith 8951
DOCX
project report on embedded system
DOCX
Lcd display
PPTX
Lecture Notes 2.2.3 (Debouncing-Led-sevengement display) (1).pptx
Seven segment interfacing with 8051.pdf
IRJET - Interfacing Multi-Digit 7-Segment with 8051 Microcontroller
How to interface a Seven Segment Display with Arduino?
7segmentdisplay
Fundamentals of Arduino: Day-02
I0312050058
Ppt on interfacing led and 7 segmentwith 8951
Applications of Microcontroller 8051
M7.2 7-SegmentDisplays.ppt segment displays
Embedded C Programming Module 7 Presentation
L6 Visual Output LED_7SEGMEN_LEDMATRIX upate.pdf
L6 Visual Output LED_7SEGMEN_LEDMATRIX upate.pdf
Arduino Simulation_Basic_Day-2 (Proteus)
An application of 8085 register interfacing with LED
Seven Segment Display
Ppt on interfacing led and 7 segmentwith 8951
project report on embedded system
Lcd display
Lecture Notes 2.2.3 (Debouncing-Led-sevengement display) (1).pptx

More from Kushagra Ganeriwal (12)

PPTX
Fm generation
PPTX
PPTX
History of computer crime
PPTX
Conductors
PPT
Coulomb's law and its applications
PPTX
PPTX
Interfacing ultrasonic rangefinder with avr mc us
DOCX
electronic mixer
DOCX
auditorium
DOCX
Prac3 LOUDSPEAKER
Fm generation
History of computer crime
Conductors
Coulomb's law and its applications
Interfacing ultrasonic rangefinder with avr mc us
electronic mixer
auditorium
Prac3 LOUDSPEAKER

Recently uploaded (20)

PPT
Chapter 6 Design in software Engineeing.ppt
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
ETO & MEO Certificate of Competency Questions and Answers
PPTX
Geodesy 1.pptx...............................................
PPT
Project quality management in manufacturing
PDF
Geotechnical Engineering, Soil mechanics- Soil Testing.pdf
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PDF
algorithms-16-00088-v2hghjjnjnhhhnnjhj.pdf
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
BRKDCN-2613.pdf Cisco AI DC NVIDIA presentation
PPTX
anatomy of limbus and anterior chamber .pptx
PPTX
MET 305 MODULE 1 KTU 2019 SCHEME 25.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Practice Questions on recent development part 1.pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
PPTX
“Next-Gen AI: Trends Reshaping Our World”
PPTX
Simulation of electric circuit laws using tinkercad.pptx
Chapter 6 Design in software Engineeing.ppt
UNIT-1 - COAL BASED THERMAL POWER PLANTS
ETO & MEO Certificate of Competency Questions and Answers
Geodesy 1.pptx...............................................
Project quality management in manufacturing
Geotechnical Engineering, Soil mechanics- Soil Testing.pdf
Lesson 3_Tessellation.pptx finite Mathematics
algorithms-16-00088-v2hghjjnjnhhhnnjhj.pdf
bas. eng. economics group 4 presentation 1.pptx
BRKDCN-2613.pdf Cisco AI DC NVIDIA presentation
anatomy of limbus and anterior chamber .pptx
MET 305 MODULE 1 KTU 2019 SCHEME 25.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Practice Questions on recent development part 1.pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
“Next-Gen AI: Trends Reshaping Our World”
Simulation of electric circuit laws using tinkercad.pptx

7 segment interface with avr microcontroller

  • 1. 7 SEGMENT INTERFACE WITH AVR MICROCONTROLLER A. D. Patel Institute Of Technology EC :- Sem V Present By :- Pratik Makadia (130010111017) 19 October 2015 1
  • 2. Introduction  Seven segment displays are very common for electronic product to display numerical output.  Many common devices like calculators, watches, electronic weighing scales, ovens etc use them.  You must have also seen in our ADIT lifts display the current floor numbers in seven segment displays. 19 October 2015 2
  • 3. Fundamentals  A seven-segment display is so named because it is divided into seven different segments that can be switched on or off.  The different combination of these segments switched on produces different English numbers.  The display also has a decimal point. 19 October 2015 3
  • 4.  The figure shows a seven segment display and the names of the various segments.  For example if you want to display number 4 then segments that will be ‘on’ are {f, g, b, c} while rest are ‘off’. Basically the seven segments are just LEDs.  The one common end of all the leds are connected while the rest are available.  Depending on whether anode or cathode of all the leds are common they are of two types. 19 October 2015 4
  • 5. 1) Common anode 19 October 2015 5 2) Common cathode
  • 6. PIN Configuration  these displays should have nine pin( one for each segment + decimal point +common).  but the available modules have two pins for common.  They are internally connected. So they have total of 10 PINs. 19 October 2015 6
  • 7. Interfacing with MCU  Interfacing these displays are same as interfacing LEDs with MCU.  I have interfaced a common anode(+) 7 segment display with PORTD of AVR using 8-PIN connectors.  The segments will be "on" when levels on the PORT is low, that is 0. 19 October 2015 7
  • 8. Block Diagram Of Interfacing 19 October 2015 8
  • 9. Table for all 16 hexadecimal digits and values for all segment to need turn on the proper segment. Digit Hex Value g f e d c b a 0 0x3F 0 1 1 1 1 1 1 1 0x06 0 0 0 0 1 1 0 2 0x5B 1 0 1 1 0 1 1 3 0x4F 1 0 0 1 1 1 1 4 0x66 1 1 0 0 1 1 0 5 0x6D 1 1 0 1 1 0 1 6 0x7D 1 1 1 1 1 0 1 7 0x07 0 0 0 0 1 1 1 19 October 2015 9 Digit Hex Value g f e d c b a 8 0x7F 1 1 1 1 1 1 1 9 0x6F 1 1 0 1 1 1 1 A 0x77 1 1 1 0 1 1 1 B 0x7C 1 1 1 1 1 0 0 C 0x39 0 1 1 1 0 0 1 D 0x5E 1 0 1 1 1 1 0 E 0x79 1 1 1 1 0 0 1 F 0x71 1 1 1 0 0 0 1
  • 10. Programming  These displays are very easy to program in C.  The controller is initialized by sending three commands: 1) Turning on its internal oscillator 2) Enabling display output 3) Setting the brightness level  Brightness is adjusted from 0 (dimmest) to 15 (brightest). 19 October 2015 10