0

Does anyone know how can I control PAM8610 module volume through code from RPI?

Thanks.

  • What do you mean by "control"? AFAIK the only digital input on PAM8610 is "Mute". You can control that one with a GPIO. – Dmitry Grigoryev Jul 18 at 13:44
  • I was saying about volume increasing decreasing (Fading) etc. Only mute? :O – El_Dorado Jul 18 at 13:53
  • @El_Dorado, You can tap the PAM8610's digital volume pin out and use Rpi python to control volume using a DAC or digital pot. You might like to read my answer to the question of using the digital pot MCP4725, with demo code. ( raspberrypi.stackexchange.com/questions/83405/… ) – tlfong01 Jul 20 at 3:17
  • wohh...that is some deep ***. I first have to learn about that code and then try to replicate for PAM8610. Thanks, man. – El_Dorado Jul 20 at 5:21
  • @El_Dorado, I agree it is "deep". But you can go slowly step by step, from the "shallow" end: (1) Rpi python GPIO to blink a led, (2) Rpi python GPIO to read a button, (3) ADC, (4) DAC, (5) Well, you are almost there. I actually went through the above steps, from the shallow end, and now I am swimming happily at the "deep" end. It took me, with an IQ of 93, 500+ hobbyist hours. Of course you might not need that long. But no pain no gain! :) – tlfong01 Jul 21 at 1:23

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.