Odroid XU4 CarPC

Share here your ideas for new projects
Post Reply
Bence9218
Posts: 3
Joined: Fri Feb 22, 2019 6:08 pm
languages_spoken: english, hungarian
ODROIDs: Odroid XU4Q
Has thanked: 0
Been thanked: 0
Contact:

Odroid XU4 CarPC

Unread post by Bence9218 » Fri Feb 22, 2019 9:21 pm

Hi Everyone.

I'd like to introduce to you my CarPC project, which is built from four main part.
- a custom display based on a 2din android head unit case
- Odroid XU4Q
- ZTE Blade for 3g modem and GPS car tracking when the car is shutted down
- LG LAC5900RN head unit for amplifier (have a nice sound quality with SoundBlaster Play 3! USB DAC)

Image

Main features:
- Android 7 (LineageOS 14.1)
- Live traffic navigation
- Listening music from local storage and also from spotify
- Engine diagnostic and live data through OBDII socket

Work in progress features:
- Bluetooth HFP for hands free phone calling over bluetooth (yes, I have a solution for this)
- GPS tracking software for the ZTE Blade to track my car location anytime, and warn me,
when the car is moving without me (without my phone's bluetooth signal)

Display:
I had a 2din android head unit, which is perfectly fitted in my car dashboard.
Recently I used this unit, but I bricked it when I tried to root the os on it.
So I bought a display panel with better view angle, a touch panel and a HDMI drive board.
The display case has three back lighted buttons, a potmeter (actually it is an encoder) and an usb socket.
For the buttons working I used an USB keyboard drive board, and I soldered the three buttons to F1, F2 and 0.
The encoder is connected to the LG head unit (amplifier) master volume,
and you can turn the display off or on by pushing the encoder.
The USB socket is simply connected to the display's powered USB hub (which is connected to the Odroid).

On the software side I needed to recompile the os from source for fix the touchscreen (eGalax 0eef 0001) calibration.
It was easier to made the buttons working correctly. I created my own key layout map (.kl file) for "Home", "Back" and "App switch" functions.

Finally the display case has five sockets: Power in, HDMI, USB (Touch screen, front buttons, front USB socket), RJ45 (HDMI display drive board buttons), jack (volume remote)

Image
Image
Image


OBDII ELM327 USB cable:
Of course, I had a wrong USB to RS232 converter interface, so I needed to fix this "little" problem.
I converted it from the ch340 chip to pl2303 chip which is compatible with the software.

Image
Image
Image
Image


ZTE Blade:
The Odroid's production kernel does not contain the rndis kernel module which is needed to share your
internet connection from your android phone to the odroid via USB.
So I recompiled the kernel with this kernel module and created a userinit script on the phone,
which is automatically turn on the USB tethering function, when the phone is connected.

Image

LG head unit:
I created line in RCA on his back.

Odroid:
The biggest challenge was the odroid must shut down correctly when the ignition is going to off,
and after that the power is also go away. I created my own power supply and power control boards,
which are do the job. If the ignition is switched off, the system is going to shut down properly,
one minute later the power is cut out from the hardware.
I have a special usb socket, which is stay powered when the car ignition is off, this socket
keep the ZTE blade alive.

Image
Image
Image
Image
Image
Image
Image

User avatar
mad_ady
Posts: 6681
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 194 times
Been thanked: 148 times
Contact:

Re: Odroid XU4 CarPC

Unread post by mad_ady » Fri Feb 22, 2019 10:58 pm

It looks very nice and well thought of :)

Bence9218
Posts: 3
Joined: Fri Feb 22, 2019 6:08 pm
languages_spoken: english, hungarian
ODROIDs: Odroid XU4Q
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU4 CarPC

Unread post by Bence9218 » Mon Feb 25, 2019 7:16 pm

Thank you! :)

User avatar
odroid
Site Admin
Posts: 32368
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 147 times
Been thanked: 325 times
Contact:

Re: Odroid XU4 CarPC

Unread post by odroid » Tue Feb 26, 2019 9:32 am

Very nice and practical. :D
Our Magazine chief editor will contact you soon. ;)

Bence9218
Posts: 3
Joined: Fri Feb 22, 2019 6:08 pm
languages_spoken: english, hungarian
ODROIDs: Odroid XU4Q
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU4 CarPC

Unread post by Bence9218 » Tue Feb 26, 2019 6:29 pm

Thank you! :)
My first post is a very short version of the full story.
I tried to focus to the main concept. :)

Post Reply

Return to “The Ideas”

Who is online

Users browsing this forum: No registered users and 2 guests