OpenAuto Pro / Raspberry Pi Head Unit with Android Auto Full Install Build

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys don here from nova spare tech and welcome back to the channel and today we are going to be installing the raspberry pi head unit using open android pro onto our car so let's get started i for one been super excited about this i've been wanting to do this as soon as i got all the parts but i had to film everything so this actually took a course of a week and a half just to put everything together and film everything so everything that i talk about or everything i show in the video will be listed down in the description below that's including the scripts and everything that i'm running i also want to give a huge shout out to 52pi they're the one that actually sent me the low profile fan that i'm actually using on the raspberry pi and i'll leave a link to that as well hopefully this thing is strong enough to keep everything cool on the raspberry pi now before i jump into it a word from my sponsor if you guys are not using vpns please do so because that is the best way to mash yourself from your isps or wherever you are if you're in like a public cafeteria or starbucks or something like that you want to be able to encrypt your data so nobody can see what you're doing and one of the best ways is to get a vpn and what i use is private internet access now if you've been a long time viewer of this channel you probably know i've been using it for about eight years i have no issues with it and with the recent updates that they have and the ability to use wireguard i'm getting four times the speed as i was before yeah it's just free improvement basically and having that amount of bandwidth allows me to stream high quality content now private internet access is basically worldwide they have almost 10 000 servers in 70 different countries and i'm not even saying this with like some prompt or something like that i just know this because i've been using them for so long if you've seen my previous video way back when i think a year ago they were only allowing five devices for one account and now they upped that they put 10 devices per account so you could actually get more devices they also support every operating system that's out there which is windows mac os ios android linux raspberry pi anything that you can think of it will work on it so you don't have to worry about that they also have 24-hour support so if you run into any issues and i actually have almost zero downtime i mean there are times where it's down and i know that they're doing upgrades but it'll switch the server and i have no issue and if you're using the desktop app there's the ability to disconnect your antenna if the vpn does go down another big thing about this company why i chose to use it is because they have no logs if i don't want the cafeteria or the cafe or any my isp to know what i'm doing i wouldn't want them to know either so they have no logs whatsoever it also allows for p2p and if you guys don't know what that is don't worry about it my main uses scenario for this sometimes is to move to another country so i could watch stuff that's available in different places that's not available in the states but yeah you could do that with this as well and best of all if you're using the link down in the description below you get three free months of private internet access so not only do they have a 30 day money back guarantee you also get three free months so really you have nothing to lose now keep in mind like i said i've been filming this for the past week and a half so i might be repeating myself on certain things just because i filmed it on different times and don't remember what i said but be sure to watch through the entire video because i actually have a couple of revisions that i found out as i was building it so you will see that throughout the course of this video now i also will be making update videos on this build because i do want to add more stuff to it also i'm starting a car channel on my other channel nova spirit tv i will be doing a couple of projects over there which is mostly right now cleaning up that car so it's going to be detailing videos buffing videos painting videos stuff like that so i'm going to get that up and going maybe it'll evolve into putting parts on the car because there are some stuff i do need to fix like hub bearings i do want to swap out the rims i have an exhaust leak that i want to fix so i might add that in there as well and completely transform that into a car channel because i i enjoy doing that work myself it's just i didn't know if a tech channel would work with that so yeah all my car videos will start going into that channel so i'll leave a link down in the description below for that as well so let's begin so guys this is where i have it at so far and i didn't want to record something when i get too far along but this is what it's at um this is so far still printed in pla it is a sample that i've been working on so it's still at its state but how i have it hooked up right now is the raspberry pi goes on top then you have the relay boards the two relay boards so one relay controls the on and off for the raspberry pi second relay i'm gonna program that to be the illumination so when i turn on my headlights it will actually dim the screen then i have the usb for the sound card the usb sound card and then i also have this custom made wire which is a normal three and a half inch jack that will actually plug directly into the amp that is underneath so i also have the bluetooth and this is to power on the screen so when the raspberry pi comes on it will actually power on the screen so turning it this around it will actually reveal the amp itself and it has three inputs which i will be wiring from the car uh the middle one is power 12 volts then you have ground then you have the accessory uh accessory is needed so the amp will actually power on and this does work with speakers i have tested them out already so um the custom wire that i made is this little loom so it's a three plug-in that goes in here then it goes into a three and a half millimeter jack and i have a bunch of these these are actually 12 volt quick chargers for cars and you can buy a pack of these uh four of them for like eight dollars and what it's going to do is one is actually going to power the raspberry pi with continuous 12 volt so this will actually be hooked up to the 12 volts here uh the 12 volt and the ground and then i have a second one that will be powered by the accessory so the one that's powered by the accessory the second one will actually be able to power the actual screen in case i need a secondary source for this which so far i don't because the raspberry pi can power the screen just perfectly fine but i don't know in the future and then it will also power the five volts relay that i have on the opposite side so this requires a five volts input uh what it really does is that it actually just uh acts as a button like in order to power on the raspberry pi all you really need is to short gpio three and gp and ground or gpio five and ground those two once you short those two it'll actually power on the raspberry pi and this is only relative to the raspberry pi 4 and above so what i have done is anytime the ignition switch gets turned on the relay gets flipped connects the two wires like i'm shorting them out and then it'll power on the raspberry pi the good thing about this is that the raspberry pi will always stay powered on and then when you shut it down it still has power going through so you don't lose the real-time clock and also uh the way i'm doing it is if i have this connected say that the relay is shorted i have a little script on the raspberry pi when it detects it's unshorted so the accessory is turned off like the key is turned off and it's unshorted it'll actually shut down the raspberry pi so it acts as on and off switch for the entire assembly and that's how i have this hole hooked up now i'm still super excited to get this in i'm just pre-recording this ahead of time because i know i'm just going to start installing this and not have footage i want but yes uh i also want to thank pi52 for or 52 pi for sending this fan over to me this is from geekpie well something that they carry you know how they have the ice tower something like that that's their ice tower they also sent me this one that will perfectly fit here and this is a specific one that i wanted is because two screws will be installed to mount this into the base and then there's two screws that are empty which will allow me to fit this fan on because most cases when you see fans they usually use those four screws and it's gonna be a little bit annoying to mount this whole thing but yeah this is how i have it set up this is the subaru factory um holster for the radio itself and the distance between the holes are 40 millimeters or 20 20 20 so 20 from here then 20 from here if you want to use these two holes instead but 40 by 40 and this is most factory so if you're going to do this on your own car these are 40 millimeters apart and they are m4 screws uh 4.2 millimeter threads so and then this whole width is 178 or 176 uh the width of this the distance i have is set up to 120 millimeters which gives me a little bit of a gap when i install the monitor assembly itself where the wire could go in and it'll perfectly press up against the housing so when i push this in even though the monitor will be actually mounted onto the housing itself it won't fall back if i push the buttons because it'll be pressed up against here then i have foam that i'm going to install here so when i do press the monitor against the back plate it won't damage anything now i went through of a bunch of revisions originally what i wanted to do was actually grind down the bottom of this i was planning to grind down the bottom of this one millimeter because we know that this is 99 millimeters and this screen is exactly 100 so it would never fit then after playing with a couple of designs um i decided to keep it at an angle which i'll show you a picture right over here because i can't do it while i'm holding it up but yeah i went through five different revisions or four different revisions then i finally printed this out in abs so these are all pla it's easier to print it doesn't smell when i'm printing it so i'm okay to keep reprinting these as much as i want just to see what i need and then the final version this is abs i will paint this to be black but abs will survive the heat so that's what i need to do this plate is still pla i will be reprinting this to abs and once i have all the fitment correct so right now i was just testing all the holes all the fitment the raspberry pi you can find all this information online all the whole spaces and everything so i don't know if i'm gonna be uploading to these these designs if you guys are interested i probably will throw it up onto thingiverse but this is very very specific to the wrx uh 2005 model so you really can't use maybe the tray you could probably use the tray on different models because that's standard uh 176 width and the screw holes for the radios are pretty much standard so i can maybe just um load this uh frame up if you guys are interested in doing the same setup that i have but ultimately yeah this came out pretty good oh on a side note i did notice this could be bought much cheaper on ebay so i found this on amazon for about twenty six dollars you could probably buy the same thing on ebay for a lot less and it's coming from china so it will take a lot longer to get to you but you could get this for i think i saw this for fifteen dollars instead of 26. anyway i will be buttoning up everything i will have all the scripts and everything that i use for the shutdown and power on on my github so i'll leave a link on that on the description down below but yeah i just wanted to get this out of the way uh so i could start putting this all together install it into a car and then have an actual test with the ob obd and a bunch of other stuff so yeah let me get on with that [Music] all right guys so here we have it uh this is basically 99 done i still need to do this frame but pretty much i'm going to explain how i set this up so i went through a couple of revisions just building this because i have to build my own auto start and shutdown switch which is ran off now by two relays instead of one so original thought is that the raspberry pi on the latest firmware raspberry pi 4 with the september 2020 firmware you are able to actually short out gpio3 and it will actually power on and also shut down the device which worked great i actually tested this and i was like oh okay i could use this off by one relay system get this whole thing up and running but the problem was that actually didn't shut down the raspberry pi and it was doing a 300 milliamp draw which was a problem because that will actually drain the battery really really quick so i actually modified the firmware and changed it so it will actually shut down completely when i do do a system halt or shut down the system and that resulted in only about 40 milliamp draw which is a little bit less than actually a regular radio on a car uh a car radio is about 50 and 50 milliamp draw and this is doing about 40 so huge improvement there but the only problem was you could no longer use the gpio3 to short out the system so the only way to power back on was to short out global enable or global en which is in the center of the board this required me to use a second relay so by shorting that out you can't keep it short out you have to actually just like like it's like a switch you flip it once and then it'll turn it on and then you got to disa you can't keep it short so that's what the second relay is for then after programming a little bit of stuff i ended up using a esp uh to run that program so the esp will actually click the relay on for like a second to power on the pi and keep this enabled and when the car turns off this will be disabled and then the pi will shut down and as far as the amp hookup i have it underneath this board as you can see down there i actually have power ground and then accessory power on the right side right there the yellow wire then the red and then the black the amp only turns on when the accessory is in so if you have 12 volt battery and it doesn't turn on until the accessory is triggered and then on the back of that you have your speaker output but ultimately this is a pretty base setup because i don't have much installed yet like reverse cameras or radio fm input or anything like that i'm just trying to get this base and then i'll upgrade from then now one thing i did notice when i was playing around with this is that uh this whole board as you can see it gets hot especially the uh quick charger board so i ended up putting a heat sink on here just to help um shift the heat around so it doesn't melt the board or actually melt through the plastic so i hopefully hoping that that's enough but if not i have bought like i said a bunch of these so i could actually replace it and you know change the model if i need to but this is the standard setup that i have right now now i will be putting this board online because technically this board the bottom one the red one that you see is universal the the holes and everything are uh standard for most radios the width of this is standard for most radios and i have holes dedicated just to install certain things so you can move the raspberry pi around you could move these boards around and you can see this one's hot glued and that one's hot glued for now just to get it in place for testing wise right now you can see the relays are off because this is powered by accessory and once this accessory kicks in it will turn on the esp esp will trigger out the relays to turn on and off the board and then this one is going to be on all the time because this one keeps the raspberry pi board uh powered on now i don't know if you could see this but there's a red light over there that means the board is actually off okay and when i i coated so when you turn on the raspberry pi this will actually turn off the led so i know it's running this way is for my testing purposes so let me place the camera kind of like this so you could see like what's going on with everything i'm gonna flip the switch which i have right here this is a little switch that i made so this is considered the accessory okay this will power on everything and once i flip the switch is like turning the key on the car so there we have it i flipped the switch the relays are on you can see that that light is on now the screen is turning on and as long as i have this switch on the on position it will keep the raspberry pi running and my android auto would kick in now the boot up time takes about 30 so seconds or right around 30 seconds or so i did read online where you could actually use ssd or maybe a usb 3 and you can trim it down to almost 10 seconds on boot up so i might be doing that in the future but for now i'm just going to leave it on the sd card so now that everything's booted up you know what my favorite part i'm gonna peel this to see how well it's gonna look oh yeah that's not bad at all and let me see if i can focus on that now let's see okay i'm not sure if you could see that but the red light on the raspberry pi is completely off and it's staying running i could do whatever i want with it i could uh i don't know go to dashboard click on whatever and it should load everything should be fine okay let's turn off the car or turn off the key and i would flip the switch as soon as i flip it you can see it's shutting down red light comes off it comes on and that's it basically now the raspberry pi shut down all right so that is it for this whole setup i still need to paint this trim and i'm sorry if i'm repeating myself a couple of times it's just because i've filmed this in the course of a week or a week and a half and i might have said some stuff before i've done some revisions on this that might be different from when i first recorded it so now that everything is all set tested i am ready to paint this trim and get this installed onto the car okay so what i got going on over here is some spray paint this is actually for my car um this is the same color code that i would have on my silver wrx some primer and some black enamel paint now i'm using enamel instead of acrylic because enamels last a little bit longer under the heat then i got lacquer thinner so basically what you want is one to one ratio so this is uh whatever this bottle is gonna fill up and then one to one and you want it as a milk consistency so i'm going to paint this frame in black and this is not this matte finish is what i wanted i don't want anything with glossy so it's going to look similar to this maybe i'll clear it and i got my little paint booth here it's just a little bi-cube box 3d printer this box is a really really nice box just taped up the corners this way i have a little area to spray in i might upgrade this later on and put some leds on top and probably a fan in the back for exhaust but for now it's gonna work [Music] so [Music] so [Music] all right so everything is all set up now um it is very clean i also ran the mic up to the top so this is where my lapel mic is uh for now that's where it's gonna stay until i could get it up to right over here so i do have enough slack so i could run over here but that requires removing a little bit of the headliner popping this off and i want to 3d print something that will fit right here so i could put the mic right there but for now that's where it's going to sit uh kind of just chilling over there i could have clipped it onto the back of this but i'm going to leave it like that no it sounds pretty clear not static or anything it sounds pretty clear no static or anything okay that's all i want to know thanks honey i love you bye bye um the android auto everything is working as far as the audio that's working as well uh one thing i didn't include in the whole thing that i was showing you guys earlier was you need a ground loop isolator just to remove the noise if you got engine noise alternator noise or whatever it is you need a ground loop isolator so i have a very old one that popped in that i plan on replacing because the one that i got is is very bulky it's for like tvs and stuff like that so uh to check this out i'm gonna go over to android auto hold on one second wi-fi alright so there you go music works sounds pretty good if i want to change the volume i press that and kind of lower it let me mute that uh touch screen dual zoom everything that works as well uh audio is working i don't have fm on this now originally i did have an idea for fm and i'll talk to you about that a little bit later but yeah i don't have fm on this or reverse camera yet yet hence the word everything does work it works actually pretty well too and it looks very very clean like this whole thing is flush the screen looks like it's it's actually tilted at like a two or three degree angle but as a driver standpoint this actually looks really great there's not much of a reflection uh there is some reflection according to the camera you could see definitely see a lot of reflection but according to like how i'm sitting here and looking at it i don't see much reflection uh i could also control android auto um the music and everything through outside of the app you see that i can still listen to my music uh i don't have my dash gauge working yet the obd2 connector that i had actually blew out my uh obd2 connection so i need to find a fuse to get that fixed up but for now i don't have that but this is how it would look like if i do everything installed now i do want to change this to a huge boost gauge because my car is turbo so i want to see that and i will see a few information that my cluster doesn't show which is uh load definitely throttle air fuel ratio if that's possible oil temp and also like the big boost gauge that's probably mainly the things that i want i've only had this installed for about a day or two so i don't know the long term effects of this it seems that the amp when you're running it for a while it does get a little bit warm on the heatsink uh that's what i noticed the fan that i have on the raspberry pi is using the raspberry pi's firmware to control the fan so once it hits 60 degrees celsius it will kick in so it hasn't been kicking in yet and that's basically about it uh i'm gonna be playing around with this for a few days uh maybe a week or two it is summertime over here so i will be able to actually talk about the heat issues after a week so i'm i'm gonna do a review video after this after like a month of usage in the summer and i probably will do more upgrades to this because uh over here on the center console right over here i do definitely want to put my quick charges here so i will 3d print certain clips over here have it mounted i might want to put a volume knob right over here to control the volume because i don't like pressing the top right corner and right now the method that i have installed seems to retain time so that's why i did it this way so i don't have to use a battery and it doesn't draw that much battery itself but anyway uh i will be doing update videos more install videos once i get the reverse camera installed i will be doing a video for that if i get a fm installed i will be doing a video for that i have plenty of room in the back to run a usb hub so i could start plugging in a ton of stuff i might even do dash cam and have it constantly recording when the device is on so i might even do that i don't know yet but i'll play around with that and once i get the module for auto box i might be able to test out carplay on this uh but i'm still waiting for that usb module that i need to plug into this as i mentioned in the video before i have this this was actually originally on my original car pc that i built a couple of years ago well now 10 years or 15 years ago and this is a usb tv tuner and fm tuner unfortunately this have no drivers for linux and i couldn't get this up and going so i will have to think of a new solution for the reverse camera as well as the fm receiver uh there's that a couple of other things i do want to do is eventually add a usb hub to it add some more modules to this thing and get it working more than what it should be right now again i will be doing update videos on this as far as more things i add to it in the future this way you guys can keep on the progress and seeing uh if there's anything else i could do and if i missed anything in this video that you guys were interested about that i didn't even talk about uh let me know down in the comments below anyway if you guys are new to this channel consider subscribing also hit that bell notification icon so you know when the next video is going to be out and as i say in my nerd cave hack till it hearts
Info
Channel: Novaspirit Tech
Views: 240,863
Rating: 4.8825698 out of 5
Keywords: novaspirit, tech, openauto pro raspberry pi, openauto pro, openauto, open auto pro, raspberry pi, head unit, android auto, bluewave studio, subaru wrx, wrx, 2005, linux, raspberry pi head unit, carplay, installing openauto
Id: RgbHXTHUnQw
Channel Id: undefined
Length: 25min 13sec (1513 seconds)
Published: Fri Jun 25 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.