#Having issues with a 2nd display.

1 messages ยท Page 1 of 1 (latest)

main turtle
#

I'm using beta 10.4.0.1, Arduino MEGA 2560 pro.
I successfully installed one display (daisy chained MAX7219) showing HDG, FLC, ALT and several encoders. All encoders are working. Reading out values from MS2024 works (ALT, FLC, HDG, VS). I'm trying to add a 2nd display (MAX7219) to show the VS value but.... I'll try to explain.... I can repeat the issue several times. I'm reconnecting the board with USB (direct into PC), I start the connector and when all 3 turns green I hit run. The display works for few adjustments fine, sometimes showing not correct value but after a few try it turns off (non of the digits are showing anything). The display comes back alive if I unplug an run the program again, but only works for couple of adjustments...

Tried with other displays (working ones), tried with other cables (working ones), tried other D pins.....

Any idea guys?

There is no error in the log.

Thanks.

main turtle
#

daisy chained as a third display, tesing with number 1000 for digits 2-6

sweet island
#

if daisy chaining more than two max7219 chips the arduino cannot supply sufficient current. You need an external power supply.

#

wire the 5v line in parallel to each led display module.

main turtle
#

I know, I added external powersupply.

sweet island
#

read this
#1139182169063956523 message

#

max7219 are very sensitive to electrical noise.

#

you may need to add capacitors

main turtle
#

Two displays already working, no matter if I daisy chain up to a 3rd one or install as a separate one, won't work. If I use this display as an only display, won't work either.

sweet island
#

you have all three powered from an external power supply with the 5v wire in parallel to all three?

main turtle
#

yes

sweet island
#

the dout pin connects to the din pin of the next module in the chain. yes?

#

please show a diagram of how you have them wired.

main turtle
#

nothing special, as per the book

sweet island
main turtle
#

like this

sweet island
#

I can only suggest to add a 10uf electrolytic capacitor to each board across 5v and GND.

#

Most modules have an empty connector where this capacitor can be soldered

main turtle
#

Yes, correct, but as mentioned, If I use only that 3rd display, still doesn't work.

sweet island
#

your power supply has enough capacity for all three?

#

not that a huge amount is needed

main turtle
#

Yes, it's enough, more than enough, 2 work, 3rd alone doesn't.

sweet island
#

have you tried switching them around to verify that it is not the module that is damaged?

main turtle
#

Doing right now. I don't have another board at hand ๐Ÿ˜ฆ

#

i deleted the config, only using for the display, still problems with the test.

#

trying other pins

#

what are the odds that 2 displays out of 4 are bad?

sweet island
#

There are bad batches of these modules being sold. So it is very difficult to say

main turtle
#

I'll tinker with this tomorrow.

main turtle
#

issue solved, those 2 displays.... their main power source seem to be bad, I hooked up the power from the the other side, works very well....

#

So yes, not enought power ๐Ÿ™‚ You were right, thanks!

sweet island
#

There is a diode on all modules that should prevent you from powering the module from the reverse side. Did you take it off?

main turtle
#

nope.... made in china..... ๐Ÿ™‚

sweet island
#

Ok, I will tag this as Solved.