If you have checked out my previous post, you know I want to create a clock radio powered by the Raspberry Pi with the audio coming out of a JustBoom AMP Zero pHAT. One of the things that I thought would be quite handy (probably necessary) would be volume control. Ideally that would be some kind of hardware rotation controller, but looking around online on how one might control the JustBoom amp with a rotary encoder really only brought back results regarding full OS solutions such as Moode Audio.
As it turns out, controlling the volume for the JustBoom when using just Raspbian is actually pretty simple.
Continue reading “Rotary volume control for the Raspberry Pi”