Rotary Encoder is now compatible with JustBoom sound cards

Rotary Encoder is now compatible with JustBoom sound cards

We have now made the Rotary Encoder compatible for the JustBoom sound cards. The volume change is made on the ALSA level and directly influences the Squeezelite Audio Player. With Max2Play, it is even possible to synchronize the volume control of the audio player Squeezelite with the Squeezebox Server. As usual, all necessary options are available in the latest version of the JustBoom plugin. You can implement the whole thing with our guide quite simply:

What you need:

  • a rotary encoder
  • 3 GPIO-pins
  • 3 cables of any length

Instructions

1

Step 1

First the rotary encorder must be mounted, as shown in the picture above. To do this you need to solder 3 pins, to the 3rd (GND), 8th (#23) and 9th (#24) points on the GPIO bar of the JustBoom sound card.
// For mounting on the Amp HAT, the pins have to be soldered a bit differently. Here you will find an overview of the Pinouts.
2

Step 2

After an update of our JustBoom plugin, which can be downloaded here, additional settings are available in the JustBoom tab. Click on „Install Rotary Encoder Software“ to install the software. After that, the system requires a reboot.
3

Step 3

After the restart, the Rotary Encoder is ready for use. By clicking on „Show Rotary Encoder Options“ you can view the current settings and customize them by adding the displayed parameters as desired. For example , to change the louder-quieter direction, simply change the „–gprorot=23,24“ parameter to „–gpiorot=24,23“.

Additional installation of a Play/Pause button for Squeezelite

1

Step 1

First the rotary encorder must be mounted, as shown in the picture. To do this you need to solder 5 pins, to the 3rd (GND), 8th (#23), 9th (#24), 10.(GND) und 11.(IR Rcv) points on the GPIO bar of the JustBoom sound card.
// For mounting on the Amp HAT, the pins have to be soldered a bit differently. Here you will find an overview of the Pinouts. The button needs to be soldered at (IR In) and (GND) of the U5 area.
2

Step 2

Follow step 2 and 3 of the basic instruction (see above).
If you are using an older version of Squeezelite, you need to update it in the Audioplayer tap to get support for the button.
3

Step 3

At least the following command line options must be added under Audioplayer > Squeezelite > advanced options: -o hw:CARD=sndrpijustboomd -V Digital -Q -X 25

Everything connected and integrated in the JustBoom case, the whole thing could look like this:

4 Comments

  1. Tarmo Thorström 7 Jahren ago

    So, is support for the rotary encoder coming for IQAudio’s PiDigiAmp+ too?

  2. PILET ARNAUD 6 Jahren ago

    Seems that Hifiberry amp2 does not use GPIO 23 & 24. Is this soundcard complient with the plugin ?
    Thanks

    • Heiner 6 Jahren ago

      Hi Pilet,

      This should work fine. We are currently working on an independent plugin for rotary encoders and IR control, but for the time being you can use the JustBoom plugin to activate the feature.

Leave a reply to Kolja Click here to cancel the reply

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

*