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

Flickering LED panel #9

Open
tamkar1982 opened this issue Mar 5, 2021 · 5 comments
Open

Flickering LED panel #9

tamkar1982 opened this issue Mar 5, 2021 · 5 comments

Comments

@tamkar1982
Copy link

Sometimes the LED's are flickering, do you had that issue too?

@josephtyler
Copy link
Contributor

I haven't yet addressed that in this guide, but take a look at @ZLevine's NHL scoreboard guide for an example of how to fix the flicker: https://howchoo.com/pi/diy-raspberry-pi-nhl-scoreboard-led-panel#optional-anti-flicker-mod

@tamkar1982
Copy link
Author

I have soldered pin 4 and 18 together on the hat and now I have to change the --led-gpio-mapping settings.
From "adafruit-hat" to "adafruit-hat-pwm".
I tried to change it in the "frame.py" file.
Before self.args['led_gpio_mapping'] = kwargs.get('led_gpio_mapping', 'adafruit-hat')
After self.args['led_gpio_mapping'] = kwargs.get('led_gpio_mapping', 'adafruit-hat-pwm')
When I compose and restart the docker than nothing works!
The led are completely off
Do you have any suggestions how to pass the settings argument otherwise, or is there any other code to check when changing the --led-gpio-mapping settings?

@josephtyler
Copy link
Contributor

@ZLevine do you happen to remember when you built the scoreboard if there is anything that looks off here?

@docjfnoel
Copy link

Did anyone find a solution for the flickering problem?

@twingall1
Copy link

Did anyone find a solution for the flickering problem?

Yes, solved mine by following the above article: Soldered wire between pins 4 & 18 on the matrix bonnet.
Then editing frame.py to make these changes:
led-gpio-mapping=adafruit-hat-pwm
led-slowdown-gpio=2 (not sure if this one helped or not)

Then docker-compose up --build. No more flicker!

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

4 participants