Hello everyone,
I am trying to build a small headphone amplifier based on the TPA6130A2. It has I2C control pins on it so I thought maybe it would be cool to have buttons to control the volume. For example like the ones on your tv remote or phone. Any ideas on how this can be done? I was thinking possibly a digital potentiometer IC but those are only for the twisting knobs and I'm looking more specifically for button control. Any suggestions/thoughts would be greatly appreciated. Cheers guys.
I am trying to build a small headphone amplifier based on the TPA6130A2. It has I2C control pins on it so I thought maybe it would be cool to have buttons to control the volume. For example like the ones on your tv remote or phone. Any ideas on how this can be done? I was thinking possibly a digital potentiometer IC but those are only for the twisting knobs and I'm looking more specifically for button control. Any suggestions/thoughts would be greatly appreciated. Cheers guys.
Use a small microcontroller. The TPA6130A2 contains a digital potentiometer thats selected by register 2 of the I2C interface.