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

problems with panels bought in 2018 december #53

Closed
fotosettore opened this issue Dec 24, 2018 · 176 comments
Closed

problems with panels bought in 2018 december #53

fotosettore opened this issue Dec 24, 2018 · 176 comments

Comments

@fotosettore
Copy link

fotosettore commented Dec 24, 2018

hi
it seems something wrong in "new" panels 64x32
i bought first series of panels from a seller and no one works fine : random pixel on - no images - no text.
pattern test and pixeltime both not working.
i made about 10 building changing cables, panels, d1.mini and nodemcu.
i changed all possibily software setup (zigzag, line, 1/16 etc etc) . no luck
i think that new panel series, after 2018 october, changed in something, so them do not work with the available (oct 2018) pxmatrix library.
i sent a my panels to a user that has a panel that works fine and confirm to me than they do no work.
i saw other users complain about the same problem.
today were delivered panels form other seller : same problem.
any help ?

@2dom
Copy link
Owner

2dom commented Dec 28, 2018

Have you ensured that there is a proper ground connection between ESP and panel? It may also be a timing issue..

@fotosettore
Copy link
Author

fotosettore commented Dec 28, 2018

yes, i had.
anyhow the ground between power supply of panel and all ground pins of all connector are electrically connected together. so I do not think that's the problem. however i tried to connect ground of power supply to ground of nodemcu. same problem.
the same sketch works fine on 64x64 panels. there are same wiring connection.
please note i'm not only maker that complain about this problem : all last messages of last makers.
the makers before october does not have this trouble.
really very strange.

p.s. i removed some flickering problems using a prototype pcboard made with my cnc. this means that wiring connection must be as short as possible.
img-20181228-wa0085
img-20181228-wa0087

@2dom
Copy link
Owner

2dom commented Dec 28, 2018

you could try reducing the SPI speed in the library...

@fotosettore
Copy link
Author

SPI.setFrequency(20000000);
this one ?

@2dom
Copy link
Owner

2dom commented Dec 28, 2018

yes ... that's the one. The 20 MHz might be too much...

@fotosettore
Copy link
Author

fotosettore commented Dec 28, 2018

I will try and i will let you know. now I do not have the 32 panel at hand.
many thanks for your support.

@fotosettore
Copy link
Author

fotosettore commented Dec 28, 2018

tried
SPI.setFrequency(20000000)
SPI.setFrequency(2000000)
SPI.setFrequency(10000000)
SPI.setFrequency(1000000)
SPI.setFrequency(100000)
SPI.setFrequency(40000000)
SPI.setFrequency(4000000)

unlucky tests.
in SPI.setFrequency(1000000) brightness is low
tried more than one 64x32

tried on 64x64 ... all works fine

@houk001
Copy link

houk001 commented Dec 29, 2018

I have the same problem with panels 64x32 ordered 11 dec from sryled display
https://www.aliexpress.com/item/P3-RGB-pixel-panel-HD-display-64x32-dot-matrix-p3-smd-rgb-led-module/32728985432.html
2 panels 3 nodemcu, 2 power supplies all the same, even pattern test not work as expected.

@fotosettore
Copy link
Author

