smartbutnot / flightportal

Project for displaying the details of planes overhead on an Adafruit MatrixPortal and LED matrix
267 stars 25 forks source link

Off-colored pixels in first few rows #10

Closed felker closed 1 year ago

felker commented 1 year ago

Thanks so much for making this project public!

Just wondering if you have ever seen the following phenomenon before: when a flight appears and the screen is updating, some pixels in the first few rows deviate from the intended white color and flicker green and red. I assume it is a problem with a connection or my LED panel from AliExpress, but thought I would ping you to check if you might have an idea before I replace the panel. Cheers!

IMG_5872

smartbutnot commented 1 year ago

Definitely something to do with hardware (I'm sure you have, but check your connections). I guess if you used the rotate variable in the code you could check that it's always the same pixels regardless of what the board is doing...

felker commented 1 year ago

I tried it on a spare panel (both from https://www.aliexpress.us/item/3256804589638597.html ?) and had similar, but not identical, behavior. The photo looks a bit different since there is no diffuser panel on the spare LED matrix.

IMG_5893

For the original panel:

Will play around with the rotation and scroll speed variables and report back.

felker commented 1 year ago

Replaced USB-C power input brick and uninstalled/reinstalled Matrix Portal and forked terminal power connectors, and the flickering in the first 3 rows got worse. Also seeing flickering in row 8 now... stumped

felker commented 1 year ago

This is what it looks like with rotation set to 180; the flashing/ghosting and/or static off-colored pixels have definitely moved from the top left to the center/top-right. The degree to which it happens is somewhat variable.

https://user-images.githubusercontent.com/1410981/222661278-222c6fec-d257-4365-8bb6-a482f6480948.MOV

IMG_5919

smartbutnot commented 1 year ago

That second picture looks like you have ghosting of some of the pixels from the row below, shifted 8 pixels up. Can't really say what would cause it, I've had similar things happen with bad connections on other hardware in the past, but there's not much to go wrong between the matrixportal and the socket...