Hi guys, I've installed and customized my OpenAuto PRO headunit in my Toyota Aygo 2017(2014 base model).
I've been using OpenAuto PRO since 2019!
Previously I've used Crankshaft.
I hope you enjoy it my work!
ì
This cover fits perfectly on the car
The microphone cable can be easily hidden behind the frame of the main infotainment display
Back cover with covered brightness sensor
Custom added features:
Components:
1
Connect brightness sensor TSL2561 to I2C BUS 1 sda=GPIO2(PIN 3) scl=GPIO3(PIN 5) and power(+/-)
Select in OAPro day/night settings: "manual" and "GPIO Pin": 21 (selected PIN should be free/not connected).
Create a physical button(AssistantButton) and connect to to PIN 37 and PIN 39
2
Enable "I2C" from preferences > raspberry pi configuration > interfaces
3
Add this strings to BOOT:/CONFIG.TXT:
4
Move needed files to sdcard in /home/pi:
To enable Autostart add this strings to /etc/xdg/lxsession/LXDE-pi/autostart:
6
Open terminal and execute this command:
Note
To easily modify files you should run this command in terminal: for example "sudo nano /etc/xdg/lxsession/LXDE-pi/autostart" ...then save with Ctrl + X, S and Enter
Bluetooth audio: In order to work properly you should disable multimedia and voice audio channel in settings>android auto>audio
I've been using OpenAuto PRO since 2019!
Previously I've used Crankshaft.
I hope you enjoy it my work!
ì
This cover fits perfectly on the car
Wiring
the headunit is fully removable and upgradable
The phone can be magnetically attached in two positions(near main infotainment display or near cup holder)
The microphone cable can be easily hidden behind the frame of the main infotainment display
Back cover with covered brightness sensor
Custom added features:
- Automatic DAY/NIGHT script based on the sensor TSL2561
- Custom Google assistant trigger button
- A script that reset clock at every boot (I don't want to use RTC and there is no way to disable clock in OAPro UI) so now shows sys uptime instead time! (Partially included in last updates)
- Removed Under-voltage warning (described below with avoid_warnings=2)
Components:
- TECKNET Usb audio adapter UA110
- TSL2561 Brightness sensor, some thin transparent black/blue plastic to cover it (you also have to use hot glue,attak,scotch or similar to anchor it)
- Raspberry Pi4
- Raspberry Pi Official display 7"
- Case for Raspberry Pi 4 and Official 7" Touchscreen ONENINEDESIGN SKU: OND-001
- RAVPower charger RP-VC003
- Beikell 1mt Usb-c cable (B078NNH2TJ)
- Generic External microphone
- Generic 1mt microUSB cable for raspberry pi power
- Generic clips to anchor cables
- Generic button (self-made in my setup)
- Generic Jumper wires
- 3M hook loop fastener SJ352Bbk
- Magnet phone holder (linq hd069 and maxexcell n/d)
1
Connect brightness sensor TSL2561 to I2C BUS 1 sda=GPIO2(PIN 3) scl=GPIO3(PIN 5) and power(+/-)
Select in OAPro day/night settings: "manual" and "GPIO Pin": 21 (selected PIN should be free/not connected).
Create a physical button(AssistantButton) and connect to to PIN 37 and PIN 39
2
Enable "I2C" from preferences > raspberry pi configuration > interfaces
3
Add this strings to BOOT:/CONFIG.TXT:
dtoverlay=i2c-gpio
avoid_warnings=2
4
Move needed files to sdcard in /home/pi:
- BriSensor.py
- assistant_button.py
- setclock0000.py
To enable Autostart add this strings to /etc/xdg/lxsession/LXDE-pi/autostart:
sudo python3 /home/pi/BriSensor.py
sudo python3 /home/pi/assistant_button.py
sudo python3 /home/pi/setclock0000.py
6
Open terminal and execute this command:
sudo pip3 install keyboard
Note
To easily modify files you should run this command in terminal: for example "sudo nano /etc/xdg/lxsession/LXDE-pi/autostart" ...then save with Ctrl + X, S and Enter
Bluetooth audio: In order to work properly you should disable multimedia and voice audio channel in settings>android auto>audio