So I have started, finished and testing a bit my car media centre project. Here is what I have:
Hardware:
- Raspberry Pi with Raspbian image, hostapd, mpd and vast collection of my oggs, mp3 and flacs
- USB WiFi mini Dongle (RT5730 chipset)
- 12V-5V/5A DC-DC buck converter
- 64 GB Sandisk Extreme SDCard
- Pioneer KEH6600 cassette player
- Audio connector to the Pioneer AUX input
Setup:
I have the 12V-5V converter connected to the Pioneer ISO power cable which has 12V input from the car related to ignition. So when the car is off the power is off. I did connect it to the 12V "always-on" too and it worked, however I am worried that my RPi could drain the car battery too much and I need a lot of power to start the 4L V8 engine.
The control is via MPD client on my phone (Nokia N9) or any other phone via WiFi connection
Here are my questions and problems observed:
1. The WiFi AP disappears after some time when the usage is low (eg. I do not change many tracks). Is there any power management in the standard Raspian image related to USB devices? Only the reboot of the RPi helps to see the AP again. It looks like the USB Dongle is powered down... I did once see it in my laptop but not my phone, so something is rather strange here!
2. The RPi does not always start with the ignition (music does not play and the WiFi AP does not appear) when starting the car... what could be the cause? I suspect power issues, however my power converter is supposed to be 5V 5A if the input is at least 2V higher.. however I do not have much experience with that and the power might not be "clean" enough? What are your thoughts about this?
3. Another issue with the ignition startup is that the power is cut during the engine turning so what happens is the 12V power begins to flow into the RPi and then it is cut when the engine is being turned by the starter motor and then when the engine is on the 12V is restored. This might be a complete power cut or maybe a substantial voltage decrease. Do you know how this works exactly and if it is a danger which I should think about and use a battery?
4. What if I connected my RPi to continous 12V power supply wire from the battery instead? Would that drain my battery? I leave my car off sometimes for a week or two and I am afraid that It would not start in that case.
I look forward to answers, ideas and comments.
- Andy
P.S. The car is TVR Chimaera 4.0L