Make A Smart Car Digital Display - DIY Smart Car (Part 4)

  Рет қаралды 78,010

Tinkernut

Tinkernut

6 жыл бұрын

Did you know that the first speedometer was made by Charles Babbage? The same guy credited with making the first mechanical computer! Random fact aside, in my efforts to make my own "Smart Car", I want to make a digital display that shows the cars current speed, RPM, and engine load. It's all gonna be in Python, because I love Python and Python loves Raspberry Pi's. Also, I love Raspberry Pi's. Anyway, if you missed any of my smart car series, just click the link below!
• Homemade Smart Car
____________________________
💖💎💖💎SHOUT OUTS 💖💎💖💎
____________________________
Special thanks to www.hackster.io for their support of this video!
_____________________________
📲🔗🔗📲 IMPORTANT LINKS 📲🔗🔗📲
______________________
Project Page - www.hackster.io/projects/8641ca
Python OBD library - python-obd.readthedocs.io
Pygame - www.pygame.org
_____________________________
💰💰💰💰 SUPPORT THE SHOW 💰💰💰💰
______________________
www.tinkernut.com/donate
_____________________________
🤔💡🤔💡 SUBMIT YOUR IDEAS 🤔💡🤔💡
______________________
www.tinkernut.com/ideas
____________________________
📢📢📢📢 Follow 📢📢📢📢
____________________________
redd.it/5o3tp8
instagram.com/
/ tinkernut
/ tinkernut

