/ArduinoControlAudio

A python program that reacts to inputs from an arduino by changing the audio device/system volume on the pc through nircmd. The Arduino reads values from a distance sensor and a potentiometer.

Primary LanguagePython

ArduinoControlAudio

The main program is "ControlAudioDevice+Volume.py". It reads values from the serial input of an arduino and performs according actions through nircmd.

Incoming values are from an ultrasound distance sensor(0-500, distance in cm) or from a potentiometer(1000-1100, percent).

The distance read from the sensor controls the system audio device. The read values from the poti control the system volume.