1 Attachment(s)
Using a MAX7219 (LED digit multiplexer) with a 16F88
Hello,
I have some trouble making a 5 digit LED display working.
The display is driven by a MAX7219 multiplexer. My PIC16F88 pilots (well, it should...) the MAX7219.
The actual status is: when I powerup the circuit, the LED display shows up some digits and nothing more. The program should make the display count up from 00000 to 65535.
Before I invastigate the program, I think I may have a timing problem.
Can somebody tell my if, according to the MAX7219's datasheet (I have attached an extract), I need to set 10MHz clock frequency on the PIC yes or no?
If yes, can I do it with my 16F88 and how?
You're absolutely right...
I already thought about using my PIC to pilot the display. Isn't the MAX7219 a kind of µc itself, after all?
But, due to my poor knowledge, I have problems to understand how I would do the MAX job's directly myself since I don't clearly understand how it exactly does the job; I just assume how it works.
I have drawn the LED display matrix and then I noticed that I would have to adress each Digit (not segment) one by one and then display it for a very short period of time (maybe ns) and then adress the next Digit and so on.
If this is correct, yes, I should do it with my PIC ("don't let others do what you can do yourself if you can do it at least as good as the other one"). This means, I'm ready to do all with my PIC if somebody can confirm my assumings.
And NO, I paid CHF 16,25 (around $13.-) for my MAX7219. Sometimes people do silly things; I do often... Sorry.