I am trying to interface 74ls145 with 8051 microcontroller to operate 6 seven segment digit multiplexing, any body would like to send me the source code in c language for this purpose please.
I am using kiel ide for programming.It ain't gonna happen.
That is not how AAC works. Writing code for this is like teaching a toddler how to walk. You have to start learning to do the simple things on your own.
Do you know how to program an 8051 MCU?
Which MCU variety are you using?
What IDE platform are you running?
How does 74LS145 work?
How does multiplexing work?
Where is your circuit diagram?
I am using single digit common cathode seven segment which are total 6 in quantity, common pin of every segment is connected to the 6 outputs of the decoder(74ls145), it receives input but do not give any output to the ssd.I am trying to interface 74ls145 with 8051 microcontroller to operate 6 seven segment digit multiplexing, any body would like to send me the source code in c language for this purpose please.
Please show your circuit schematic.
And then show the code that you have written so far.
Struggling a bit here... Mike hasn't commented on this thread... I normally use common anode displays and 74hc595's, the storage keeps the led's lit..Sorry, MMcLaren your are right its the 4511 you need for common cathode applications, but apart from ABDEF there is really not much else you can display with a 7 segment, so 0-9 is usually enough!
If you don’t use a display driver IC and use a table lookup on a micro, you can also get HIJLOPSU...Sorry, MMcLaren your are right its the 4511 you need for common cathode applications, but apart from ABDEF there is really not much else you can display with a 7 segment, so 0-9 is usually enough!
Okay... Yes the resistor network may be needed as the P0 might be open collector.. The 74hc574 is also needed as the micro cannot give enough current to light the Led's… Have you selected the common cathode display's?...
I will say one thing... Multiplexing these modules on Proteus isn't pretty... You will have to edit the displays to operate quicker or you won't see anything. In the library there are bussed displays that will work far better.. I have done this but you have to turn the contrast down on the LCD screen to see the results.... If you intend to make these I would suggest a load and lock shift register for each display and load it serially..
Have you written some code? If so! Have you polled the display's or are you using a timer interrupt? Timing will be the issue.. It will be okay in the real world, but Proteus will be difficult...
by Aaron Carman
by Jake Hertz
by Duane Benson
by Jake Hertz