Running 2 Youtube Channel : The Masti Adda (Fun based ) : The Knowledge Adda (Knowledge based) : Subscribe for Knowledge with Fun....
Written by @
Aim: Write a program for Seven Segment Display interfacing with 8051 micro-controller (common anode mode) with a delay of approximately 1 sec using Kiel Software and verify it .
Apparatus Used: Atmel Micro-controller Chip (89C51/89S51), Breadboard, Connecting wires (Red and Black), Crystal (12 MHz), 2 capacitor (30 micro Farad), 1 Capacitor (10 micro farad), 1 Seven Segment Display LED, 2 Register (100-500ohm), Kiel Software, Universal Programmer.
Theory: Seven Segment display consists of seven LED segments. Seven segment displays are available in a single dual in line package. There is one pin for each segment and these pins are named from A to F. A separate LED is used to display the decimal point. In addition to these eight pins, seven segment displays have one more pin for power supply. Seven segment displays come into two types, common anode and common cathode.
In common anode display, the anodes of all the LED's are connected together to form a pin. To illuminate a segment, the common anode pin is connected to the supply (+5V) and corresponding segment input is connected to a low-level voltage.
7 Segment Display LED


Pin of 7 Segment LED

Number Representation Using Seven Segment Display:
 
Hex Value and Pin Connection between Micro-controller (Port1) and Seven Segment LED Pins Representation for Common Anode:
Schematic Diagram

Program :( Using Kiel Software)
 Subroutine:


How to Burn the Program:
After writing the program in Kiel software, you have to burn this program using Universal Programmer to make ready for use. Procedure to burn the program
  • Create hex file using Kiel Software
  • For Creation, Right Click on Target and click on Option for Target then select O/P and Check Create File.
  • Then Save and Rebuild the Program
  •  Now open the Universal Programmer Software
  • Select Device
  • Select the device 89S51 and then Click OK
  • Click on Load
  •  Select your created Hex File
  •   Press OK
  • Click on Program and now your program is burning.
  • After this your IC is in running condition.
Circuit Diagram:-
Description of Circuit Diagram:-
  • Connect Pin No-31 and Pin No-40 to the +5V power supply.
  • Connect Crystal to Pin No-18 and Pin No-19 (One end at Pin No-18 and other end should be at Pin no-19)
  • Connect two capacitor to Crystal( One end of capacitor to the Pin No-18 and other at ground same as for second one end should be at Pin No-19 and other should be at Ground.)
  • Connect pin No-20 to the Ground.
  • Connect a register to Pin No-9 and other End to Ground and connect a capacitor to register and other end to +5V Supply.
  • Connect Each Pin of Port1 (P1.0 to P1.7) to seven segment LED as above description as given in tabular format.
  • In Tabular Format suggests that (P1.7 to connected A(Pin 7 of Seven Segment LED(SSL)),(P1.6 to B(Pin 6 of SSL)),(P1.5 to C(Pin 4 of SSL)),(P1.4 to D(Pin 2 of SSL)),(P1.3 to E(Pin of 1 of SSL)),(P1.2 to F(Pin 9 of SSL)),(P1.1 to G(Pin 10 of SSL)), (P1.0 to DP(Pin 5 of SSL)).
  • For Common Anode Pin No 3 and 8 of SSL should be connected to +5V supply. Now your circuit is complete.
 After this when you provide the +5V supply to bread board, you should get your desired output.

Images:- 
                               

9 comments:

  1. Anonymous10 May, 2014

    Magnificent goods from you, man. I have understand your stuff previous to
    and you're just extremely fantastic. I actually like what you have acquired
    here, certainly like what you are stating and the way in which you say it.
    You make it entertaining and you still care for to keep it wise.

    I can not wait to read far more from you. This is actually a wonderful website.


    Look at my blog piscine fibro laval Sherbrooke

    ReplyDelete
  2. Anonymous11 June, 2014

    Very descriptive post, I enjoyed that bit. Will there be a part 2?


    Feel free to visit my website ... compagnie déménagement

    ReplyDelete
  3. Anonymous11 June, 2014

    It's amazing to visit this web site and reading the views of all friends on the topic of this piece of writing,
    while I am also eager of getting knowledge.



    Also visit my web blog: chiropratique sherbrooke

    ReplyDelete
  4. Anonymous11 June, 2014

    Everyone loves it when individuals come together and share opinions.
    Great blog, keep it up!

    My site déménagement sherbrooke

    ReplyDelete
  5. Anonymous12 June, 2014

    At this time it seems like Wordpress is the
    best blogging platform available right now. (from
    what I've read) Is that what you are using on your
    blog?

    My blog post :: docteur chiropraticien sherbrooke

    ReplyDelete
  6. Anonymous12 June, 2014

    WOW just what I was searching for. Came here by searching for docteur en chiropratique
    sherbrooke

    My site; centre chiropratique sherbrooke

    ReplyDelete
  7. Anonymous13 June, 2014

    Fine way of describing, and pleasant post to take information on the topic of my
    presentation subject matter, which i am going to deliver in institution of higher education.

    Feel free to visit my page ... Le Demenagement Martin

    ReplyDelete
  8. Anonymous13 June, 2014

    No matter if some one searches for his essential thing,
    therefore he/she needs to be available that in detail,
    therefore that thing is maintained over here.


    my homepage: demenagement de spa

    ReplyDelete
  9. Anonymous13 June, 2014

    Having read this I believed it was very enlightening.
    I appreciate you finding the time and effort to put this article together.
    I once again find myself spending a significant amount of time both reading and leaving comments.
    But so what, it was still worth it!

    my page ... compagnie Demenagement Martin

    ReplyDelete