Hi all ! I want to use this audio amplifier to control volume dynamicaly.
Is mrl can already handle it or this hardware need to be borged ?

https://learn.adafruit.com/adafruit-20w-stereo-audio-amplifier-class-d-…

calamity

7 years 10 months ago

The i2c communication is all setup in MRL, but I think you need a service to use it. The service will be very simple cause it have only one control. 

Hi Moz4r

The max8744 is very similar to the Pcf8574 in that you only need to write the address and a single byte to it.

So I added the max8744 addresses to the dropdownlist of the Pcf8574, and now it can be used to control the volume.

Example script here: 

https://github.com/MyRobotLab/pyrobotlab/blob/master/home/Mats/Max9744…

Download the 1970 version and it should be worky.

If you want to run it on the PI just change to use the RasPi service instead. ( No connect needed )