OpenAuto Pro in my 2007 Ford Focus
I decided to do things slightly different. Instead of having everything attached behind the screen I put long extension cables between the Pi and the screen allowing my dash screen to be slimmed down and run all the computing in my glove compartment.
I also decided to leave my stock radio to retain the FM functionality. So rather than wire the pi into my speakers I just used a 3.5mm to FM transmitter and programmed that channel as one of my radio presets. It’s not as good of audio quality than if I wired it direct but I’m not an audiophile anyway, so it is good enough for my setup.
List of Parts (I’m Canadian so sorry that all the links are for Canadian retailers):
Raspberry Pi 3 b+
Official Touch Display
Screen & Pi Enclosure
USB Bluetooth
USB Sound Card
Lav Mic
FM Transmitter
Dash Mount USB Extender
Display Cable Extension
Jumper Wires
3A Car Supply Switch
TSL2561 Light Sensor
Images:
https://imgur.com/a/dYYHNnk
Guide:
Setup Custom splash (Sample)
Things I’d do differently:
I decided to do things slightly different. Instead of having everything attached behind the screen I put long extension cables between the Pi and the screen allowing my dash screen to be slimmed down and run all the computing in my glove compartment.
I also decided to leave my stock radio to retain the FM functionality. So rather than wire the pi into my speakers I just used a 3.5mm to FM transmitter and programmed that channel as one of my radio presets. It’s not as good of audio quality than if I wired it direct but I’m not an audiophile anyway, so it is good enough for my setup.
List of Parts (I’m Canadian so sorry that all the links are for Canadian retailers):
Raspberry Pi 3 b+
Official Touch Display
Screen & Pi Enclosure
USB Bluetooth
USB Sound Card
Lav Mic
FM Transmitter
Dash Mount USB Extender
Display Cable Extension
Jumper Wires
3A Car Supply Switch
TSL2561 Light Sensor
Images:
https://imgur.com/a/dYYHNnk
Guide:
- Write image to SD Card with balenaEtcher
- On first boot enter OpenAuto Pro license key.
- Close OpenAuto to complete Raspbian first run setup.
- Go back into Raspberry Pi Configuration and enable i2c under the interfaces tab
- [all]
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
gpu_mem=256
- sudo btswitch external
- VCC>3.3v
- GND>GND
- SDA>SDA1(GPIO2)
- SCL>SCL1(GPIO3)
- cd /dev
- ls
- nano /home/pi/.openauto/config/openauto_system.ini
- LightSensorThreshold=10
- LightSensorDescriptor=/dev/i2c-1
- LightSensorAddress=57
- LightSensorMinRange=0
- LightSensorMaxRange=100
- OpenAutoDayNightMode=0
- AndroidAutoDayNightMode=0
Quote:I set my threshold to 10 because I found any higher it would switch to night mode when it was still bright out.
Setup Custom splash (Sample)
- Download Files
https://mega.nz/#!A2J3WAhR!PHjSOrbY8XT14...avIhyQSRQA
https://mega.nz/#!5nRTya5C!_hZqFWgfEELNE...NotSt1IMzg
- cd /home/pi
- mkdir Backup
- cd /usr/share/openautopro
- sudo mv splash1.h264 splash2.h264 /home/pi/Backup
- Copy splash1.h264 & splash2.h264 /home/pi
- cd /home/pi
- sudo mv splash1.h264 splash2.h264 /usr/share/openautopro
- Download Files
https://mega.nz/#!on5gHKhT!kevyTa9XMqqkj...uPgXuHuIwY
https://mega.nz/#!5qgGjKIQ!w0TE12clsk8kB...nFqNOgTxDE
- I used the wires behind by stereo to wire in my Mausberry
- Black wire to ground.
- Yellow wire to constant +12V/battery source.
- Red wire to ignition/accessory/switched +12V source.
- Connect the "out" lead to GPIO 23 and "in" lead to GPIO 24.
- wget http://files.mausberrycircuits.com/carsetup.sh
- sudo bash carsetup.sh
- sudo reboot
- sudo nano /etc/switch.sh
- change delay=0 to the number of minutes you'd like.
Things I’d do differently:
- Create by own shutdown circuit using the 3-relay method, I just didn’t feel like I was knowledgeable enough to get it working.
- Upgrade my stock stereo to a cheap aftermarket that has a line in to allow for better audio quality.
- The Mausberry doesn’t supply enough power to run the whole system as I get the lightning bolt (I may just have a faulty one) so I just added avoid_warnings=1 to my config.txt (I know this is not recommended)
- When I turn on my car the Mausberry gets the power up signal twice. Once when the ignition passes the ACC state and the second time when the engine turns over which causes the system to sometimes half boot power off then fully boot.
- The audio quality isn’t very good as mentioned previously. I’m blaming most of the issues on the FM transmitter but could also be part because the Mausberry might be delivering some dirty power.
- I wish I could disable the clock on all screens. I don’t have an RTC so my clock is always showing crazy times unless I am within range of my WIFI to get an updated time.
- I had a lot of trouble getting the TSL2561 working properly to control the screen brightness and also switch between night mode and day mode, so I just settled with the auto switch between day and night mode and if I need to adjust the brightness I can via the drop down software.