Using Arduino or NodeMCU and a rotary encoder to control volume levels on your PC.
git clone https://github.com/VayerMaking/volumecontroller
the schematic is taken from circuito.io
volumecontrol.sh
contains a bash script which can be ran on startup so the volume script is always running
volumecontrol.ino
contains the Arduino code which sends serial data from the sensor to the PC
volumecontrol.pde
contains the processing code which reads from the serial data from the Arduino/NodeMCU and simulates keypresses
Martin Vayer - VayerMaking