Close
0%
0%

Fiat 500 head unit

My 2012 Fiat 500 has no head unit at all, so instead of just buying a cheap head unit, I just built my own

Public Chat
Similar projects worth following

As always I started a simple and quick project just as a tablet holder for using Spotify and Waze, and then I wanted to get the steering wheel controls to work, and then add a rearview camera (even though the car is tiny, I'm terrible at parking, so why not?), maybe dip my toes into the can bus to get useful information? How about voice commands? Yeah, it is never a quick and simple project 😅

This project is split into three pieces:

  • An old Samsung tablet: It serves the purpose of the head unit itself running a custom launcher app with some useful features such as navigation, music control, rearview camera, and in the future some car information too. It does not depend on the rest so if everything stops working I still have navigation and music
  •  The "car gateway" is a box containing an esp826 with an MCP2515 module to talk to the can bus, two relays to manage power and safely shut everything down after the car is turned off, and, an orange pi to get the car state via serial from the esp8266, so, basically, the esp receives the can messages and passes only the useful stuff to the orange pi via serial so the pi sends commands to the tablet via adb (but I'm planning to change to emulate a keyboard in the near future), also the orange pi receives the rearview camera signal and streams it via webrtc. 
  • Lastly, there's a cloud server to store all my next destinations so I can set where I'm going using my cellphone beforehand, then when the tablet is connected to the internet it launches Waze with the set destination without the need to stop at the middle of the street to type the address, this is useful because my car is parked three levels underground so no signal to search it beforehand. In the future, I'm planning to use it as a management dashboard with fuel consumption, service history, vehicle status, and more

  • First stauts update!

    Alexandre Fernandes Jr11/03/2023 at 03:46 0 comments

    What I have so far

    Hardware

    • Car stereo fully installed
    • Tablet holder installed
    • Wiring harness with accessory power and can bus wired in (currently going to the glovebox)
    • First prototype of the gateway box with the esp, mcp2515 relays and the orange pi  working
    • Rear view camera installed (a little janky but it is working though)

    Software

    • Tablet launcher app with some favorite and planned destinations, media controls and rearview camera 
    • Esp8266 firmware reading steering wheel controls and with a log mode to assist with reverse engineering
    • Orange pi server reading serial commands from the esp, sending keyevents to the tablet via adb and rearview camera stream using webrtc
    • Cloud server integrated with here maps places api for searching places, saving next destinations and integrating it to the tablet frontend to list and launch directions

    Next steps

    Hardware

    • Tidy up glovebox wiring and fixing the care gateway box
    • Fix rearview camera properly
    • Reverse engineer can b for current gear, open doors and lights 
    • Start planning how to get into the can c network (engine control) to get OBDII data (currently I'm on the can b which is the low speed, non critical bus)
    • Figure out a way to turn on the radio whe the car is turned on (acc power does not turn on the radio)

    Software

    • Implement opening rearview camera when shifted to reverse
    • Create car status component showing doors and light state (just for show because it is nice 😅)
    • Play music when car is key is in the ignition, stop the music when leaving the car
    • Fix shutdown timing
    • Figure out a way to postpone shutdown for when the car is parked but not for so long
    • Start playing with OBDII protocol (maybe using those cheap OBDII dongles)

    Other items

    • Share tablet holder and rearview camera 3d models
    • Add more pictures to the gallery

  • TODO: Log past steps

    Alexandre Fernandes Jr11/03/2023 at 03:20 0 comments

    I just started logging the project so there are a couple things missing, for now I'll just log everything all from now on, but I will come back and document what I have done so far 😅😅😅

View all 2 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates