Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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

New Articles From Microcontroller Tips

Back
Top