Parasitic powering

I want to experiment with a MAX7219 LED matrix driven by an UNO. Since the display could well have all LEDs on at once I plan to run it off of an external PS so I don't kill the UNO board - or underpower the display.  I have one of those add-on breadboard power supplies for this purpose.

I've done some searching on this parasitic power issue and haven't found anything definitive, to me, as to how to deal with this.

Referring to the schematic, is putting resistors in the LOAD/CLK/DIN lines enough?  Something else?

What is the voltage to the barrel jack ?

That is a common approach, and will certainly help. 1K to 10K are often used. The higher the resistance, the better electrical safety, but decreased performance at high signal bit rates.

1 Like

Never going to happen with a LED matrix chip.
You might see all LEDs on, but only 1/8th of the LEDs is on at a given time.

Don't use resistors in series with the LEDs. That chip has internal LED current regulation.
You can reduce overall current with the a single resistor on the Iset pin (see datasheet).

From memory..., the chip will never draw more than 200mA with all LEDs on, so no problem to power it from the 5volt pin of the Arduino on USB supply.
Leo..

2 Likes

Barrel jack at 9VDC

OK. Thank you.  I'll do some fiddling with SPI clock speed vs. resistance.

That's good to know.   I do have two more modules I'd like to add at some point so the draw on the UNO supply will increase.

The Arduino Uno switches automatically between the power from the USB and the power from the barrel jack (the barrel jack on the Arduino Uno).

I prefer to use 7.5V if you want to use the barrel jack on the Uno board.
Many will say that a 5V power supply for the whole project is even better.

I hope that you are not using a 9V battery.

Alas.

But, it's just a stopgap to get the display up and running - it's got a few amp/minutes left in it.

The problem is easily solved by turning on the UNO first then the MAX7219 and when you are done then turning off the MAX7219 first then the UNO

A 9V battery can not give power to leds.
Using a AMS1117 to create 5V for led from a 9V battery is not a good idea.

Your question is about parasitic powering, but that problem disappears with a normal circuit.

I went with this for the single module and it's working.  I've ordered a double male USB cable so when two additional displays are added all three and the UNO can power up/down together.

9V batt., goodbye.

Duly noted.

The resistors in the three SPI lines are still required, no?

I'm sorry I said the backwards.
When you turn everything on, turn on the MAX7219 first then the Arduino.
When you turn everything off, then turn the Arduino off first then the MAX7219.

Since the MAX7219 connections to the Arduino are all inputs, they won't source current back to the Arduino, so it's safe to turn it on first and off last.
You don't need the resistors if you do it this way.

The resistors will slow down the rise and fall times of the signals. This may become an issue at high clock (CLK) frequencies causing it to stop working.

Thank you.

You are welcome
Have a nice day!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.