Raspberry Pi Car Stereo v2 - Full Touchscreen Navigation & Spotify
HTML-код
- Опубликовано: 11 сен 2024
- After more than a year of not having my previous setup, I decided to rebuild it a little differently this time.
Here's a list of all the relevant parts I used in my build:
RasPad 3
amzn.to/3CAmqkp (Affiliate Link)
ugreen Bluetooth module
amzn.to/3k5stXO (Affiliate Link)
ugreen Audio interface
amzn.to/3VSBII5 (Affiliate Link)
Startech 1ft 3.5mm audio cable
amzn.to/3GSNQ7M (Affiliate Link)
Raspberry Pi 4 4GB
amzn.to/3WVFz8T (Affiliate Link)
Raspberry Pi 4 8GB
amzn.to/3ioo3Ld (Affiliate Link)
BlueWave Studio
bluewavestudio.io
OpenAuto Pro
bluewavestudio...
You'll want to get an install kit specifically for your car. I wasn't able to find the .stl files for the mounting brackets I designed, so you may have to design those as well.
I didn't need a relay for this setup because I have to manually turn the system on and I can use the touch screen to turn it off as it's got a battery pack to prevent unwanted shutdowns.
/=========================================/
Get early, ad-free access to new content by becoming a channel member, a Patron or signing up for the members' only website!
✅ / dbtech
✅ dbtech.fans/
✅ / @dbtechyt
/=========================================/
The hardware in my recording studio is:
✔ Custom PC w/ Ryzen 2600, 32GB RAM, RTX 2070, Assorted Storage
✔ Panasonic LUMIX G7 4K Digital Camera: amzn.to/3IGEOcb
✔ SAMSUNG 34-Inch SJ55W Ultrawide Monitor: amzn.to/395g9BZ
✔ LG 27UK650-W 27” UHD IPS Display with HDR 10: amzn.to/398pg4S
✔ WALI Premium Dual Monitor Stand: amzn.to/398AiqM
✔ Neewer Lights: amzn.to/3nZcoSX
✔ Light Power Supply:amzn.to/3Konpqf
✔ 55" Gaming Desk: amzn.to/3AkgHgw
✔ Sabrent USB-C Hub: amzn.to/3qFcwbV
✔ Das Keyboard 4 Professional: amzn.to/3G9rPxM
✔ Fuqido Big and Tall Gaming Chair: amzn.to/3IGegrq
/=========================================/
The hardware in my current home servers:
✔ Synology DS1621xs+ (provided by Synology): amzn.to/2ZwTMgl
✔ 6x8TB Seagate Exos Enterprise HDDs (provided by Synology): amzn.to/3auLdcb
✔ 16GB DDR4 ECC RAM (provided by Synology): amzn.to/3do7avd
✔ 2TB NVMe Caching Drive (provided by Sabrent): amzn.to/3dwPCxj
✔ TerraMaster F5-221 (provided by TerraMaster): amzn.to/3IfH2QD
✔ 5x6TB WD Red Plus NAS: amzn.to/3LnbPvC
✔ 8GB DDR3: amzn.to/3kfLTX3
✔ TerraMaster F4-423 (provided by TerraMaster): amzn.to/3kjUms5
✔ 2x8TB Seagate Barracuda Compute: amzn.to/3xBAO95
✔ 16GB TEAMGROUP Elite DDR4: amzn.to/3MzzFV9
✔ 512GB Silicon Power NVMe Caching Drive: amzn.to/3MzkBae
All amzn.to links are affiliate links.
/=========================================/
✨Find all my social accounts here:
✅ dbte.ch/
✨Ways to support DB Tech:
✅ / dbtech
✅ www.paypal.me/...
✅ ko-fi.com/dbtech
✅ Cashapp: cash.app/$dbte...
✅ Venmo: venmo.com/dbte...
✨Come chat in Discord:
✅ dbte.ch/discord
✨Join this channel to get access to perks:
✅ / @dbtechyt
✨Hardware (Affiliate Links):
✅ TinyPilot KVM: dbte.ch/tpkvm
✅ LattePanda Delta 432: dbte.ch/dfrobot
✅ Lotmaxx SC-10 Shark: dbte.ch/sc10shark
✅ EchoGear 10U Rack: dbte.ch/echoge...
6:50 you actually can use the onboard bluetooth and headphone jack by iirc editing the /boot/config.txt file on the pi. ive been using it like this for days to pair my phone and output audio to an amp through the headphone jack, and its worked absolutely fine. i have literally no idea why bluewave disables them by default and then tells you that you need extra hardware to replace them when you really dont. saved me some money, hopefully this will save some other people too.
EDIT - the modifications: you just need to delete or comment out the line that says "dtoverlay=disable-bt" to get the bluetooth working. for audio, i believe you need to make sure you have the lines "dtparam=audio=on" and "audio_pwm_mode=2" present. the latter may not be required because the documentation says its the default, but it should ensure that you get the highest quality output from the jack.
If you want to share the changes you made, I'd be happy to pin the comment under the video :)
@@DBTechYT i edited my original comment 👍
@@dylon4906 Awesome!! I wonder if doing this would help the crackling I get in my audio from time to time...?
@@DBTechYT come to think of it, there is actually a slight buzzing noise out the headphone jack which is audible with the amp. my dad, who is working on this project with me, seems to think its noise from the 5v3a step down converter (i have the same konnected one you used), but im not sure. dont know if thats related and could also affect external dacs but maybe. at any rate, i dont think itll be noticeable over the background noise in my car (havent tested the whole circuit in my car yet so hopefully anyway). there is also a "pop" noise that happens through the headphone jack when the pi turns on and off which is kinda problematic if you have an amp without adjustable volume and thus rely on the pi itself to change volume (which i do), so my dad and i are trying to find a way to mitigate that. those are the only issues i have that are anything close to crackling but might be good to know for anyone that tries this
@@dylon4906 I get the pop noise when the device turns on and off, but I also get crackling in the bluetooth audio. As far as the buzz you're talking about, you might consider a 3.5mm Ground Loop Noise Isolator. (amzn.to/3wm1Q3P) I've had good luck with them.
Dave, all I wanna say is "you are amazing". Personally, I freak out when it comes to handling volts/amps and what not. For whatever reason my small brain is not able to handle this sort of info.
I see you dismantled everything and then was able to put everything back the way it should. Happy for you brother. Enjoyed the video.
Take care and stay safe.
Cheers!
Thank you!! Here's the thing about cars: They all run on 12 volt (except EVs, but that's a different story). 12 volts is 8 AA batteries. It's not much and the liklihood of getting hurt with it is VERY low. Also, I've been installing car audio equipment since I was a teenager, so it doesn't even register for me any more.... Unless I'm jump-starting a car... Then I'm overly cautious :) Take care!!
Amazing video! One thing I want to point is that you shouldn't use Li-Ion batteries as those are very sensible to high temperatures and may be a fire hazard especially during summer days, when car interiors can reach 60-80C (the parts of the car that are in the shade). I've worked on a smart dashcam system and the workaround that we used were some big capacitors that could keep it operating for another 15 seconds to make sure it shutdowns correctly.
Thanks for the tip. I'll probably go out and remove the battery from the system entirely and just let it do a hard shutdown when the car shuts off. I'm running the OS on a USB drive and did this shutdown method in the past with no issues, so I'll just go back to that :)
@@DBTechYT Also forgot to mention, when the car turns on there are a lot of energy spikes that can damage your Raspberry in the long run. You have to be careful with that, Raspberries aren't that easy to come by these days :D.
@DB Tech Nickle Metal Hydride batteries work well for this. Much safer.
Lots of effort went into this. We appreciate that. Good job. A few comments/opinions:
1. Locktite should be put on the threads of the screw before it gets screwed in, not the outside of the nut. I dont know if you put it on the screw side or not, but if not, nothing prevents the screw from loosening from the nut.
2. The latest version of RPI OS has Overlay FS built in. It is useful to allow power to be yanked off without corrupting the OS even when you dont execute a shutdown.
3. How do you hook up the audio output from the RPI to your stereo system?
3. Can you tell us where you found the cool video you used in the bootup splash animation?
Wow, this is just next level!
Thanks! I'm happy with it so far!
You should be more than happy, it's something to brag about for sure 😆
Locktite is helpful but you really need to use washers to prevent damage to the plastic casing by spreading the load.
The amount of work you put into this video though
Great video!
Thanks a ton!
Watched complete. Nice to see improvements. Good going brother.
Thanks a ton
Nobody going to ask if he plans on putting a relay or a push button parallel to the button to turn it on?
The push button could then be put on a more reachable spot. You could do a propper shutdown before turning uf the car.
this is awesome
Cool project ! More vidéos like this !
Thanks!! I'll try to find a balance of stuff like this and self-hosting content :)
Nice project! I would love to do something like this, I only need the car haha. At this time, I'm working to develop an infotainment system based on Ubuntu Touch. This video will be so helpful. Just a question, maybe my english is quite awful, but, did you say you don´t use the warning lights? 😮
Sounds great! And, yeah, I don't currently have access to my warning lights, but I've only used them once or twice in the 3+ years I've had this car. I have considered moving the warning light button to a different location, though.
Exciting video subject
OpenPilot compatible car? Such a cool FOSS project based on videos...
I wish, but my car is from 2010
Butthole surfers, radar detector , and a stick shift....what year is this?....Awesome video!
It's the best year every time I get in my car! Thanks for checking out the video!! :)
Hi great video, very inspiring setup. I'm planning on doing something similar but using a 7.9inch longer touchscreen display using a dsi connection. Did you have any issues getting the display to work on android? I'm a little worries that the one I want won't work as the website only states that it works with raspbian...
Bump
I have a real similar setup. Using dash cam wiring kit and headphone jack on pi to AV cables on my radio. Everything works awesome except I get terrible humming or ground noise. Any suggestions?
I use this in my setup: amzn.to/42jXeKP (affiliate link)
Great, thanks for that video. BTW is there any way to get out of that software to normal Raspberry OS, I was thinking about using RetroPi ocassionally ;)
What I would do then is make sure that your Pi firmware is updated to boot from USB and then have 1 USB for RetroPi and another USB for this setup and swap them as needed.
Hazard buttons offer you an important followup project.
I 100% agree with this. Might have to tap into the wiring and relocate the button somewhere else :)
Can you make a video on how to build custom boot animation on RPI 4
The boot screen was actually easier than you might think. Here's what I did:
First thing, find or create a short video that you want to use as your boot screen. I did mine as a .mp4 at 1080p, but you could do 720p if you wanted to save storage space and whatnot.
I copied the .mp4 file I wanted to use as my boot screen to /home/users/pi/Videos
SSH into your pi and navigate to the /home/users/pi/Videos folder.
Then Create an backup of the original openautopro.splash.service file "sudo cp /etc/systemd/system/openautopro.splash.service /etc/systemd/system/openautopro.splash.service.bk"
Next, you'll convert the .mp4 file to a .h264 file by running this command "sudo ffmpeg -i dash.mp4 -an -vcodec libx264 -crf 23 dash.h264"
Replace "dash.mp4" with whatever you named your file. You can name "dash.h264" whatever you want, but make sure it still still ends in .h264.
Next, you'll want to edit the openautopro.splash.service file with "sudo nano /etc/systemd/system/openautopro.splash.service"
Change enviroment variable to match the name of the .h264 file e.g. "Environment="OPENAUTO_SPLASH_VIDEOS=/home/user/pi/Videos/dash.h264"
Reboot and enjoy.
do you use android os on raspberry pi?
As I showed in the video, I use OpenAuto Pro from Bluewave Studios
i've been told it's bad to keep lithium batteries in a car because they will die very quickly because of temperature differences.
It's possible. If I ever notice an issue, I can remove the battery pack and use the OS to shutdown or just do a hard shutdown (this is the method I used in my previous setup for months without issue.)
There is some truth to this, but I don't think it's a massive problem. Most Dashcams have a built-in lithium-ion battery and they seem to cope.
@@shm5547 dashcams are using batteries less and less. all the reputable ones you can buy in germany have cables and adapters for lighters or the fuse box or whatever it's called
I think most dashcams come with cables for the car fuse box or 12V accessory socket, but they usually still have an internal lithium battery.
@@shm5547 AFAIK it's just capacitors to shut down gracefully, no lithium batteries
are you still using this?
I am still using this
@@DBTechYT are they still updating open auto pro? I haven't seen much in a couple years.
I honestly have no idea what their updates look like. The first version of this I used (I think) version 15. When I decided to build this version of the video, I reached out to them and they offered me version 16 (again, I think was the version at the time) for free. I haven't run any updates on anything since then so I'm not sure what their current version is.
Actually, I found this: bluewavestudio.io/openauto-pro-16-is-available-2/ That was from February of this year, so there have been *some* updates relatively recently.
I like it vary cool
I have a android 10.1 in my torrent
Could u just mod a android just a idea love the idea
You could do that but I'm not sure the experience would be the same. Try it and see if it works for you
is it legal ?
I don't know why it wouldn't be, but I guess it depends on where you live
Leave the wire nuts :)
(I did)
Please make this with raspberry pi 5 🙏🙏
If I can get my hands on one, I'll definitely take a look at doing that :)
"Lost access to my hazard, I don't use them anyway"
Yeah, you don't but you'll be mad at yourself when you actually need them..
I can still get in there if I need to. But I should consider relocating the button to be somewhere more accessible.
i misread as Raspberry Pi Car
I totally get that. I strugged with how to word the title, but this is what I landed on :)
@@DBTechYT hahah XD
No fan so you'll fry another pi guy?
Why don't you just solider the constant or ignition wire to that push power button on that ras pad that way it can turn on automatically or you can even still use the button solider it under where the existing solider is?
I would use the rest of the internal usbs and run USB extenders out so you can plug in extra options.
Comment 1: The case does have a fan. I'm pretty sure I showed/talked about it at some point in the video.
Comment 2: I talked to the hardware developers directly about an automatic power-on option and they said it wasn't feasible with the way their daughter boards are configured. I could probably use one of the GPIO pins to start and stop the Pi, but the screen and whatnot would still need to be powered on and off manually. Also, pressing the power button when I get in and out isn't a big deal.
Comment 3: The case has multiple external USB ports that I can access really easily if I need them for anything. The only thing I would change at this point would be moving the USB that I have the OS on to one of the external plugs so that I can easily swap it out with something like an emulator so I can play games while I'm parked and waiting for someone or whatever.
1st 🤣
how is "OpenAuto" corresponding with: "After purchasing our service you will receive an e-mail with unique license key and download link with an image (*.img) of the SD card prepared for you. SD card image is uniquely generated for each purchase. "
What? Once you make the payment, you'll get an email with a download link and a license key
@@DBTechYT "OpenAuto" vs "license key" - seriously? how "open" is this???
"OpenAuto Pro" is the name of the software. It's not about being open source. I didn't name it.