Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

seven segment display for 8051

Status
Not open for further replies.

amitrana3348

Newbie level 4
Joined
Jan 28, 2010
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,346
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?

55_1264677559.jpg

https://obrazki.elektroda.pl/55_1264677559.jpg
 

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

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
 
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
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top