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.
That was what I had in mind when I said "I wonder what kind of project requires five mcu."
You only need one mcu to do your circuit , you can use one shift register 74HC595 to drive the display segments in parallel and multiplex them (light one at a time switching in a fast rate).
You can also use one shift register per display if you wish to drive then constantly.
I think you'll find a tutorial like this useful **broken link removed**
Ooh! thank you i get the concept now, so If i use fast rate I can be able to display many digits for any duration until the proceeding digit(s) updates right?
unfortunately I have little time, because this is my
Design project subject and is due next week So i'll stick to what i have done so far!!!
Consider it like having two processes, one is the clock counter which is a high priority usually using an interrupt and the second one is the display routine that constantly refreshes the display is a rate about 50-100 times /display to avoid flicker.
I don't use pic so I can't do much for the code but basically you have to connect all display digit lines in parallel (all A, all B...) to the shift register (74HC595) and four transistors that each controls the common supply of one display.
Depending on the display current you may need to use a device that can provide more current between the shift register and display digit lines, for example ULN2003
suppose that you want to show 1234
turn off everything
send data for 1 to the shift register
turn on display 1
small delay
turn off everything
send data for 2 to the shift register
turn on display 2
small delay
turn off everything
send data for 3 to the shift register
turn on display 3
small delay
turn off everything
send data for 4 to the shift register
turn on display 4
small delay
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.