I'm planning to use MAX7219 drivers in matrix mode to light several indicators and backlight LEDs.  I started looking around for documentation on how the addresses/indexes in SimVim translate into segment and digit driver pairs.  In other words, if I turn on index 7 from SimVim, which segment pin and digit pin on the MAX7219 does this enable.  I built the following map by turning on a single matrix index in SimVim, noting which of the 8x8 LEDs lit up, and mapping that LED to segment/driver pins using a multimeter:

D7 D6 D5 D4 D3 D2 D1 D0
DP 7 15 23 31 39 47 55 63
A 0 8 16 24 32 40 48 56
B 1 9 17 25 33 41 49 57
C 2 10 18 26 34 42 50 58
D 3 11 19 27 35 43 51 59
E 4 12 20 28 36 44 52 60
F 5 13 21 29 37 45 53 61
G 6 14 22 30 38 46 54 62

Does this map look correct?  I had to retest several times, because I was not expecting index 0 to be on the 2nd row of the LED matrix.  However, this appears to be how the module works.  I'm trying to make sure that I pick indexes which all align with a single digit driver.  I don't want to run multiple cathode connections to the same LED group because I picked the wrong index.



3 weeks ago in LEDs, Digital Output by

1 Answer

Hi mike and community,
these are my results from the digits segments / dot matrix
check the table and compare it with the pictures.
Milton Rodriguez





3 weeks ago by

Hi Mike.
Where the address 0x0 = DP digit, 0
Where 8x8 = 63, segnent G, digit D7 (crazy truth)
Please tell us in what way is your point of view of the Matrix, I have not used the Matrix in SimVim, it may be that the order is different from that shown in my pictures. I hope I am not wrong ..

Milton Rodriguez.


  Hi Milton,

I see why we are having difficulty comparing our setup.  My module is exactly the opposite of yours, given the same orientation (see picture below).  Also, I have been referring to SimVim index numbers, where as you have been referring to locations on the LED matrix.  In the image below, the blue numbers represent SimVim index numbers.


The yellow index 41 is the LED that lights up when I configure SimVim like this and press the MKR button in XPlane:

[Output] L30.41 Audio_MKR_On 

Below is the result when I hook up the matrix and 7-segment to SimVim and press the MKR button.  SimVim index 41 lights on the matrix, and D2, SEGB lights on the 7-segment display.  At least for my purposes, I'm trying to figure out why the indexes for segment DP are out of order. If I wire my project with the way SimVim maps this today, I'm afraid it might change in the future.




Hi Mike, this is the SimVim matrix, it is completely different from the one I have in my workshop, you have to be guided by this model, the adjustment for a better understanding.


Edited; sorry, I've never posted pictures here before.



there is no coincidence in any of the MATRIX electrical maps, you have tried to turn lit on a "DP" to know what its position is and to be able to locate us in the Matrix  to make a table of the truth of the LEDs.