Internet connected car stereo with obd 2 and remote start.
Please mind the mess! I am still working on this.
Interesting! Did you find Christian Brauweilerās instructions helpful in setting up your Raspberry Pi stereo for your truck? What were some of the challenges you faced or things you learned from his guide?
I started off with a Raspberry Pi Zero W, connecting it to my TV via HDMI. Later, I bought a 7ā³ touchscreen from an eBay vendor. Unfortunately, the initial screen didnāt turn on, prompting the seller to send a replacement, which also malfunctioned. After a long wait, the new control board from the seller finally showed up ā but not on schedule. To resolve the previous, I replaced the Raspberry Pi Zero for a Raspberry Pi 3, since it has a much powerful processor, and I opted for the official Raspberry Pi 7ā touchscreen.
Iām facing similar challenges in this project due to issues with both GPS and Nova. Despite relocating the entire project near a window, Iāve still been unable to obtain a GPS signal or a cellular connection. At the moment, Iām focusing on resolving the cellular signal issue, but the lack of connectivity is hindering my progress. Iāll keep you updated as I make progress.
The first step is to apply an image to your SD card. I used this image ofĀ Raspbian Jessie Lite from April of 2017. I have been using Etcher on Windows to copy images to SD cards and love it.
Next, we need to fetch the carPc install script built by Andrei.
Install the pre-built carpi project with:
wget https://download.christian-brauweiler.de/RaspberryPi/CarPC/current_carpc.zip
unzip the file with
unzip current_carpc.zip
install the provided software with
./install_carpc.sh
That process takes 15-30 minutes.
Once it is done, install the hologram sdk with:
curl -L hologram.io/python-install | bash
If you are like me and receive some errors, try reinstalling pip with this:
sudo easy_install -U pip
Now, if you are using a USB gps you will need to make a few changes.
Edit /boot/config.txt with:
sudo nano /boot/config.txt
At the end of the file, add:
enable_uart = 1
Next, we need to modify the gps daemon to read from the serial gps device.
sudo nano /etc/default/gpsd
find the line:
DEVICES="/dev/ttyUSB0"
and change it to
DEVICES="/dev/ttyS0"
In pursuing the projectās multimedia capabilities, I opted for a USB sound card to enable video playback, music streaming via MP3, and Bluetooth audio. This setup accommodates a standard 3.5mm audio cable that can be connected directly from the Si4703 to the sound cardās audio input, and then to my truckās speaker system via the audio output on the sound card. However, amplification may be necessary after installation, which is yet to be done.
Now, if you are using a USB Sound card like I mentioned above, you will need to configure it to be the primary audio device like this.
Create a new file, /etc/asound.conf like this:
sudo nano /etc/asound.conf
Now add this to the file:
pcm.!default {
type hw card 1
}
ctl.!default {
type hw card 1
}
Next, we need to obtain a map for use with Navit GPS software, which is included with our Kodi build and allows the Navigation button to launch the application. While Navit may not be the most popular GPS option, itās a great choice for this setup. Weāll get the map from the Navit-Project website, selecting the North America region (excluding Alaska and Hawaii). The file size is approximately 4GB. Once youāve downloaded it, copy the map1.bin file to the Raspberry Piās /home/pi/.navit/ folder.
Source: Raspberry Pi Car Stereo