Mopidy extension for in-car RPi and GPIO.
Mopidy extension for in-car RPi and GPIO. Utilizes the MCP3008 ADC chip for analog input.
This extension requires Mopidy to be run as root in order to access /dev/mem.
Install by running:
pip install Mopidy-CarPi
Before starting Mopidy, you must add configuration for Mopidy-CarPi to your Mopidy configuration file:
[carpi] enabled = true adc_chan_vol = 0 # Volume potentiometer channel on ADC. deadzone_vol_lo = 0 # Volume potentiometer lower deadzone. deadzone_vol_hi = 4 # Volume potentiometer upper deadzone. gpio_spiclk = 18 # Serial clock pin on GPIO (CLK on ADC). gpio_spics = 25 # Chip select pin on GPIO (CS on ADC). gpio_spimiso = 23 # MISO pin on GPIO (DOUT on ADC). gpio_spimosi = 24 # MOSI pin on GPIO (DIN on ADC).
- Active development version.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size Mopidy-CarPi-0.2.21.tar.gz (7.8 kB)||File type Source||Python version None||Upload date||Hashes View|