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

Hearing a strange noise #23

Open
mopby opened this issue Jan 10, 2016 · 7 comments
Open

Hearing a strange noise #23

mopby opened this issue Jan 10, 2016 · 7 comments

Comments

@mopby
Copy link

mopby commented Jan 10, 2016

Hello,
thanks for your PiGlow Python Script :) Works like a charm.

I noticed a beep sound (like a high frequency humming) which gets stronger and louder as the brightness increases. Is it normal? Or is my PiGlow broken?

I deattached it and the sound was gone. Also, when i don't run anything so the led are off theres no noise.

BTW: Its a Raspberry Pi 2

Thanks in advance,
Manu

@electronicsguy
Copy link

I also hear that HF noise, with piglow on my Raspberry Pi B+. I don't know what the source is but my guess is its from the PWM used to control the LED brightness. People report a similar effect running LEDs with the Arduino: http://forum.arduino.cc/index.php?topic=272158.0

@mopby
Copy link
Author

mopby commented Jan 14, 2016

interestingly the sound disappears when using "node-piglow" with node.js
even dimming and max. brightness doesn't cause that hf noise

@electronicsguy
Copy link

How did you use it with node.js? Can you point to any references? Thanks.

@mopby
Copy link
Author

mopby commented Jan 29, 2016

I used the node-piglow from manuel ernst (link is at the official pimoroni site of piglow)

i got my piglow changed from the company i bougt but the strange hf noise continues

@electronicsguy
Copy link

Thanks for the link. wrt. the noise, its not a defect in the board per se, but an artefact of PWM. so the fact that it continues means both boards are working well :)

@electronicsguy
Copy link

@mopby FYI: here's a link which explains in detail, the source of the PWM induced noise: allaboutcircuits. "Piezoelectric effects" and "Magnetostriction". Enjoy :)

This discussion has some info as well: SE

@wisq
Copy link

wisq commented Aug 19, 2017

Came across this GH issue while discussing a similar noise with some colleagues. If it's of any use to illustrate this issue, here's a video I took of an "ISS Above" (http://www.issabove.com/) device lighting up its LEDs to indicate that the International Space Station is currently overhead: https://www.youtube.com/watch?v=mACahTYARTI

I have no idea if the ISS Above is using this particular Python script or not. While I've hacked mine for SSH access, I haven't looked deeply into its code; it's mainly sold as a complete hands-off product. So (for now) this is purely an informational addendum to this GH issue.

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