Installing my Digital Dash DIY RaspberryPi - Episode 44 - Time Attack Miata TURBO Build
Vložit
- čas přidán 5. 09. 2024
- I love a gizmo or two, and this is one of my favourite! A new Raspi dash built and setup to run TunerStudio!
⇊ More ⇊
I USED THIS LINK TO CREATE A POWER OFF BUTTON: www.raspberryp...
SEE HOW I BUILT MY PI HERE: bit.ly/BEAVISRasPi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
►My 2nd Channel:
/ @techbeaver
► SUPPORT ME
JOIN the channel: www.youtube.co...
SHOUT me a Tip: streamlabs.com...
SUPPORT me on Patron: / beavismotorsport
► MORE INFO
Subscribe: bit.ly/Sub2BEAVIS
Join Discord Server: / discord
BEAVIS MS: www.beavismoto...
My Sim Rig: bit.ly/BeavisS...
Facebook: / beavismx5
Instagram: / beavismotorsport
Some videos contain music by audionautix.com
Some videos contain music by www.bensound.com
I don’t like how this looks , but I honestly enjoyed watching this whole video you’re extremely entertaining man
Haha, thank you, I'll take that as a compliment.
Really impressed with your work! Dash looks awesome and video is spot on! Keep doing what you are doing 👍
Thank you Brage! Appreciate the support :)
Sweet setup, I would have used the mounting brackets as retainer. Put the tablet flush on the mount board with the brackets on the inside of the board. Your screen wouldn't be raised and the Pi ports would have more clearance deeper in the mounting panel?
Absolutely could've (and probably should have) done something more streamlined. Though I actually used the brackets to bring the display closer to the correct angle/position to match the original dash cluster as the board it was mounted to was sunken in fairly deep.
@@Bbeavis That makes perfect sense. I'm looking at two different types. They have the ultra wide displays 14.9 inches long by 4.53 inches tall and the smaller ultra wide is 7.9 inches long by 2.5 tall with a 3rd that's 10 wide and maybe 4 tall? The diy perks guy has showed me how to use a display driver for anything right? I'll try to flush mount behind the original bezels with custom graphics I hope. Maybe this winter, I don't have regular heat in my garage so kitchen project?
Put the pie into an enclosure and install a cooling fan on the processor. It will prevent future problems
I do run some small heatsinks on the cpu which should help with longevity.
Get a 5.2 volt power supply (the max voltage for USB), and good USB cable.
If you are worried about the micro USB connector, you can connect the power to the GPIO pins, there are 2 sets of unregulated 5V, the one set is used for power between the screen and the computer.
Thanks for the suggestions Michael. I think in my case it might be the USB cable as the power supply is a 3A 5V unit (supposedly).
5.2 is *not* the max.
NOTE: I have an updated video for faster boot times and latest Pi4 hardware here: czcams.com/video/SVn9uYfEQrA/video.html
And, to answer the Frequently asked questions:
How does it connect to the ecu? - Via USB connection from the Megasquirt MS3 ECU direct to the RasPi.
Why didn't you use XYZ off the shelf product? - Because I like to tinker, and I can customise this how I like.
What about OBD2? - Sorry, I have never tried... I am sure you can find info online though!
Awesome & Awesome
Thanks and Thanks 🤗
Holy crap you’re a virtual twin for British actor Andrew Scott. He played Moriarty in that British modern version of Sherlock Holmes (the one w/Benedict Cumberbatch). It’s uncanny.
Lol, I'm not familiar with him but thank you for making the comparison :-)
Well done, I like the idea. I have been following megasquirt for about 15 years I think
Thanks dP. Have you ever used a MS in a vehicle? By the way I too have got some vids coming soon on some of the ToolPro gear you did a review on recently.
Nah I never did as we had other solutions for the OEM ECUs. MS was such a cheap good product back then for basic EFI. Yes SCA has been very receptive, I saw you were onboard too ;-)
Great write up! The only other thing I wish TunerStudio had is a GPS lap timer, but that is somewhat out of the scope of that software. As is we still need to run another device to handle lap timing. Still, this gets you 8/10ths of the way to a Racepak style dash for 1/10th the price. Nice job!
Yeah it's a great value solution, but It'd be great if there was an easy way to log complete data in the one place... so be it. I usually use Racechrono on an Android phone and overlay that with video.
Thanks for these videos man!!!!! 💯
No problem!!
the little lightning bolt you get in the top right is the pi telling you it doesnt have enough power. it does have enough to run and to do what you want but you do lose some performance and it may lock up on you sometimes.
Yep I mention that in the video at 11:20. Thanks for watching buddy.
@@Bbeavis i probably skipped over that lol and yeah np i was looking up what people have done to do the same thing in my car
@@strato_5459 I now run 2 power supplies, one for the screen and one for the Pi. And i disconnected the power bridge wires between them.
@@Bbeavis that should be perfect
Could put lights behind the screen? So the light would bounce off the white 🤷🏽♂️
Anything is possible. could even have the Raspi power them.
The please don't forget safety stuff pushed me from considering subscribing to subscribing xD
Thanks Michael J :-)
Good job Guy ;oP
Thank you.
Awesome man, looking forward to seeing the dash display on there, might do this to my mx5 actually 👌🏻
It's a cool idea, but keep in mind you may lose fuel level and odometer on a street car.
BEAVIS Motorsport defiantly, maybe I could reposition the dials around the screen 🤷♂️
Great video! I'm definitely intrigued!
Thanks Starter Garage, I appreciate the kind words!
That is so cool!
Thanks for watching WarDuck.
looks cool, but I'm wondering about the vibrations and that ribbon cable on the edge of the opening.
Fair point, I'll double check it to ensure it's not going to wear. Thanks for the tip Wayne.
can you not get a better result by just using realdash on a tablet?
Sure, except this is much more custom and DIY. Many ways to skin a cat.
can i make that digital dash with raspberry and only connect through the obd port?
Hey, If you wanted to use OBD2, perhaps the OpenAuto software would work for you as the TunerStudio software mentioned here is for the Megasquirt family of ECU's.
Hope that helps!
That little lightning icon means the amperage supply is too low. The Pi is underpowered, so it might be worth looking into a solution that can deliver at least 2.1amps to it.
Yeah that is my understanding, but it seems the "3A" power supply I have isn't really 3amp.
If you're using an el-cheapo or chinesium power supply, stop using it immediately. It won't be able to adequately protect the Pi against surging, and messy alternator power is frisky at the best of times - and you're also powering the screen through the Pi I assume, which increases the requirement for stable current.
Most cheap 12v supplies use the LM7805 voltage regulator. This can only ever supply around 1amp, and they often don't come with a heatsink which is against specification.
To properly engineer a solution, I'd look to something that's used to power long-life-service equipment, such as instruments on buses or lorries. You need something that will last for at least a few years, and cheap shit just isn't going to cut it - especially not if you're tucking it away behind the dash. Here's a possible solution at about thirty quid: www.powerstream.com/dc-dcz0503.htm
Im just a little confused on how you put power to the rpi??? Everything ive seen makes it use a normal outlet plugin to power it. Trying to add this to my MS setup but im not sure how to make it receive the power it needs. A little clarification there would be awesome.
And then im guessing the rpi connects straight to my MS ecu through its USB-b to regular usb on the rpi???
I figured it out. Looks like ill need to pick up a micro usb adapter. The rpi only needs a 5v signal to properly work correct?
Hi, it uses a 12v to 5v converter then a traditional micro USB cable to the raspberry pi. And yes, the megasquirt MS3 is a usb connection direct to the standard USB on the pi.
So it powers up with ignition. But how do you safely initiate the shutdown sequence. Or are you just pulling the power?
Yep I setup a shutdown button, the info is in the description.
Hi, Did you ever finish the project and apply your custom dash layout? Great job, looking to do something similar for my EV.
Yep, all working great, you can see it in action with my latest dash design here: czcams.com/video/I3_oVtYdUH0/video.html
Would work with holley terminator efi system? And did you set up fuel level gauge?
The TunerStudio software won't work with Holley, so you'd need something else, such as OpenAuto or OneGauge.
I have the fuel level feeding into my ECU so yes I can display it on the dash.
Thank you much appreciated reply .
Also looking use raspberry pi 2w for wirless usb from holley terminator to laptop USB Bluetooth or wifi ?
There is a way to disable that rainbow splash screen and also add custom splash screen like a mazda logo or something
On very first boot up? Nope I don't think it's that easy to change as it's at a hardware level, not part of the operating system.
BEAVIS Motorsport yingtongli.me/blog/2016/12/21/splash.html
@@xyzebruh1083 Oh, cool so sorry I didn't realize you said you had done it! That's great well done and thanks for sharing.
BEAVIS Motorsport no problem, I have built a few custom raspberry pies for friends and family and played around with the splash screens before
What ECU is this plugged into? I have the same Pi w/screen and I love doing stuff like this.
Megasquirt MS3
Great to know, I have heard of the Megasquirt quite a bit but I haven't looked into it yet.
nice! I wanna see that awesome dash screen you made in photoshop!
Check this clip out from when I first created it Luis: czcams.com/video/fqnVJwmXLkA/video.html
Awesome stuff! Looking to do something similar to my daily driver. Have you been able to reduce the raspi boot time at all?
The 60sec or so startup time doesn't bother me as I always have the car started and idling for a few minutes to warmup before driving on track, so I never even notice the startup time.
Does it read ODBII or is it somehow taking the same inputs as the old analog gauges?
The Megasquirt MS3 ecu has a USB to serial interface the connects to the PI via a USB port. There is no ODB2 used in my case.
you need power to ur rasberri pi as well. that lightning bolt means ur underpowered
Hey Sean, I've tried running power into both the screen and he Pi itself, they seem to always still show the little lighting bolt, so Im honestly not sure what the deal is!
Fast and furious car sceeens
Danger to manifold.
I'd like to do this on my mr2 spyder, I realise this is an old upload but does anyone know if this works with an apexi pfc?
Unfortunately this particular software is for a Megasquirt ECU only.
Can you use it with your stock ecu ?
Unfortunately no, this specific software I've used won't work on the stock ECU.
Do you know if its possible to set the Pi to boot straight to the gauge cluster? No splash no main OS screen BS
You sure could, with enough tinkering with the OS and tuner studio app. I've modified my splash screens and boot-up screens, (although not removed them completely)
I want to retrofit a Audi digital dash in my Hondas or land range rover cluster or bmw just need software and converters for tach gas temp speed ect..
Oof merging different car manufacturer hardware, that would be complex.
Nice job, I looked at doing this with mine but I was worried about seeing the screen in bright sunlight?
Shouldn't be too bad as long as its mounted back inside the gauge hood to keep direct light off.
Get a matte non glare screen protector, if there not available direct fit, get an ipad one and cut it to fit
Hello sir, just a question. I am trying to get the tachometer gauge to work on the raspberry pi. I have tunerstudio on megasquirt 2 pnp. How did you connect ur speedometer signal to megasquirt?
I have the NB MX-5 speedo sender wired through a VR conditioner from JBPerf, into the Digital Frequency Input of the Megasquirt.
Are you just cutting power to the pi to shut it off? Planning to install something similar soon but trying to work out how to power down the pi so I don't corrupt the SD card
No, the first link in the description shows how I created a power off button.
What are you doing when its time to turn off the car, Do you just turnoff the power to the raspberry or shutting down the raspberry and then turning off the car? i can see having to shut down the raspberry every time you turn off the car would be a pain in the ass.
A very fair question. I plan to hook up a push button to one of the gpio's to shutdown the PI safely before powering it off completely. It's the simplest and least convoluted way to ensure the onboard SD doesn't suffer any corruption.
ive done a bit of research, there are a few auto shut down devices, but nothing i like so im putting together one myself. it will auto power on with ignition and run a shut down script to power off then ignition is turned off and then cuts the power to the raspberry so it wont run the battery flat.
To keep my setup simple, I've wired in a button to GPIO 21 pins 39 & 40 - have a look here: www.raspberrypi.org/magpi/off-switch-raspberry-pi/
where can i buy from raspberry pi USB port to ecu port harness Connector
I'm running this dash in a track car that uses a Megasquirt MS3 ECU.
The ECU has a standard USB cable direct to the Pi.
Did you ever find anything on vibration?? Looking to do a similar idea on my 2016 harley roadglide but instead of going all out right away with gauges and ecu interface. I just want to start out with replacing the blocky non user friendly radio and screen with the raspberry pi osmc since I pretty much listen to my own music 100% of the time anyways. Love the video! New subscriber here!
Thanks Cody, sorry not sure what you mean regarding "find anything on vibration" ?
I would dearly miss my earballs.
:-)
will the speed gauge work with a na8 miata with the megasquirt ecu?
As I assume you are aware, the NA uses a mechanical speedo drive to the OEM cluster. So unless you address that in some way, no obviously the Megasquirt will not know the current vehicle speed. Easiest solution is to wire up an NB speedo sensor with a VR conditioner as they bolt onto the NA transmissions.
@@Bbeavis yeah I'm aware of that I was thinking you might have an idea what to do i was maybe getting a ardino to translate to speed to the pi
@@Bbeavis also thank you for the 3d models BTW the vents do fit on na miatas
im wondering if the RPi ended up dying cuz of bad power output to it ? did you end up adding a 12v to 5v hooked to ignition so it wouldnt die or did you manage to find the proper powersupply ?
It's still going great :) I now have two 12v to 5v converters that output 3A, one for the screen, one for the pi itself.
@@Bbeavis sweet, sick build and great choice of SBC :)
Very cool.
Thanks Sean!
Safety first, no body wants faceballs haha
Haha, glad you enjoyed!
hi how did you connect the car to the ecu.. I have a only car nissan 05 altima
Hey, Bobby, The Megasquirt MS3 ecu has a USB to serial interface the connects to the PI via a USB port.
@@Bbeavis Do you mind putting the link to it in the video description? I don't know if it will work on my 2005 nissan altima but it might help someone else.
@@roystervi There's no link sorry mate, it's just a USB cable straight from the ECU to the Raspberry Pi.
Hola quiero hacer uno para un mitsubishi lancer 2008 que devo de comprar hrasias
Buena suerte
Cool
Thanks for watching UYC!
Can you use it for data logging, does it's internal clock need to be near a net work or wifi after initial set up?
Yes it can do on board data logging. The real time clock is not maintained when power is lost, but will update to an NTP server if reconnected to the internet.
How do you say to start getting into stuff like this? What resources do you recommend to have on hand?
Maybe try this video: czcams.com/video/nWxHiaaI35s/video.html
Do you have to run a mega squirt ecu for this to work? Haven't been able to find any info on this.
I would also like to know the answer to this
You could run an ODB2 interface to an OEM ecu perhaps. For me, TunerStudio software connects directly to the Megasquirt ECU. It will depend on your car...
Can it be used on a motorcycle?
I guess you can use it wherever/however you want.
@@Bbeavis I'll have to keep it in mind when I build a custom bike. Than
The one comment mentions boot time I was curious what it is for you
I've never honestly timed it, but the time i start the car, get strapped in and put my helmet on, it's well and truly booted up. I'd say around 40 secs.
did you just run the power cable and cut it open and splice it into positive and negative off of your accessory? contemplating doing this for my build
I'm running a pair of 12v to 5v dc converters. Keep in mind none of the wiring in the car is very OEM anymore... it's pretty customised now.
How does raspberry pi hold up to constant race car vibration?
No far no issues. Can't see how it's any different to any other PCB, say the one in a car stereo or the cars ECU.
@@Bbeavis thanks mate , just got the pi4 eager to get it in ..I went with a "longruner 7" touch screen " bezel is thinner
would you make me one of these! is it laggy at all?
Haha, I have a guide on how you can build your own, detail is in the description. It's not particularly laggy no.
Is there such product available to general public, a digital dashboard to peel off as a sticker and apply on top of one’s analog displays?
Ummmmm, use a mobile phone?
Run a raspberry Pi on android and install an app that works... This solution is for obd.
Bloody good that. Awesome to have tuner studio on the dash!! Really like. BTW, how many MX's ya got? 2 or 3 I think?
Currently have 5 at home Don :-)
start yer own club!!
Hah, I basically already have I think :-O
You used a wired OBDII dongle connecting to the Pi USB ports ? I can still use the bluetooth capable OBDII dongle as long as my Pi has BT and WiFi on board right ? I have a 3 and 3b+ , So I can go wireless with this build right ?
I am not using OBD2, it is an aftermarket standalone ECU with a serial to USB interface. Yes, you could possibly use a bluetooth/wifi OBD dongle if you find suitable software for it.
@@Bbeavis Meaning tuner studio is not compatible ?
@@DDBAA24 Tuner Studio is software built specifically for the ECU in my car, have a look at www.tunerstudio.com/index.php/tuner-studio
Just keep in mind the security risks of a Bluetooth ODB dongle, the Bluetooth will be on at all times, even with the car off.
How did you connect the mega squirt to the raspberry pi ?
It is a USB cable direct from the MS3 PnP Pro to the raspberry Pi.
Ok thank you so much
Where is the usb power cable getting the power from? The megasquirt?
I have a separate 12v to 5v adapter. Definitely not from the MS3 itself.
@@Bbeavis thanks!
What connection to the obd2 port did you use? Usb, bluetooth, wifi? Is it lag free?
The Megasquirt MS3 ecu has a USB to serial interface the connects to the PI via a USB port. There is no ODB2 used in my case.
How do you power so that it automatically starts and shuts down properly when you turn the ignition off?
It powers up automatically when the car is on, and I power it off safely using a push button as per this guide: www.raspberrypi.org/magpi/off-switch-raspberry-pi/
Did you make it function correct? Like if you forget to power off the RPI before you turn off the car (or by accident car goes off), the RPI turns off immediately?
Hi Chris, with the simple push button, the button must be pressed before powering off the car, or the pi power source will be cut. There's no other clever gizmo's to safely shutdown the pi. As long as the button is pressed, all is well - it just requires me to be attentive.
Hi! Awesome video man! Did you ever get around to designing the digital guages? If so, was wondering how you did it. Thanks!
Hi Anthony, play around with Tunerstudio, the built in designer is very customizable.
BEAVIS Motorsport Awesome!!!
In the process of mine currently but tunerstudio won’t detect the firmware in the megasquirt due to the com ports usb to rs232 drivers, did you have to install any drivers?
I did not do anything special drivers, but I'm using the ECUs on board USB headers, whether that makes a difference.
What do you use to get the data to the Pi?
The Pi connects to the cars ECU via a USB cable.
Can I do this setup to an old school Car say like a 75 Eldorado?
In this case it works with a Megasquirt ECU.
you end up doing everything i want to do to my mx5! its creepy man...
It's ok, we are just kindred MX5 brothers.
What's the name of the song running for short snippets in the video?
Hey CessnaacePVP, here's the full list of songs throughout the video:
Kermode - Christian Nanzell
Nothing To Lose 1 - Johan Svensson
Grizzly - Christian Nanzell
And The Sky Shall Unfold 2 - Johannes Bornlöf
BEAVIS Motorsport Thanks man!
Great videos by the way!
New subscriber here!
Awesome, thanks EvilCreedy!
Any chance i could buy a set of those brackets? i dont have a 3d printer
Hi Drundt58, You can download the design for free from here, and have a friend or 3d printer service print it for you:
www.thingiverse.com/thing:3680877
can you do a video on your aero in your car
Hey Tech&Co, I already have a collection of videos specific to the Wing, some on the Roof, and some on the underbody/floor... check them out. Is there any other specific info you would like a video on?
BEAVIS Motorsport yes a notice that after checking your CZcams channel, it's nice that you doing all the aero on your car
Thank you Tech, let me know if there's any other detail you're interested in knowing more about :)
Unfortunately a Pi is a terrible choice for something like this. Long boot times, and if there is any sort of power interruptions it may reboot and might corrupt the SD card. Plus the SD card slot is prone to failure even in regular use, which means a lot higher failure rate under vibration, moisture, etc. In my experience they are sensitive to power such that momentary brownouts corrupt the SD card so at the very least a small battery is required to power the Pi and allow it orderly shutdown. There are SBCs with built in flash (BeagleBone Black for example) that eliminate the SD card as an issue but still suffer long boot times unless you configure it to sleep. Better would be a dedicated processor with enough memory (Arduino Mega/Atmega 2560, ESP32, ESP8266, etc.) and screen with a supported software library.
Hi Aaron, in my particular case bootup time is not a concern as this isnt the kind of car you just start up and and immediately drive away. And, I'm not exactly using the dash for common dashboard needs, the key information is engine health and monitoring such as oil pressure and coolant temp etc. With regard to the SD failures, I've never had an issue thus far, and I have a power off push button installed which I press to safely shut down the Pi before cutting the power.
Sorry to hear about your recent garage break in, you've been quiet lately, I hope the cosmo will see some more videos soon.
You would avoid this by making the root filesystem read only, guide for how to do this with raspian is here hallard.me/raspberry-pi-read-only/
Ah yes, good point that in a race car you'll have time in the pits preparing the vehicle before use. Only concern is if it crashes out on the track. It might be distracting. Could be mitigated by putting a big capacitor (10,000uF) in parallel with the Pi 5V supply, and epoxying the SD card into the holder. I looked into using an SBC like Orange/RaspberryPi, BeagleBone, etc. for the dash in my Cosmo as I am about to do something similar but settled on using several Arduinos to read the CAN bus data and run steppers, LEDs, etc. mainly because of bootup and long term reliability concerns. The break in sure sucked, and came at a time in my life when it was the last thing needed. But I am still working on the Cosmo whenever I can between other projects (the biggest of which being the full gut and rebuild of my house) and hopefully will have an episode soon.
Not gonna argue the boot times :D but honestly, by the time you are on the road, it's up and running. With a little bit of work, you can squeeze those bugs out. I'm using dual raspberry pi's in our #teslonda, proper insulation, wiring a good DC/DC converter, you're good to go. To avoid an SD corruption, I'm using the Petroblock Powerblock, with a keyed signal to turn it on. Before I went that route, I put a readonly layer to prevent any corruption issues. For power, I'm using a 12v-5v buck converter and good gauge wire/usb to provide a strong 2.5a/5v to each unit. The pi3 has plenty of memory and processing power to do what you need. (at least for me)
It's a great and fun project and yes, if you were serious about making this industrial level/sellable, you would move to a better PCB solution, but for a fun kickass DIY project, go nuts. As long as it isn't supporting critical car functions, I say have a blast. Love what you did with the Bezel, BEAVIS Motorsport.
I just want an enormous android tablet attached to the dash running waze horizontally
You can do it GZA!
Android auto... Can be run on pi dash too
@@ianpiekutowski2341 how
👌
Thanks for watching Carlos :)
do you have a link to the stl file you used for the mounts?
I will upload them to www.thingiverse.com/bbeavis/designs for you in the next few days Thomas.
Thank you very much!
Try cranckstaff android auto
Thanks!
Bro how to run it in real time ??
Sorry buddy I do not understand what you are asking.
@@Bbeavis bro I meant , there is a delay in data on my tablet screen through obd, how can I het a realtime data without delay ??
Do you got my point bro
Is there a USB to ECU cable that you recommend?
No I just used whatever I had lying around at home.
I feel this guy needs a glass of water
Nah that's just my naturally slightly husky and slight feminine voice.
Please do not use the background image which is red strips with white on raspberry pi because it’s a criminal flag of The 2nd world war from Japan.
I felt really bad. You look like using Hakenkreuz flag.
If you know the history of killing people from the meaning of the flag, you shouldn’t have use that background image
I presume you are Korean. The Rising Sun Flag is very commonly found on posters, branding, newspapers and comings and seen in general day to day life. I'm sorry if you associate certain shapes with negativity.
I'll use whatever image I wish, it is my Pi.
what hate to you is love to the rest of us SMH bigot
Linux FTW!
Haha
Please do not use that background image; that Japanese symbol is like Hakencreuz of Nazi
Are you Korean?
its nicer of you gut a sec piece of plastic that fits around the tablet and than flock it !!
:-)
Cool
Thanks for watching Kevin!