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

Screen power supply emitting noise #11

Closed
max-circlefade opened this issue Nov 15, 2018 · 7 comments
Closed

Screen power supply emitting noise #11

max-circlefade opened this issue Nov 15, 2018 · 7 comments
Labels

Comments

@max-circlefade
Copy link

Hey everyone,

I managed to run the code to change screen brightness and every thing works fine.

However for low brightness values (<100) the screen power supply starts emitting some noise.
Any one knows why ?
Could it be related to brightness being the screen turning on et off quickly so the power supply becomes some kind of square signal ?

@WestleyK
Copy link

WestleyK commented Nov 16, 2018 via email

@max-circlefade
Copy link
Author

Hey,
Thanks for the quick answer. Yes I'm using the official touchscreen, with its dedicated power supply. Actually it is a cheap phone one so issue might be linked to that as well.

The fact it is in deed a PWM on off method explains half of the problem.

Is there a way to know the commutation frequency somewhere in the code ? If so I will run some calculations to see if freq could be less than 20kHZ for low brightness values.

@linusg
Copy link
Owner

linusg commented Nov 16, 2018

Hi guys,

I have pretty much no idea about the physics behind this, but I can forward this to the German Raspberry Pi forum and keep you updated.

@max-circlefade
Copy link
Author

Hey
Thanks that would be great :)
Now that I think about it the answer regarding the PWM freq should be defined in the touch screen firmware.. but it doesn't seem to be open source. Will also continue investigating on my side!

@WestleyK
Copy link

WestleyK commented Nov 16, 2018 via email

@WestleyK
Copy link

You can also try to turn off the backlight:

$ sudo bash -c "echo 1 > /sys/class/backlight/rpi_backlight/bl_power"

Then see if its still emitting that noise.

Make sure you are ssh into the pi, otherwise it will be hard to turn it back on ;)
echo 0 to turn it back on.

@linusg
Copy link
Owner

linusg commented Nov 16, 2018

Well, since this is the rpi-backlight repository you might as well use the Python API for turning the backlight off (which, frankly, uses the same command under the hood) 😂

Response from the forum so far: does it hapenn with another psu as well? Those from phones are made for charging and not stable voltage and usually not recommended.

@linusg linusg closed this as completed Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants