1

I'm using the pigpiod daemon and Python to output IR signals. I'm using raspbian jessie and rpi 3 model b gpio22 to output to leds.

After starting the daemon by sudo pigpiod, it works fine and outputs the signals to the IR leds. However, anytime after I play a wav file using aplay, the IR signals generated by the Python script gets outputted to audio out instead.

I saw this previous question similar to mine about gpio and audio playback. I tried using sudo pigpiod -t 0 to separate the two but it doesn't seem to work. Is there a way for pigpiod to not be affected by audio playback?

  • Which model of Raspberry Pi are you using ? Which GPIO pins are your IR leds connected to ? – CoderMike Sep 19 '17 at 11:44
  • Raspberry Pi 3 Model B. Output to GPIO22. Updated my post to include this info – kentwait Sep 19 '17 at 11:53
  • Are you playing your wav file through analogue audio (3.5mm socket) or hdmi audio ? – CoderMike Sep 19 '17 at 12:41
  • Through the 3.5mm jack – kentwait Sep 19 '17 at 14:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.