I currently have a 2007 Honda Accord and I am wanting to use a Raspberry Pi 4 to incorporate Carplay and a backup camera in my vehicle. This is currently in progress and this repository is to track code, hardware, 3D prints, and anything that goes into this with the hope that it becomes reusable for others. Update (5/16/2023): I have the touchsreen installed and have Carplay up and running as well as the reed switch working. I haven't installed the backup camera, but I have tested it and it does work.
- Raspberry pi 4 4GM RAM
- 7in Touchscreen display
- Car microphone (a mic is needed for Siri/voice commands to work)
- USB audio adapter (The microphone has to run through a USB to work - either it doesn't work to go through the Pi's aux or I couldn't figure it out)
- Carplay adapter (special adapter needed to connect phone and make Carplay work)
- AUX adapter (this was a unique situation I ran into with a 2007 Honda Accord. 2003-2007 Honda Accords don't typically have an aux plug-in available, but for some reason they built them with the ability to have it - there's even an AUX button in the car, but the AUX connectors were never put in. To connect the Carplay system through the car speakers I will need this adapter. More info on this situation can be read here. Video on how to access and install the adapter here)
To be updated:5/16/2023 Current Backup Camera -Still need to figure out the right one.Many of the cheaper wired backup cameras are analog (yellow RCA) and so I need to figure out a way to either convert to digital signal and connect to the Pi, or find a usb camera.PotentialAdapter solution here. This adapter works great, check out the 'show_backup_camera_v2.py' script to see how to use python to turn on camera coming through USB (utilizes the python-vlc package). The standard analog camera typically connects the power to the reverse lights so that when the car is put in reverse it turns the camera on. I like this approach and hope to incorporate itso that I don't need to include a button or something to change the screen from Carplay to the backup camera.See the solution below with the reed switch- Reed Switch I am using this as a way to turn the backup camera on. I've installed this next to the reverse spot near the gear shifter. Then I have placed a magnet on the gear shifter so that when the car is in reverse the reed switch's signal changes. This will trigger the screen to switch to the backup camera.
- I wouldn't have been able to make it work without the App Image created by Rhys Morgan. Huge thank you to Rhys!!! (Check out the video on this here - this is also where I learned about the Carplay adaper that is needed).
To-do: additional software to display backup camera and switch back and forth automaticallyadded 5/16/2023. 'show_backup_camera_v2.py' can be added to the pi's boot script and will run indefinitely in the background.
- To-do: I've done a little bit with creating 3D designs that I then print at my local library. Given all the extra hardware and specific design of my car's dashboard I want to experiment with designing my own case to hold the touchscreen, Pi, and other components.