Пікірлер: 96
@garzonimpleks
@garzonimpleks 6 жыл бұрын
One thing I would add would be monitoring for the erro codes and other less visible information like engine temperature. Also personally I would not put speed and RPM since the car I drive already has it on the gage cluster.
@thatguyontheright1
@thatguyontheright1 4 жыл бұрын
I'd do it because my Spedometer is analog and falls out of sync.
@martinsvardsjo3925
@martinsvardsjo3925 3 жыл бұрын
Been battling the connection errors with the python-obd module for quite some time now. Really helped me out, thanks a ton!
@EricWohnig
@EricWohnig 6 жыл бұрын
I would get those little bluetooth tire pressure gauges to put on each tire and see if you can get the raspberry pi to talk to them.
@JohnDoe-fl9xe
@JohnDoe-fl9xe 5 жыл бұрын
This ringing everytime drives me CRAZY!
@lukar8154
@lukar8154 6 жыл бұрын
That was awesome.
@Manu321024
@Manu321024 6 жыл бұрын
I'd add approximate gas consumption combining the data from the rpm, motor load, speed, and past mileage history. You could also collect your driving data every 5 seconds or so, export it after each day and use it to do big data analysis (useful graphs, data on best hours to go to particular places based on gas consumption, driver recognition/mood estimation based on driving style with machine learning classification,...)
@spkrman15
@spkrman15 6 жыл бұрын
Cool project. For me I would be fuel curves and power output levels. You have done a lot of work here.
@WelcomeToMyDream
@WelcomeToMyDream 6 жыл бұрын
Sharks with frikkin laser beams on their heads :) Very cool project.
@xXxSolidIcexXx
@xXxSolidIcexXx 6 жыл бұрын
i can you make a Tutorial on how to build a readout for issues of the car this would be really useful !!! great Video man learned a lot !
@joshuahaley5767
@joshuahaley5767 6 жыл бұрын
Have a button to display car engine faults? Keep up the good work
@atom6_
@atom6_ 5 жыл бұрын
Why not use a webserver, run a browser in kiosk mode and push the data to a page, you'll have more flexibility in css.
@Mikey-Likes-I.T
@Mikey-Likes-I.T 6 жыл бұрын
I would have the basics, Speed, Temp, Volts, if you wanted you could add a RPM gauge, and even more for diagnostics, or even make it so that when an event happens like oil pressure drops you can get a red light that the text "OIL" on it. you are off to a good start though
@brianpiper3188
@brianpiper3188 6 жыл бұрын
I think displaying check engine codes would be cool!
@KiemPlant
@KiemPlant 6 жыл бұрын
I love this project. I really want to do this.
@quintenlibert7076
@quintenlibert7076 6 жыл бұрын
KiemPlant Well,just do it then😂
@ravikharb
@ravikharb 6 жыл бұрын
For a better interface you can design a webpage and host it using flask. Flask is very easy. The difficult part would be designing a dynamic webpage using JavaScript. But if you have any experience with web design, this would make it easily expandable and more versatile. You can ask your community to design a template for you if you aren't experienced in web design yourself. Loving this project so far. Waiting for the next installment.
@techno_john
@techno_john 6 жыл бұрын
Step up from that would be to use Dash (by Plotly) and you'd have all sorts of neato widgets and graphics!
@alwaysadventurous7905
@alwaysadventurous7905 2 жыл бұрын
Needs BOOOOOOOOOSSSSSTTT
@OliverBrownproductions
@OliverBrownproductions 6 жыл бұрын
You should combine the back up camera and the readouts into one interface now
@Tinkernut
@Tinkernut 6 жыл бұрын
That's the hope!
@Celcius1
@Celcius1 6 жыл бұрын
I'm looking at doing the same thing but I'm exploring using a FPGA to give me the extra features I need as my car has steering wheel controls etc.
@renjithwarrier7693
@renjithwarrier7693 6 жыл бұрын
I would also like to add gauges for displaying the instantaneous torque and horse power produced by the engine. Also specs like air fuel ratio would be cool.
@UpsideGam3r
@UpsideGam3r 6 жыл бұрын
fuel economy!! that would be neat calculated from like speed and load or something
@OffTheBeatenPath_
@OffTheBeatenPath_ 11 ай бұрын
I can confirm this works on a Raspberry Pi 3B+ A bit finicky, but it did work.
@kokas466
@kokas466 6 жыл бұрын
I'm gonna buy a car
@SoundOfYourDestiny
@SoundOfYourDestiny 4 жыл бұрын
Cars make great cases for Raspberry Pis.
@GautamKumar-cr7tw
@GautamKumar-cr7tw 4 жыл бұрын
I would like to see the power output from the car. Your videos really help a lot and I am working on the getting my power outputted and logged to a file for later analysis. I wish I could send you an email on the updated code once I finish. But thanks for the great videos.
@casewhite5048
@casewhite5048 6 жыл бұрын
why the engine light is on and any other problems with the car oh and jarvis
@Mauzy0x00
@Mauzy0x00 6 жыл бұрын
For load (I’d assume that’s throttle position?) I would have it as a bar like in the new civic SI. I wouldn’t have the speed but instead a boost gauge (although I don’t think your corolla has much boost 😁.). And definitely an alert window that would notify you of an engine code. Maybe another window for lateral Gs and/or. A 0-60 timer. Anyway could this setup be used for changing some properties of the car??
@kaloianigeorgiev
@kaloianigeorgiev 6 жыл бұрын
If you start loving JavaScript, you can give NodeRed a try. It has a very good dashboard and can call Python code if needed
@Niko_suave86
@Niko_suave86 6 жыл бұрын
Can you make each gauge have a needle animation, and also tie into the other sensors like engine temp, battery voltage, oil pressure...ect. Pretty much all the info your odb puts out. Make info your current gauges are give or specifics of the ones you have.
@basit971
@basit971 6 жыл бұрын
i would like to see the data transmitted to an app on a phone, connected by usb/lightning port (more secure i think) or through bluetooth. i think that would be awesome
@jothain
@jothain 6 жыл бұрын
Hmmm. I think it would be fairly easy to change you speedometer to nice heads up display with some high brightness vdf display. Though I think there's already plenty of aftermarket displays available.
@jurajb6535
@jurajb6535 6 жыл бұрын
Maybe add music player (from your phone) and google assistant.
@GBFGO-PLAYER
@GBFGO-PLAYER 5 жыл бұрын
Just for fun I wanted to try this out, however, even after entering 'pip3 install obd' (since I'm running python 3.5.3 on my pi) and rebooting my Raspberry Pi 3 numerous times, when I try to run your finalized code for the HUD, only a black screen is displayed. what could be wrong?
@fila1445
@fila1445 6 жыл бұрын
What woul i add ? Oil temp Oil preassure Water temp Intake air temp Battery voltage
@strangequark9571
@strangequark9571 Жыл бұрын
Hi, how did you power the rPI and the screen? Did you use 12v-5v converter?
@joschkaauer6514
@joschkaauer6514 6 жыл бұрын
This question is completely unrelated to this video, but it didn't seem as though you were responding to ones on the original video. About 4 years ago you made a raspberry pi cluster copmuter - can you run programs with GUIs using the cluster, or only python/C++ files?
@idko5452
@idko5452 6 жыл бұрын
For next project, combine camera and OBD... normally you will have screen with gauges, but when you shift to reverse, the camera will turn on and screen change to video of rear cam... allso you can add some features like radio, more gauges, door open screen (if OBD have it) and so on, there is a lot of things you can add :) btw. great video ;)
@glen4cindy
@glen4cindy Жыл бұрын
I drive a Prius. There isn't a gauge or display for coolant temp. I've used Hybrid Assistant and this is one of the readings available. This is one I would add if I were to make my own.
@theSEGAtwistisover9k
@theSEGAtwistisover9k 3 жыл бұрын
this is pretty cool but obd is kinda old hat now i'd love to see you do the same but with canbus 😀
@TheQBall1977
@TheQBall1977 6 жыл бұрын
How about engine temp as a bar graph / chart along the bottom?
@zo4030
@zo4030 5 жыл бұрын
Maybe you can use red-node and red-node-dashboard to make your interface
@thatguyontheright1
@thatguyontheright1 4 жыл бұрын
What would I add? MPG Ambient Temps Engine Temps Maybe an option to give you trouble codes Voltage monitor to keep track of your battery or alternator
@stefanstroie
@stefanstroie 5 жыл бұрын
I would add to that real time fuel consumption, average fuel consumption and how many km you can run until you need a refill.
@outdoorwithzee1298
@outdoorwithzee1298 5 жыл бұрын
Can we detect the brake pad thickness and harsh braking events ?
@harmonic5107
@harmonic5107 6 жыл бұрын
My car doesn't have approximate fuel range, so I would add that to the screen. All you would need to know is your car's tank capacity, and the mpg your car gets at certain speeds. Then just have it average your speed, take that value against the mpg chart, and read the gas level. I assume gas in cars is not mechanical, since it goes all the way down when the car is off... but I don't know.
@tec4303
@tec4303 6 жыл бұрын
A HUD! You need a heads up display.
@ProXicT
@ProXicT 5 жыл бұрын
Although I think I come late to the party, I think I still can add my two cents. Maybe you could also show the fuel consumption together with a price of one trip... You'd have some button which would reset the counter and some input which would allow you to enter the price per gallon. That would be pretty cool I think! ;-)
@Deserthacker
@Deserthacker 4 жыл бұрын
That's a great idea! For even more awesomeness you could pull that data from some online API in real time.
@adityarupalidarshan2604
@adityarupalidarshan2604 6 жыл бұрын
Tinkernut could to please tell a good and free place to learn Python and the raspberry pi terminal.
@PacoOtaktay
@PacoOtaktay 6 жыл бұрын
I would also add fuel level and engine temp?
@boyboy3.0
@boyboy3.0 4 жыл бұрын
Why did you use an engine telegraph when you said "speedometer"?
@186scott
@186scott Жыл бұрын
I am making a digital Speedo for my car and can't work out how to get it to display the speedo needle and another a catch is I have not got an OBD II port as the car has a carburettor and I will be using a PWM that pulses X times per 1 revolution so would be good to see how to do it
@KanyeNotheastern
@KanyeNotheastern 6 жыл бұрын
this is super cool and i want to do it but im terrible with pi's. i would make gauges of sorts and have them fill up based upon the load/speed/rpm. what other data could you display on this setup?
@Tinkernut
@Tinkernut 6 жыл бұрын
When you say terrible with Pi's, do you mean terrible with Linux? Cause basically I'm just using it as a small linux box with bluetooth.
@KanyeNotheastern
@KanyeNotheastern 6 жыл бұрын
yeah pretty much. im not familiar with any of the commands and i cant make it do anything useful
@ColinRichardson
@ColinRichardson 5 жыл бұрын
But but but.... Python.... Errg.... It's the grand daddy of coffee script, and that is errg too
@rorylange6407
@rorylange6407 Жыл бұрын
what version of python are you using
@redfillproduction
@redfillproduction 6 жыл бұрын
i would make the background black with blue outline and text
@octaviofranciscosalcidoroc9226
@octaviofranciscosalcidoroc9226 11 ай бұрын
Hello, I have 8 lines of voltaje connected to some small lamps , some of this lamps will bécame on if 12 volts is on the líne , some voltaje is pulsed and if there is a voltaje there then the lamp will blink and a buzzer will sound , so I need to send this info to a cell phone, this task May be accomplished with a raspberry pi or arduino or what May I do?
@AndriusKamarauskas
@AndriusKamarauskas 6 жыл бұрын
Ok that's it, im buying Raspberry Pi !
@VampiresDarkCreed
@VampiresDarkCreed 5 жыл бұрын
OK that's it, I'm buying a car !
@rajveersingh2056
@rajveersingh2056 Жыл бұрын
bro, what to look for gear value?
@piyushkumar-cv8co
@piyushkumar-cv8co 5 жыл бұрын
Sir, actually I wanna know how to put all these data to the web in real time.
@rakeshramanukolanu3751
@rakeshramanukolanu3751 5 жыл бұрын
how can i use Cobra WIFI OBD2 and do the same
@majik3679
@majik3679 5 жыл бұрын
please help. I get the circles on the screen... in SCREEN i also get replied commands... but once I try to put text to pygame using your script i get connection.watch(obd.commands.SPEED, callback=get_speed) NameError: name 'connection' is not defined If I could get past this part it probably would be all clear.... heeeelp! And thank you for your awesome videos!
@turgut104
@turgut104 6 жыл бұрын
Yandex Navigation? Google maps?
@cavosavosk
@cavosavosk 6 жыл бұрын
i would install android (somehow ) on raspberry and use app called Torque PRO yes it is very simple but give it a try with your smartphone
@Roomsaver
@Roomsaver 6 жыл бұрын
Juraj Konečný You can install Crankshaft on the Pi and run Android Auto
@sniff122plays
@sniff122plays 6 жыл бұрын
It is un comm on like a comm port
@hotchicken2852
@hotchicken2852 5 жыл бұрын
you can only add the things your ECU can read
@vaibhavyadav1409
@vaibhavyadav1409 2 жыл бұрын
I am getting 'vehicle speed' is not supported error can anyone help Thankxx
@FlameSoulis
@FlameSoulis 6 жыл бұрын
Wait.... Python.... Qt.... oh my lord... how far has this gone?
@KevinRoper1981
@KevinRoper1981 4 жыл бұрын
My brain hurts
@KanyeNotheastern
@KanyeNotheastern 6 жыл бұрын
also what display are you using?
@Tinkernut
@Tinkernut 6 жыл бұрын
It's the official Pi touchscreen
@miguelvargas1865
@miguelvargas1865 Жыл бұрын
i tried this the first error i got was attributeerror: module ‘obd’ has no attribute OBD and now i am getting the same error with using Async. Anyone know the problem?
@cianquigley6495
@cianquigley6495 6 жыл бұрын
Add a visual representation of your gas tank
@mathix420
@mathix420 6 жыл бұрын
I think Kivy would be more beautiful and simple
@Tinkernut
@Tinkernut 6 жыл бұрын
I like Kivy. Definitely nicer interface, but I disagree with it being more simplistic.
@pythonsimplified9576
@pythonsimplified9576 3 жыл бұрын
l could use QtQuick to improve the interface.....
@wowfirebat
@wowfirebat 6 жыл бұрын
GPS would be useful
@Doile911
@Doile911 4 ай бұрын
I would rather not display these 3 values, but oil pressure, oil temp, engine temp, turbo pressure, DPF current filled value, DPF "needs to be emptied" warning light, and others.
@greg778123
@greg778123 3 жыл бұрын
why not go right off the canbus im going to try it on a boat with 2 engine's
@mryousif6627
@mryousif6627 6 жыл бұрын
This is way too hard. Where can I pay something that does the same thing?
@lucapanjer
@lucapanjer 6 жыл бұрын
Hack into your CANbus and control your ac, windows and so on.
@Koupip
@Koupip 5 жыл бұрын
if i was as smart as you are, i would make a coat with all of this inside of it so that it would scan everything going on with my body, aka heart beat, heat, hydration. maybe hook up a camera to a pair of glasses via bluethoot on my shoulder with a rasbery py on my wrist.
@rqinn
@rqinn 3 жыл бұрын
For anyone that tried this out I own a Fiat Barchetta from 1997, unfortunately the OBD2 on this model wasn't implemented... They're only available from the model in 2000 and older However fiddling around and finding on the internet showed that i could use the OBD3pin from the ECU (Engine Control Unit) with an adapter for OBD3pin to OBD2 I was wondering however, would like work with the code given and the program if i use an adapter? I'm afraid that i won't be able to get the wanted data out of this... I'll try regardless of this comment getting answers and update if anyone asks, but if anyone could update as i can't wait to receive my adapter, i'd be grateful
@peircedan
@peircedan 2 жыл бұрын
I'd like to log the data graphically. rather than display it
@hagbard72
@hagbard72 6 жыл бұрын
The is no SMART CAR anywhere in this video.
@Tinkernut
@Tinkernut 6 жыл бұрын
These are steps to make a regular car smarter. Did you miss that?
@user-rc9jf8ng2k
@user-rc9jf8ng2k 8 ай бұрын
Why would someone care about RPM and speed when using a scan tool, people want to fix their cars without paying thousands of dollars for full featured scan tool.
How to hack your car | Part 1 - The basics of the CAN bus
16:57
Adam Varga
Рет қаралды 288 М.
🤔Какой Орган самый длинный ? #shorts
00:42
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 35 МЛН
DIY Raspberry Pi Racecar Dashboard: The Ultimate Guide
15:11
BEAVIS Motorsport
Рет қаралды 716 М.
How to Make a Mini Laptop
8:09
The Wrench
Рет қаралды 3,2 МЛН
Raspberry Pi carpc [MAKER'S REPORT]
21:14
Pacman's Revenge
Рет қаралды 882 М.
I Bought a 2005 Smart ForTwo with Electrical Problems
11:37
Aging Wheels
Рет қаралды 287 М.
ANYONE Can Build A PWNagotchi!  PWNing WiFi Has Never Been Easier!
16:30
Talking Sasquach
Рет қаралды 41 М.
35 SMART CAR GADGETS Amazon Make Easy Your Car Life
19:51
CarTech
Рет қаралды 8 М.
🤔Какой Орган самый длинный ? #shorts
00:42