Hello everyone!

I already posted a first time here a while ago: https://lemmy.world/post/30549957

My goal was to replace my Android Auto + phone setup for satnav in car with a dedicated Raspberry Pi.

Here’s a status update of the project so far!

Choosing the parts and getting them here was obviously fairly easy even though it took quite bit of research to find a way to power the Pi4 in car reliably.

It’s a pi4 with an adafruit ultimate gps dongle, an SD card and a 2.5 SSD. The SD for OS installs, and then I clone them to SSD for better stability and performances.

I first tried to go Pi OS route. I figured Linux might open more possibilities and I’m more comfortable with Linux. I tried a few options in Pi OS, namely Navit. I banged my head quite hard on that one, trying to figure out how to make it work, but I never managed to get a good navit.xml config file. After hours upon hours of trials, I gave up.

Tried Organic Maps then, but it was a flatpak which introduced a lot of permission issues and I never got the GPS dongle to talk to the app.

After a few failed attempts, I decided to try Emteria OS, an android spin available in the Pi Imager. It doesn’t boot without SD card as opposed to PiOS, so I was glad I spent the 5€ for the SD card. It booted easily, SSH was harder to enable than on Linux but it’s likely because I just know Linux better. Installing apps was easy, but I stopped there and didn’t even try to get the GPS working because 90% of my RAM was used idling at boot, which makes the whole project impossible on Emteria. Not sure if there’s a bug in the current version or what, but I simply moved on.

Then I went to LineageOS. Similarly to Emteria, installing apps was very easy. Getting the GPS from Adafruit to talk to Android was fairly easy if you read the docs carefully. I needed to install android dev tools on my main PC and connect to the Pi using ADB as root to edit some config files. That’s it, the GPS worked and I had a working GPS unit.

Now I’m at the point where I need to introduce the package into the car. For now , the pi still doesn’t have a case because I didn’t want to limit my options in the car. I still haven’t found a good way to bring the pi with me and have it being safely transported without breaking or even becoming a deadly cannonball in case of crash.

My current idea that I’m exploring and checking is getting a Pelican Case, not sure if any of their cases has vent holes. The pi would go inside the case, and the case would be attached to a strong anchor point like the seat rails. Not sure how, yet. I’m thinking maybe about carabiners from Petzl since they would be much stronger than needed, I’m just not sure the anchor point on the case would be strong enough.

So there you have it, I’ve made good progress on the project and I’m confident it will work out reasonably well.

  • Natal@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 hours ago

    What car do you have? Dacia Sandero Stepway

    Didn’t you want to use it for your music as well with navidrome? Maybe, if the USB port works, then I’ll use Navidrome on it and put the music that way through the car speaker. If they don’t, I can plug my phone to the car speakers and the Pi to bluetooth external speakers. The phone only crashes during satnav. By the way I did a recovery reset, i’ll try a drive today and see how it goes.

    CoMaps may be up your alley, uses OSM. Thanks for the name, current app in testing is OsmAnd, as i’ve seen it recommended a lot. If it doesn’t work I’ll try CoMaps.

    Especially since I just bought the car a few weeks before. I feel you, this phone was bought specifically for car use. My former one was slow, but I don’t use my phone much so there was no point in upgrading. I got the Oppo A51 back then because it had decent reviews for the price and I had a deal on it. But I think it’s not beefy enough. It thermal throttles very easily, too.