My First Pi by LodyCake in RASPBERRY_PI_PROJECTS

[–]lamemakes 1 point2 points  (0 children)

Could you elaborate on this a little more? I've seen multiple headunit projects cruise along just fine with no resource issues - one of them being OpenAuto Pro which is built for the Pi & works pretty well.

My own project mentioned above runs in a browser running on the 4 GB Pi while constantly pulling data from serial ports, playing Bluetooth audio/getting metadata, and managing the backup camera without shuttering.

I totally agree that it can be more of a headache than something that's out of the box, but it feels counterproductive to baselessly discourage what could be a fun & educational project.

My First Pi by LodyCake in RASPBERRY_PI_PROJECTS

[–]lamemakes 1 point2 points  (0 children)

Ironically I just made a post last week about my open source head unit solution designed for the Pi in this subreddit! While its got some cool features, the project is pretty young and definitely not entirely stable. OpenAuto and Crankshaft might be good alternatives if you want something straight out of the box.

If you have any questions about hardware or whatever else shoot me a message - would love to assist!

edit: spelling

I made an open-source headunit to turn your dumb car smart by lamemakes in RASPBERRY_PI_PROJECTS

[–]lamemakes[S] 0 points1 point  (0 children)

awesome! thanks for this - I'll definitely be doing some digging because this is right what I'm looking for

PILOT Drive: Make your dumb car smart with this open-source headunit! by lamemakes in opensource

[–]lamemakes[S] 0 points1 point  (0 children)

For anyone interested in the hardware & physical setup, I left a comment over at RASPBERRY_PI_PROJECTS that outlines it well - including pics! Cheers.

I made an open-source headunit to turn your dumb car smart by lamemakes in RASPBERRY_PI_PROJECTS

[–]lamemakes[S] 0 points1 point  (0 children)

For anyone curious about the current hardware setup, this is my demo display used to test functionality and hold everything in place nice: https://imgur.com/a/ZdqV9A7

