I am running out of digital pins on my arduino, and I was wondering if it was possible to hook up a MAX7219CNG to a 5461BS-1? It's a 7-segment display with 4 digits. Can you show me how to connect it(if possible) and how to turn on and off the lights on the display. I am pretty new in arduino.
I am pretty new in arduino.
OK so what you do when faced with this sort of thing is to download the data sheet. There you will find out how to wire seven segment displays to this chip.
As to the software then google the words:-
Arduino MAX7219 libiary
To find out about the software.
A MAX7219 can handle up to 8 digits. But the display has to be common cathode.
What is yours?
INTP:
A MAX7219 can handle up to 8 digits. But the display has to be common cathode.
What is yours?
I don't know. But I found this picture somewhere, and it is the same model.
It shows all the pins.
That doesn't answer the question. You can't tell by looking at it. You have to have the right datasheet or be able to test it yourself. Do you have a multimeter?
You can test it yourself with a 1K resistor and a 5V power supply.
TOP-CA-5461BS is common anode. It can work with max7219 but it will not be straight forward as with a common cathode display.
Because the display is common anode, you will not be able to use the setDigit() or setChar() methods of the LedControl library. But you can use the setColumn() method if you provide your own bit-patterns for digits 0 to 9.
Better option is to just buy a 4 or 8 digit module with MAX7219.