Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

8051 - A simple demonstration

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
12,662
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 13, 2007

A simple demo of the 8051 micro on how it can be used to create a seven segment display. In this demo, I have used it to display digits from 0 to 9 in a counter like fashion.Hope you like it. Stay tuned for more cool demos based on the 8051!!

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (seemantadutta)

  • Yes it is !

  • is your xtal 11059200 ?

  • Yes, it is !

  • Programming on asm or c?

  • ASM !!

see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • nice work..........

  • Segment 'e' has a lower resistor.

  • @K1000PL 8051 is weak compared to Atmega.

  • You said in your previous post that you only need one per digit; which implies that you are using more than one.

    I guess in the rather odd instance that you had an application that uses only one digit and your goal was to save 6 or seven resistors at the expense of added code, then it can be done; but you could just as easily use a resistor network chip. Generally multiplexing displays is done to save ports on a controller.

  • To clarify what I meant: If you mutiplex one digit, you only need one resistor as there is only one LED on at one time. If you have more than one digit then it is normal to use 7 (or 8) resistors, one per segment. Yes it increases code complexity but you just mask the byte you're outputting with a different single bit (one segment) and output it 8 times.

  • That is incorrect; it's irrelevant whether you scan of not. When you multiplex, you are turning on one common at a time. If you put the resistor in the common, the current in that digit will be divided between each of the segments that are on during that scan. You will notice the number '8' is the dimmest number and '1' would be the brightest.

    If you multiplex (as you should with more than one digit), there should be 7 resistors; one for each segment.

  • You should only require one resistor per each digit if you're multiplexing that is!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more