A full vehicle dashboard application framework for the Raspberry Pi.
- Raspberry Pi 3 [$35]
- HifiBerry DAC+ RCA [$35]
- MicroSD Card - Class 10 At least 32GB recommended [$15]
- Mini-Box DCDC-USB Power Supply [$55]
- Mini-Box DCDC-USB Enclosure [optional - $4]
- Audio Amplifier with RCA Input - recommend Lanzar Mini MAX 1600W Amplifier [~$200]
- Amplifier cable kit - recommend BOSS Audio KIT10 [$18]
- RCA Ground-loop Isolator [$5 - $7]
- At least 2x 0.1mm pitch header pins
- Raspbian Jessie with no GUI
See the docs folder for further information on system setup.
To configure the DCDC-USB power supply for automotive PC applications you will need to set the following jumpers:
- CONFIG jumpers
- 0 OFF
- 1 OFF
- 2 ON
- 3 OFF
- 4 OFF
- 5 ON
- 6 OFF
- 7 ON
This will configure the power supply for Automotive mode, 5V output, and a 5 second shutdown signal delay with a 60 second shutdown wait time. For more information on jumper configuration, see the manual.
If, instead, you want to use a 12V-to-5V micro USB adapter, like I did, omit the jumper in position 5. This will set the power supply for 12V output.
- Remove factory stereo head unit
- Install amplifier within cable-reach of Raspberry Pi
- Connect wiring harness to factory speaker outputs
- Connect constant power input to battery
- Connect ground to nearby metal chassis mounting point
- Connect turn-on wire to ignition signal from old head unit
- Solder header pins onto, at least, pins 13 and 14 of the HifiBerry DAC+
- Warning: According to HifiBerry, this will void your warranty
- Put together Raspberry Pi, Raspberry Pi Touch Monitor, and HifiBerry DAC+
- Install DCDC-USB power supply
- Connect constant power input to red input wire
- Connect ground to black input wire
- Connect ignition signal to white input wire
- Connect black output wire to micro-USB cable negative
- Connect yellow output wire to micro-USB cable positive
- Connect two-pin remote power switch connector to pins 13 and 14 (BCM 27 and GND)
- Most shutdown scripts use pins 5 and 6 (BCM 3 and GND) but these are used for configuration of the Hi-Fi Berry DAC+
- Install stock Raspbian Jessie on RPi
- Update everything (apt-get, rpi-update)
- Install newer version of PulseAudio to fix drop-out bug (at least v6.0)
- Configure for use as Bluetooth A2DP sink with Super-Simple-Raspberry-Pi-Audio-Receiver-Install
- To install the shutdown script, run install_scripts/install_shutdown_listener.sh
- Install sfml-pi
- Build and install Dash Pi
- cd dash_pi
- mkdir build && cd build
- cmake ..
- make
- Configure RPi to launch Dash Pi on boot
- Install stock Raspbian Stretch on RPi
- Update everything (apt-get, rpi-update)
- Install prereqs with install_scripts/install_prereqs.sh
- To install the shutdown script, run install_scripts/install_shutdown_listener.sh
- To set up bluetooth streaming, run install_scripts/install_bluetooth_raspbian_stretch.sh
- Reboot
- Build and install Dash Pi
- cd dash_pi
- mkdir build && cd build
- cmake ..
- make
- Configure RPi to launch Dash Pi on boot
TODO
See the LICENSE file for various licenses for code from the following projects which were re-used in whole or part for this project:
- BluePlayer [https://github.com/Douglas6/blueplayer] - Bluetooth A2DP and AVRCP Functions
- POTSBLIZ [https://github.com/long-exposure/potsbliz-src] - Bluetooth HFP Functions
- PyOBEX [https://bitbucket.org/dboddie/pyobex] - Bluetooth PBAP Functions
The primary project is licensed under the GNU GPLv3.
Most icons created by Alex Auda Samora from Noun Project. Used under Creative Commons.