henninghh990
Posts: 9
Joined: Wed Aug 21, 2019 6:04 pm

Using RPI as CarPC with Emteria

Wed Aug 21, 2019 6:09 pm

Hi!

I'm very new to Raspberry Pi and Emteria. I have built a CarPC that will use Apple CarPlay with a CarlinKit dongle, which as of now only works with Android and is built for Android Head units.

My goal is to turn the Pi on when I turn the ignition on, and shut it down safely when I turn the ignition off. As of now, the Pi is just always powered on.

I really have no clue on where to begin with this, other than connecting the ignition wire from my stereo wire harness onto the Pi's GPIOs. I have activated gpio-shutdown in confix.txt and it will power on when flicking the wire connected to GPIO3 to the ignition cable, but not when its connected and I turn on the ignition.

Futher more I also want to use the steering wheel controls to navigate and adjust the volume, but I'm not really sure where those wires are in the car. Does these controls come from CAN bus?

I've read that I have to use sysfs to listen to the GPIO's, but how to write a script that can do the actions I want?

Return to “Android”