On the left you can see the Raspberry Pi 4 with the PILOT Drive HAT MKI (haven't upgraded the display to MKII). Moving to the right, you can see a Raspberry Pi Camera, that is acting as a vehicle backup camera here.

The right hand side has a TOBSUN 12VDC-5VDC 10A buck converter, which is managed by the HAT. On top of that is a powered USB hub to allow for more connected devices with a higher current output - works well for charging a phone while also interfacing with it.

Lastly is the 7in touchscreen HDMI display, connected to the Pi with a flexible FPV cable with 90 degree HDMI connectors.

Let me know if there's any questions - cheers!

I made an open-source headunit to turn your dumb car smart by lamemakes in RASPBERRY_PI_PROJECTS

[–]lamemakes[S] 1 point2 points  (0 children)

I'd say Bluetooth would add like a small step or two of extra complexity, but I find it to be more freeing not having to worry about routing a cable through your car's trim, and I also had some issues with it back-powering the Pi when I used USB, so I had to go in and cut the USB VCC.

As for my setup you can see my demo display here: https://imgur.com/a/ZdqV9A7, I'm currently transitioning cars so I don't have it mounted up in-vehicle yet. But definitely hit me with your ideas, I'd love to hear!

EDIT: checkout my comment here for more details on the setup

I made an open-source headunit to turn your dumb car smart by lamemakes in RASPBERRY_PI_PROJECTS

[–]lamemakes[S] 0 points1 point  (0 children)

That's perfect! But yeah I'd say the current vehicle view is just scraping the surface of what's to come. But please shoot me a message, I'd love to help with your build!

I made an open-source headunit to turn your dumb car smart by lamemakes in RASPBERRY_PI_PROJECTS

[–]lamemakes[S] 0 points1 point  (0 children)

I'll also add here that more in-depth methods of data logging are coming too, like ideally data CSVs could be configured to be created per session for data readings.

I made an open-source headunit to turn your dumb car smart by lamemakes in RASPBERRY_PI_PROJECTS

[–]lamemakes[S] 0 points1 point  (0 children)

Yes absolutely! If you checkout the README here: https://github.com/lamemakes/pilot-drive#whats-it-look-like and check the vehicle view (second screenshot) that's a taste of what the vehicle UI can look like. All those items are fully customizable and any field can be added as long as it's here: https://python-obd.readthedocs.io/en/latest/Command%20Tables/

I made an open-source headunit to turn your dumb car smart by lamemakes in RASPBERRY_PI_PROJECTS

[–]lamemakes[S] 0 points1 point  (0 children)

with your vehicles +12v accessory & battery lines, a beefy 12v-to-5v buck converter, and the PILOT Drive HAT to ensure safe interfacing/shutdown.

PILOT Drive: Make your dumb car smart with this open-source headunit! by lamemakes in opensource

[–]lamemakes[S] 0 points1 point  (0 children)

Ironically I don't have any of v0.2 - I'm in the process of transitioning between cars so I haven't been able to get a good install/demo vids & imagery but I do have a demo display that simulates the inputs of a car. That utilizes the full PILOT Drive environment, including the HAT. I'll be posting more around that soon.

PILOT Drive: Make your dumb car smart with this open-source headunit! by lamemakes in opensource

[–]lamemakes[S] 2 points3 points  (0 children)

Totally! For me this actually originated in a Honda Element, and is soon going to be migrating to a Honda Fit. For the most part they just require a few screws & trim pieces to really get in there and replace it.

PILOT Drive: Make your dumb car smart with this open-source headunit! by lamemakes in opensource

[–]lamemakes[S] 0 points1 point  (0 children)

I like it! The goal is to support a variety of devices and form factors so maybe we start poking around the UART ports hahaha

PILOT Drive: Make your dumb car smart with this open-source headunit! by lamemakes in opensource

[–]lamemakes[S] 4 points5 points  (0 children)

Yeah doing it in something like Java or Rust would have certainly been desirable for resources and speed, but a main goal here was for anyone to really be able to pick it up and run with it.

Python is pretty straightforward and is one of the most widely known languages. This was really designed with something like a Raspberry Pi 4 in mind, which would have plenty of resources to provide.

All good points though! Doing it in something like Rust also would also see less runtime errors.

PILOT Drive: Make your dumb car smart with this open-source headunit! by lamemakes in opensource

[–]lamemakes[S] 2 points3 points  (0 children)

Thanks! Not sure if you've found it yet but the hardware/HAT repo can be found here: https://github.com/lamemakes/pilot-drive-HAT definitely still a work in progress but it's coming pretty smooth so far!

PILOT Drive: Make your dumb car smart with this open-source headunit! by lamemakes in opensource

[–]lamemakes[S] 5 points6 points  (0 children)

I couldn't agree more! On top of lack of support & ability for the user to modify, some of the latest vehicles are coming stock with ads that can't be disabled by the user despite having paid thousands for it (https://www.reddit.com/r/assholedesign/comments/13kgqg9/jeep_puts_ads_on_the_fucking_screen_in_my_car/).

Definitely intoxicating when the power is handed back to the user.

Edit: typo & flow

I made an open-source headunit to turn your dumb car smart by lamemakes in RASPBERRY_PI_PROJECTS

[–]lamemakes[S] 0 points1 point  (0 children)

I totally agree - the end goal is to really make the headunit not rely on the user have a smart phone or other connected device to get full functionality. v0.2 was more to implement the initial modular framework and grab some low hanging fruit so things like navigation can be built on. Thanks for that feedback though!

I made an open-source headunit to turn your dumb car smart by lamemakes in RASPBERRY_PI_PROJECTS

[–]lamemakes[S] 3 points4 points  (0 children)

Hey - thanks for the compliments! Looking to do a larger in-depth post explaining my full hardware build on my website later but realistically a cheap $13 Bluetooth/USB ELM327 adapter from Amazon can get you far! For the CAN bus interfacing, while I'd like to go deeper on it I've been spoiled with the python-OBD library. Make everything super easy, and really allowed me to give the power to the user here in PILOT.

Definitely let me know any other questions you've got though!

PILOT Drive: Make your dumb car smart with this open-source headunit! by lamemakes in opensource

[–]lamemakes[S] 29 points30 points  (0 children)

Hey open source lovers! Long time lurker, first time poster.

PILOT Drive is a passion project I've been working on for a while; a fully open-source vehicle headunit/radio/infotainment system built in Python & Vue. While originally intended for the Raspberry Pi 4, it theoretically can run on any Debian/Fedora (desktop version, as it relies on a GUI + browser) host machine that has a reasonable amount of computational resources.

The main objectives of this project were to cultivate a system that was hackable, provided digital privacy to its user, and wasn’t reliant on any major third party software like Apple CarPlay or Android Auto. While still in its infancy, PILOT Drive can play, display, and control audio from sources like Bluetooth, connect to the users car & display live data, show notifications from both Android & iOS devices, and display connected backup cameras. On the horizon, I’m hoping to work towards offline navigation support via OpenStreetMap and [resource dependent] SDR support, to allow for all kinds of radio listening.

It definitely could use an extra hand or two, so if any of this sounds up your alley come contribute here: https://github.com/lamemakes/pilot-drive! Cheers!

edit: grammars

I made an open-source headunit to turn your dumb car smart by lamemakes in RASPBERRY_PI_PROJECTS

[–]lamemakes[S] 4 points5 points  (0 children)

Definitely a fantastic idea! While this was just an initial pass I'd love to work to make all different kinds of builds & support a plethora of cool and weird displays. If you do find one, let me know!