-
Notifications
You must be signed in to change notification settings - Fork 5
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
Noise from speaker instead of sending signals #5
Comments
It seems like a hardware issue, and I have no idea how to fix it using software. |
How to reproduce:
|
Maybe it will work if you try using a different GPIO. |
I found https://raspberrypi.stackexchange.com/questions/72696/how-to-configure-pigpiod-to-prevent-being-affected-by-aplay, there is no solution, but the mentioned command affects the speaker for it to produce constant interference. |
Good find, PiIR uses pigpio's wave function for IR transmission. If I remember correctly, this is accomplished using a DMA-like function. Maybe this is a problem that cannot be fundamentally fixed. But I think there is a slight chance to try to change the GPIO port. |
I switched from GPIO22 to GPIO24, same result unfortunately. |
piir play --gpio 22 --file "/home/pi/Infrarot/harmankardon.json" 'Off'
It worked quite well from the start, recording and playing back, great library. That being said, sometimes no codes are being sent but instead I hear a weird noise coming from the speakers plugged into the stereo jack of the pi as if the signals were routed to the speakers.
A reboot normally solves the issue. How do I solve it without reboot?
Raspi 1 B, Bullseye.
The text was updated successfully, but these errors were encountered: