Skip to main content

Mopidy extension for in-car RPi and GPIO.

Project description

Latest PyPI version Number of PyPI downloads

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:

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).

Project resources


v0.2.21 (UNRELEASED)

  • Active development version.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Mopidy-CarPi, version 0.2.21
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

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page