You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hi Josh,

    Yes, you could use the analogs to change the volume, but you'll need some extra components (like FETs). Realistically it's probably not the best way.

    You may be better off with a specially designed chip - see­-audio-volume-potentiometer-ds1807/ (or the manufacturer's page:­/index.mvp/id/2782)

    You can connect that up to Espruino with 2 wires, and then connect your left and right audio through it - I don't think you need any extra components apart from maybe 2 resistors for the I2C.

    As far as switching audio around, you could connect up some relays (we'll try and cover this in our documentation), or there are probably similar chips to the one above that handle switching multiple audio sources as well.

    Of course if you wanted to control your amplifier without wiring much up externally then you could always use servo motors to move knobs on the front panel (if it's old) or even make a fake IR remote control (if it's newer).


Avatar for Gordon @Gordon started