this is a half confirm that something changed in new panels :-(

@2dom
Copy link
Owner

2dom commented Dec 29, 2018

Ok ... could you upload a picture how it looks like?

@fotosettore
Copy link
Author

fotosettore commented Dec 29, 2018

this is my "effect"
but is random, because sometimes only some lines of led are present.
20181229_225128

@2dom
Copy link
Owner

2dom commented Dec 29, 2018

what is it supposed to show?

@fotosettore
Copy link
Author

fotosettore commented Dec 29, 2018

sorry ... pixeltime.ino

@2dom
Copy link
Owner

2dom commented Dec 29, 2018

which part? The weather icons and the color bars?

@houk001
Copy link

houk001 commented Dec 29, 2018 via email

@fotosettore
Copy link
Author

i take the sketch pixeltime as is,
i changed only
PxMATRIX display(64,32,P_LAT, P_OE,P_A,P_B,P_C,P_D,P_E);
and
display.begin(16);

@2dom
Copy link
Owner

2dom commented Dec 29, 2018

Could you generate a video with the pattern test?

@fotosettore
Copy link
Author

fotosettore commented Dec 29, 2018

this is the pattern_test.ino with same needed changes
also here all is random ... sometimes different colors and pixel light

20181229_230406

@2dom
Copy link
Owner

2dom commented Dec 29, 2018

I need a video with one full cycle - red,yellow, white

@fotosettore
Copy link
Author

i make video but NO CIRCLE ... all pixels are stopped

@fotosettore
Copy link
Author

in ten minutes i make a video with 64x64 e 64x32.

@houk001
Copy link

houk001 commented Dec 29, 2018 via email

@fotosettore
Copy link
Author

@houk001
Copy link

houk001 commented Dec 29, 2018 via email

@houk001
Copy link

houk001 commented Dec 29, 2018 via email

@2dom
Copy link
Owner

2dom commented Dec 29, 2018

@fotosettore ok thanks ... that does not make much sense.

Just a wild guess that either the latch or the output enable signal hast changed from activt low to active high or vice versa. Lets start with OE - could you try running the pattern test and modifying the latch function to this?

void PxMATRIX::latch(uint16_t show_time )
{
  
  digitalWrite(_LATCH_PIN,HIGH);
  digitalWrite(_LATCH_PIN,LOW);
  
  digitalWrite(_OE_PIN,HIGH); 
  delayMicroseconds(show_time);
  digitalWrite(_OE_PIN,LOW);
}

@fotosettore
Copy link
Author

of course ... i try in few minutes

@houk001
Copy link

houk001 commented Dec 29, 2018

New video uploaded to cloud after change in latch function of course

@2dom
Copy link
Owner

2dom commented Dec 29, 2018

@houk001 sorry ... cannot watch your videos ... loading forever :(

@fotosettore
Copy link
Author

more lines of led on but does not works
do you need a pic ?

@2dom
Copy link
Owner

2dom commented Jan 27, 2019

@DaveDavenport any news regarding the RPI code ?

@DaveDavenport
Copy link

@2dom did a quick test, did not work out, haven't had time to continue to play with it.

@DaveDavenport
Copy link

@dom I am very busy atm, I hope to have some time in 2 weeks ago. I have several cleanup patches (speed up the writeRegister and fix some other stuff).

@2dom
Copy link
Owner

2dom commented Jan 28, 2019

@DaveDavenport ... No problem ... I'm rather busy myself. Whenever you find the time - thanks!

@DaveDavenport
Copy link

Got new panel in today, it works correctly with the old code 😄

@abricier
Copy link

Hi,
I bought a panel after/during the "FM62126A Gate" and got a model using the 'chipon' chip instead of the FM62126 or FM62126A and after the 10th of january. So I was wondering, @DaveDavenport, if your last test with your newest panel was on a FM62126 or on a 'chipon' version.

For future reference, here is the message for the seller (2019/01/14):
"Hello friend, we don't sell FM chip now, we use chipone 2037chip, it can work with asynchronous card."

@DaveDavenport
Copy link

I think it is a chipone chip. Seems to work ok.

@DaveDavenport
Copy link

Ugh this is frustrating.. 2 out of 3 panels arrived damaged.
This is the last shipment. :( sometimes I hate the post office.
pr3-4

@2dom
Copy link
Owner

2dom commented Feb 21, 2019

That sucks ... how do they manage to do that? Mine usually come in 5 tonnes of bubble wrap.
Did you have time to look into the code again?

@DaveDavenport
Copy link

throwing around in post I guess. I managed to fix it for now.

I am waiting for 2 china packages, then I will continue again.

@bobdavis321
Copy link

Here is the code to fix the newer panels with an Arduino: http://bobdavis321.blogspot.com/2019/02/p3-64x32-hub75e-led-matrix-panels-with.html

@IAmOrion
Copy link

IAmOrion commented Apr 12, 2019

Hi There,

I purchased a 64x32 panel off Amazon.co.uk the other day - and after hours of research I came across this post, and mine is indeed the FM6126A variety!

I finally managed to get it to work... (I was originally going to post saying it's still not working for me, but my 10A power supply was actually outputting 5.20 volts from when I had previously used it on my Pi (to get rid of the lightning bolt icon that appears)) and apparently, the extra voltage screws up the clock or something. Only when I dialled it in to 5v exactly did it finally work!

That being said, I still have an issue, and wanted to ask if anyone knew if this was a fault with the display or if I need an additional step in my code. Here is my results of displaying a picture (It's easier to see the problem this way):

IMG_0154

The top left quarter is not as bright as the rest of the display :(

Have I missed a step out code wise, of is this potentially a defective matrix?

Kind regards

@bobdavis321
Copy link

That one panel is not properly reset.

@IAmOrion
Copy link

IAmOrion commented Apr 12, 2019

That one panel is not properly reset.

How do I ensure it resets properly. When I looked at this again this morning, when I first powered it up, the pixel area had "Changed location"..... in other words, the dim area seen in the pic were now bright and correct, and instead a different area was dim. Nothing changed, I didn't change or reupload code, I simply plugged it back in to look again and noticed different parts weren't working this time.

These new FM6126A based ones seem to be a real PITA :(

@bobdavis321
Copy link

Check your grounds, you might have too much current resulting is a voltage loss and data not being sent properly. Also I hope you have at least two power supplies capable of 10 amps to run that many panels.

@IAmOrion
Copy link

IAmOrion commented Apr 12, 2019

Check your grounds, you might have too much current resulting is a voltage loss and data not being sent properly. Also I hope you have at least two power supplies capable of 10 amps to run that many panels.

I've already checked my grounds, they're fine (so far as I can tell). Voltage is still 5.0v even when all powered up, so the power supply is doing its job (as in, it's not dropping to like 4.5v, it's regulating a steady 5v consistently). Power Supply is a single 5v 10a supply.

Also, it's just one panel - it's a single "64x32" panel.

@Robiv8
Copy link

Robiv8 commented Apr 17, 2019

@IAmOrion
Can you please send me the Sketch what you used.
Thanks

@bobdavis321
Copy link

bobdavis321 commented Apr 17, 2019 via email

@IAmOrion
Copy link

@IAmOrion
Can you please send me the Sketch what you used.
Thanks

@Robiv8 Attached

32x64_LED_Matrix_Demo.zip

@Robiv8
Copy link

Robiv8 commented Apr 17, 2019

Thank you bobdavis and also IAmOrion

@Robiv8
Copy link

Robiv8 commented Apr 18, 2019

Thank you Thank you Thank you This is GREAT :-)
IMG_3163

@fotosettore
Copy link
Author

the command display.setBrightness seems not working in the example "32x64_LED_Matrix_Demo.zip"

@IAmOrion
Copy link

IAmOrion commented Apr 24, 2019

the command display.setBrightness seems not working in the example "32x64_LED_Matrix_Demo.zip"

My sketch doesn't even have display.setBrightness in it!! Can you screenshot your error please?

Also, are you using the PxMatrix library downloaded here (via Github)? The one in the IDE is outdated (or it was last week at least, as the setDriverChip function is/was not in the library downloaded via the IDE, but it IS in this version hosted on github

@fotosettore
Copy link
Author

no error ... simply it does not work !
display.setBrightness(10) or display.setBrightness(255) has no effect.
in the "normal" panels (not FM6126A) the command works fine.
The library was download here

@IAmOrion
Copy link

no error ... simply it does not work !
display.setBrightness(10) or display.setBrightness(255) has no effect.
in the "normal" panels (not FM6126A) the command works fine.
The library was download here

I'm still confused - You're talking about the zip file I uploaded in this post (#53 (comment)) right?

That's specifically for the FM6126A - although to be honest, you only really need to comment out this line: display.setDriverChip(FM6126A); and it should work for any.

I have to repeat though - no where in my Sketch do I use "display.setBrightness" - but it is apart of the PxMatrix.h file in the library:

// Set the brightness of the panels
inline void setBrightness(uint8_t brightness);

Since my demo sketch does NOT use display.setBrightness anywhere - I have to ask again, where you are seeing this? - Or do you mean, you have ADDED some code to my demo/example, and YOU added the setBrightness, but it's not having any effect?? If that's the case, you should perhaps open a new Issue with the PxMatrix library itself as it's nothing to do with my code

@fotosettore
Copy link
Author

fotosettore commented Apr 24, 2019

i downloaded your example of #53 and it works fine togheter FM6126A and ICN2037
in ICN, if i put command display.setBrightness it works fine
in FM does not work
the library is the same. i changed only panel
display.setBrightness is inside pxmatrix of domenic
asap i will post a example video

@IAmOrion
Copy link

i downloaded your example of #53 and it works fine togheter FM6126A and ICN2037
in ICN, if i put command display.setBrightness it works fine
in FM does not work
the library is the same. i changed only panel
display.setBrightness is inside pxmatrix of domenic
asap i will post a example video

Right, Now I understand - you'll need to create a new issue and query the creator of PxMatrix - I assume it's something to do with the FM6126A chips that perhaps doesn't use the setBrightness function.

@2dom
Copy link
Owner

2dom commented Oct 20, 2019

Use ESP32 for best results with these panels and set display.setDriverChip(FM6124);

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