I have a 1X4 MAX7219 LED display with a ATMEGA2560. The pins are connected as:

MAX7219 PinATMEGA2560 Pin
DIN28
CLK5
CS27

My Config file:

[Output]
N5.0    OAT_Volts_Disp

[Devices]
N5.0 D=0 B=1,10 b=0

However, the display outputs nothing. I can confirm the display works as I tested with simple Arduino sketch. Any help is appreciated.

ago in Supported Devices by

2 Answers

0 votes
O Pino para o CLK na matrix de leds é do 30 ao 35.
ago by
0

Thanks. Changing the pin to 30 I now get this:

[Output]
N30     OAT_Volts_Disp

[Devices]
N30 D=0 B=1,10 b=0

I think it might be my display causing this new issue. In my arduino sketch I had to use a library called Parola to get it working. Perhaps I need another display. Also, where can I find a master layout of reserved pin (e.g. 30 to 35 etc...)?

Again, thanks for the help.

0
Have you tried assigning the display to another instrument as a test, e.g. the Transponder? Just a thought, since the OAT/Volts is a multi-function display for Outside Air temp and Battery voltage, therefore needs a switch to toggle between the two options.It may not even be a supported  instrument in some aircraft.
0
PhillyNJ, on further investigation, I don't think this type of matrix display is supported by SimVimCockpit. From what I can see, only 7-segment displays can be configured in conjunction with the Max7219 chip. Vlad/Roman, please correct me if I am mistaken.
0
Thanks - I think you are correct. I have another MAX7219 on order and I will post back my results.
0

Confirmed. The new MAX7219 works great. 

0 votes
Do you have external power ?? this circuit need high intensity current.
ago by
...