4 digit 7Segment Multiplexing using 8051F330

Status
Not open for further replies.

moohoo123

New Member
Hi!
I am currently working on an assignment using 4 thumbwheels to control 4 7 Segments. However, to reduce the number of I/O pins used, i will have to multiplex the 7 segments(Common Cathode).

I am unsure of the codes to used to control each segment. Anyone have any guidelines for me?

Currently using C only.

Thanks
 
I have built some circuit and relevant assembly code for multiplexing seven segments...
**broken link removed**

Best of luck
 
That is for common anode not for common cathode.

For common cathodes driver transistor (NPN) is need for each display common pin & the data is supplying the possitive path from the micro controller side.Each driver transistor must turn on one at a time & the correct binary pattern must move to the correct place (segment) of each drive transistors position.
 
Last edited:
But working principle is same for both common cathode and anode, the only difference is that the output data should be complimented and transistors should be changed.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…