Hello,
Marco,
1.
You have 4 digits, made up of 8 segments each. A segment is one LED, a digit is made up of 8 LEDs.
This could just be a language problem, but have you connected these the right way?
Yep my wrong, you are right this is a 4 digit & 8 segment.
Yes i was.
Your circuit is for common cathode digits. Have you confirmed that the digits you have wired up are common cathode? You need to look at the part number and the data sheet for the part.
I checked sheets and this display is common anode ( to be sure i checked with multimeter - common anode), but then i downloaded right scheme & source code with library from this topic:MAX7219 and Common Anode displays with LedControl - LEDs and Multiplexing - Arduino Forum
How have you wired the interface to the Arduino, as per the sketch pinout? Would be a good idea to recheck that.
Yes i was... (as new sketch pinout)
But when i am checking the voltage between MAX7219 SEG & DIG pins it's look like the voltage is reverse. I mesure + 4V (to gnd) on DIG pin and 0,6V (to gnd) on SEG pin... Something is wrong...
I am using now this code:
#include "LedControl.h"
LedControl lc=LedControl(12,11,10,1,true); // lc is our object
// pin 12 is connected to the MAX7219 pin 1
// pin 11 is connected to the CLK pin 13
// pin 10 is connected to LOAD pin 12
// 1 as we are only using 1 MAX7219
// true since this is a common anode display setup
void setup() {
lc.shutdown(0,false); // turn off power saving, enables display
lc.setIntensity(0,5); // sets brightness (0~15 possible values)
lc.clearDisplay(0); // clear screen
}
void loop() {
// display 0-7, cascading on the 8 displays
for(int i=0; i<8; i++) {
lc.setDigit(0,i,i,false);
delay(250);
lc.clearDisplay(0);
}
}
And wiring is:
Wiring for Common anode display
MAX7219 | Display
DIG-0 | SEG-DP
DIG-1 | SEG-A
DIG-2 | SEG-B
... | ...
DIG-7 | SEG-G
SEG-DP | Anode of Digit 0
SEG-A | Anode of Digit 1
... | ...
SEG-G | Anode of Digit 7
Any ideas guys?
Do you have a simple source code to check that driver?