Hello, this is my first time dealing with electronics and my led matrix just arrived. I got it running but there are artifacts on the last few pixels.
The matrix somehow also stays on without power as seen at the end.
I followed the original wiring guide and I'm pretty sure I got it connected properly. esp32 is powered by my PC and the matrix is powered by the PSU in the video (RND LAB DC POWER SUPPLY 320-KD3005D)
the esp32 (NodeMCU-32S) is currently plugged into my pc via USB-C for power.
Here is a list of the pins I have connected:
Additionally, GND (Matrix) with GND (esp32).
I have configured (software) and connected (physically) `E_PIN_DEFAULT` to 18. It doesn’t say what pin to use so I used the most convenient one.
I have just verified that every single pin connection matches with what I posted above.
The guide only connects one of the GND pins to the esp32. I tried connecting both which caused the matrix not to turn on and only draw the idle current.
The weird thing is that the esp32 seems to be contributing power to the matrix trough the data pins? When the PSU is off and the ESP is on, only red pixels show up and they are dim, but visible and controllable, so its not residual power. It even happens when the PSU was off for hours. I’m scared to turn on the panel for too long as this feels wrong and I want to avoid damaging the components since they are expensive for me
Correction: B is at 19 as in the code above, not as shown in the image. Im tired, its 2 am.
The datasheet of the Matrix is needed.
What is the device labelled HUB75?
If connecting the Gnd causes the panel to not work that might be a big clue.
Good luck. I doubt I can help further given what is known.
HUB75 is not a "device", just is a common type of the led matrix 16pin connector.
A weak voltage penetrates from the signal pins of the ESP32 and lights the LEDs with the lowest forward voltage - the red ones. This weak supply is no longer enough to turn on the green and blue pixels. This is absolutely normal for such matrices, I have observed this more than once.
In general, all your pictures indicate that you have everything connected correctly and the panel is compatible with the specified library.
@swarkin you don't have everything connected correctly when you have the PSU disconnected but the ESP32 connected. This is called "phantom powering" and is bad for both the ESP and the driver chips on the display. Don't do it!
In this case, do you think the Matrix itself might be damaged? Theres no other reason I can think of on why the last pixels on this panel behave this weirdly like in the image.
Im gonna write an email to waveshare support and ask them whether this is a defect and whether it can be replaced/refunded.
This was only because I was power cycling the matrix to try out a new program and I am not going to run it without an external PSU.
Just to verify, when everything is on and running (PSU, Matrix, ESP32, etc..) then this isnt a problem, right? Only when the external PSU turns off for whatever reason its bad?
Or does this “Phantom powering” also happen with the external PSU and I just dont see it?
If any chip which is not powered is receiving a signal on one of its other pins from an external circuit that is powered, phantom powering can occur. It's bad for 2 reasons:
The ESP's data pins can only supply a few milliamps. If more than that flows, they can be damaged. Powering all those LEDs, even if it is only the red LEDs and they are only shining dimly, takes more power than is safe for the ESP's data pins to source.
Phantom powering is possible because all chips have ESD protection diodes built-in. Without them, they would probably be destroyed by static before they ever got used. But the side-effect of having those diodes is that if a chip isn't connected to a power supply, but one of its other pins is connected to a circuit that is powered, current will flow from that pin to the chip's power pin, powering it. The ESD diodes are not designed for that purpose, and this can damage the whole chip.
No, it doesn't happen because when the PSU is on, the voltage at the chip's power pin is the same or higher than the signal from the external circuit, so no current flows through the ESD diodes.
While this might be possible, the issue with the last half row of pixels being washed out / dimmed still remains (same area where the black pixels were showing up), even when just displaying static white at any brightness level.
The glitchy pixels seem to only happen when many different colors are being displayed. Static image or not doesnt matter
I have contacted waveshare support and after a few round trips it turned out that their connection diagram was wrong.
On top of that, the library they use has changed default pin configurations as well.
For anyone with the same problem, you must use the version on Github instead of the waveshare website, and make sure to configure pin E to something valid, as well as connect both GND pins, even though this is not shown in the wiki. Don’t follow the example code.
The other issue that I mentioned in the title seems to be “Phantom powering”: