---
+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Newbie level 4
    Points: 872, Level: 6

    Join Date
    Jan 2010
    Location
    india
    Posts
    6
    Helped
    0 / 0
    Points
    872
    Level
    6

    seven segment display for 8051

    I need to design a C code for 8051 using 4 seven segment displays
    I have used the multiplexing of 4-displays and i wish to count from
    "0000" - "9999' upon external signal

    i've used the same multiplexing technique, 4 select lines and
    common data line to all the displays

    am not getting how to program this in C,
    can anyone please
    send me any program for it?


    http://images.elektroda.net/55_1264677559.jpg

    •   Alt28th January 2010, 12:15

      advertising

        
       

  2. #2
    Newbie level 4
    Points: 872, Level: 6

    Join Date
    Jan 2010
    Location
    india
    Posts
    6
    Helped
    0 / 0
    Points
    872
    Level
    6

    Re: seven segment display for 8051

    thanks for reply but i need C sample code
    if anyone having it, please help!!!!
    thank you



    •   Alt28th January 2010, 20:02

      advertising

        
       

  3. #3
    Full Member level 1
    Points: 1,470, Level: 8

    Join Date
    Apr 2008
    Posts
    108
    Helped
    4 / 4
    Points
    1,470
    Level
    8

    seven segment display for 8051

    Count from 0-9. After 9, make the segment displaying 9 equal to 0 and add a 1 to the segment left of it. Update displays at say 50 mSec to suppress flickering. Remember, human eye can not distinguish flickering if the frequency is greater than 10 Hz.

    And lastly, the code you are requesting is not very difficult to try. Better try it yourself. No one can specifically help you because of the following reasons
    1. The compiler you are using
    2. The crystal
    3. Update time interval or condition
    4. Version of 8051
    5. Nature of displays, (CE or CA)
    6. etc, etc

    Try the code out yourself


    1 members found this post helpful.

    •   Alt28th January 2010, 20:14

      advertising

        
       

  4. #4
    Newbie level 4
    Points: 872, Level: 6

    Join Date
    Jan 2010
    Location
    india
    Posts
    6
    Helped
    0 / 0
    Points
    872
    Level
    6

    Re: seven segment display for 8051

    Thank you very much for your reply

    i need a code to jst study out because am not getting at all how to do the refreshing of
    led displays and all
    thats why i requested any code build for 8051 in C so that i can build my code studying that code
    if anyone is having a sample code, please send
    thank you



+ Post New Thread
Please login