Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird Noise and Flickering #1655

Open
IAteYourCookies opened this issue May 19, 2024 · 19 comments
Open

Weird Noise and Flickering #1655

IAteYourCookies opened this issue May 19, 2024 · 19 comments

Comments

@IAteYourCookies
Copy link

As in the title i am experiencing some weird noise that gets worse over time when i start the program.

How it looks:
https://youtu.be/2eZnr0oL_mg

You can see the Text creeping in from the right and then get overtaken by the noise.

The setup tutorial i used.
https://youtu.be/xSwoM3M24W8?si=GniFOo2iN2pi77WL

I also used this back in the day (like half a year ago) and it worked. But since, ive tried 5 times to get it to work, without success (5 complete reinstalls of Raspbian in 64 and 32 bit.).
The video i recorded is on a 32 bit legacy raspbian OS.

@davemaster
Copy link

davemaster commented May 19, 2024

Greetings,

1.The SAME using : $ sudo ./demo ...................... ??? (no python) readme

  1. In the example you quote, he's using a RPi 4, what RPi are You using?

imagen

  1. The panel you have, it's the same of the example project you quote? If not, try using a different --led-multiplexing= 1 .. 17 values types of panels

@IAteYourCookies
Copy link
Author

Here is me trying the demo: (also didn't work)
image
image

I am using a raspberry pi 4 with 4Gb ram.
And I am also using the same panel.
As said, I got it working half a year ago with the images displaying perfectly fine. But now I can't seem to get it to work again.

@davemaster
Copy link

Friend, YOU 'RE NOT using --led-multiplexing; NOT ALL the panels are manufactured by one company, there are a lot of them, use many values : --led-multiplexing=1, then --led-multiplexing=2, --led-multiplexing=3 , etc... I think know there are 18 or 19 compatible panels.... try again... and READ the README.md in the rpi-rgb-led-matrix github... it' s all there

@IAteYourCookies
Copy link
Author

Sadly I am using the same panel. This is my result without any multiplexing and you can see the panel clearly trying to show the text:
https://youtu.be/l-kISpJOLiQ?si=cGpfd_99H7YlC4Bj

Whenever I tried all the multiplexing options (I tried all 18) there would always be a pixel gap in the middle of the matrix like this:
image

And as I have already said twice: It used to run perfectly fine (with the exact same command)

@davemaster
Copy link

For this kind of problems, the BASIC solutions. Do this, if I am right, your interface is the adafruit- hat, right? STOP using that hat, and wire the rgb panel using this guide: wiring guide; doing that, we will discard as defected that adafruit-hat (could it happen).

Try that, and use --led-gpio-mapping="regular"; record a video an share the results

Best of luck

@IAteYourCookies
Copy link
Author

I have tried to follow the wiring guide, but it didn't really work.
(Showed absolutely nothing on the display)
I will try to do it again tomorrow.

@davemaster
Copy link

Try, remember, with --led-gpio-mapping = "regular", YOUR POWER SUPPLY, over 5 A (amperes) even a more powerful to be sure, also, the Rpi GPIo ports can be broke... the only way to test that, is with a project that turn on/off a led plugged into it, there are a lot online

@IAteYourCookies
Copy link
Author

I've now tried 4 times to get it to work with the manual cables.
I even flipped them to make sure I didn't do it wrong.
Only thing I saw were some very dim pixel lines when I flipped the wiring.

Else there is just a blank matrix.

image

@davemaster
Copy link

what power supply are You using here?

@IAteYourCookies
Copy link
Author

image

@davemaster
Copy link

davemaster commented May 21, 2024

Use another power supply, at least of 5A power

I use one of 10A, or also use an ATX PC Power supply for prototyping

Also, try using single cables, not coupled ones

imagen

@hzeller
Copy link
Owner

hzeller commented May 22, 2024

The artifacts look a bit like that GND is not connected between the Raspberry Pi and the Panel. Also it looks like the Panel is not properly powered at all, as the colors tend to be in the red range which indicates low voltage. Also the 'dim pixels' indicates that. This typically happens if the panel is only receiving parasitic power through the digital outputs from the Pi, but not from the power inlet on the back of the panel.

The supply wired to the power inlet of the panel (typically some sort of terminal in the center of the panel on the back) should be in the 5A or more range (5A ok for a single panel). Use proper cabeling (at least 0.75mm² per panel from your 5V power supply). The pictures indicate that there is no good power.

The power supply for the Raspberry Pi can be different (and typically is, as you power the pi via the USB). This makes it important that the Ground (minus) of both are connected properly, as the panel interprets the digital signal relative to that level. If you followed the wiring diagram, the GND connections are marked there.

Also, if you directly connect the Pi to the panel without signal level converters is also a likely that the panel has trouble interpreting the 3.3V digital signal on the 5V digital signal input. Reduce the data transmission speed by increasing the --led-slowdown-gpio value.

@IAteYourCookies
Copy link
Author

IAteYourCookies commented May 22, 2024

Can I assume that this wiring diagram for HUB75 is correct?
image
I want to use this wiring Diagramm since the one in the readme doesn't show the E pin and my matrix also doesn't show it.
In the photo of the readme the E pin is shown to be a Ground.

If yes then I would only have to hook up all the corresponding smiling emojis of the Pi to the correct pins on my matrix
image

I ordered some more wiring cables to directly hook up the pins without having to use 2 cables for one connection (then i can also skip the ribbon cable) and I will try it out again when I receive my order.

@davemaster
Copy link

NO, You don't understood,

imagen

the [1] in this repository wiring means the 1st chain of panels, [2] the 2nd, [3] the 3rd....

SO, only keep in mind, the order of the signals in a HUB75, then PAIR for 1 panel, all hose with [1] R1, [1] G1 .... etc

@IAteYourCookies
Copy link
Author

I was gonna do it like this anyways. The photo just happened to have some more info than needed.

@hzeller
Copy link
Owner

hzeller commented May 25, 2024

how do you power the panel now ? (the power connector typically in the center of the panel)

@IAteYourCookies
Copy link
Author

I got it to work! I manually wired everything up with just direct cables.

https://youtu.be/VJfSZU02kpg?si=0z3fkVQY3G3oLEXl

I am still using the 5V 3.3A PSU
as shown in my photo
(I had to twist it around in my power socket for some reason. The USB-C and the Plug have to be in this specific orientation for it to work. Idk why ... but it works now)
image

I'm using a USB-C to Barrel cable btw.(1 end is USB and other one is Barrel)

And I'm hooking it up to the power cable like this:
image

@hzeller
Copy link
Owner

hzeller commented May 25, 2024

For a single panel, 3.3A is probably sufficient. Bummer that the cable is unreliable ...

@davemaster
Copy link

Friend, I told You try with ANOTHER power supply, 5A or more... nominally the case of AC Adapter can say ANYTHING, but the REAL POWER could be LESS.. specially since all is manufactured in China...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants