Car Diagnostics With A Raspberry PI - DIY Smart Car (Part 3)
Вставка
- Опубліковано 4 жов 2024
- Shhh...can you hear it? Your car is talking. It's saying "Make me smart, please". It also says things like "I'm going 50 km/hr" or "My wheels are spinning at 3200 RPM", classic stuff like that. In order to hear all the cool stuff your car has to say, you need to connect to it's OBDII port, which all US cars made after 1996 have. Then we can just connect it to a Raspberry Pi and add it to our ever growing smart car!
• Homemade Smart Car
____________________________
💖💎💖💎SHOUT OUTS 💖💎💖💎
____________________________
Special thanks to www.hackster.io for their support of this video!
_____________________________
📲🔗🔗📲 IMPORTANT LINKS 📲🔗🔗📲
______________________
Project Page - www.hackster.i...
Bluetooth OBD Adapter - amzn.to/2NtQLoX
OBDII Codes - en.wikipedia.o...
Hex to Decimal Converter - www.rapidtable...
_____________________________
💰💰💰💰 SUPPORT THE SHOW 💰💰💰💰
______________________
www.tinkernut....
_____________________________
🤔💡🤔💡 SUBMIT YOUR IDEAS 🤔💡🤔💡
______________________
www.tinkernut....
____________________________
📢📢📢📢 Follow 📢📢📢📢
____________________________
redd.it/5o3tp8
www.instagram....
/ tinkernut
/ tinkernut
Being a gear head and a computer nerd this is exactly what ive been looking for!
Other thoughts remember if you're getting no power to your OBD2 it is controlled by the cigarette lighter fuse so this fuse is bad you won't be able to get any readings
You should show this same thing without Bluetooth, just straight USB. The process reminds me a lot of the way computers communicated with the old modems back in the day. ATDT and all that.
You'd just skip everything up to the installation of the "screen" program, giving it the communications port of the USB device instead of bluetooth.
"The process reminds me a lot of the way computers communicated with the old modems back in the day"
That's because the OBD2 interface is basically just a modified serial port.
yup. Hayes protocols...back when 1200 baud was all the rage!
Hey noferblatz, did u be able to coonect the usb connector to the raspberry?
RPi controls an underbody LED kit so the lights flashing in frequency proportional to car speed, and turn blue when accelerating, red when breaking, and yellow when coasting.
This is a really cool idea
OBD2 Kenobi
Can make rpm light shift with arduino using wifi OBD?
OB-D2
@@SWAT-qb2qy what?
I have a raspberry pi sitting in my car broadcasting FM.. and connected to a small UPS (3.7v battery). This would be a perfect thing to add to the project!!
Mr.Kristian252 plz can you suggest hw to make it?
i would log the OBD2 data to a spread sheet to study my fuel consumption
It would be good to sync it with GPS data to match it with route as well - to get position, altitude, etc - so different routes could be could be compared.
kulgan96 it doesn't really give you that info. At best you'll get fuel trim.
A lot of newer cars do have a fuel economy reading but I have my doubts to their accuracy.
Adubs well these are merely an algorithm. They know how much gas the tank holds. They know fuel level and can just do the math.
The calculation is usually done from injector duty cycle and MAF. AFAIK only a few manufacturers use the fuel level to aid in calculation. Even then there are a ton of discrepancies, like tire wear, changes in fuel density, injector flow tolerance, etc. My point was there is a way to monitor this information via OBDII. A cheap bluetooth setup as shown connected to an android running the torque app will show you. Though its probably still far more accurate to plot the data yourself at the pump.
YOU ARE A PLUS TO THE HUMANITY
Pretty cool video. But you converted 32hex into miles per hour instead of 50. Hahaha!
I've been trolling this channel for a while and this is one of my favorites so far. Keep up the good work!
Yeah, not the best term for the internet... Usually, when people say "trolling", they mean making people angry, so maybe say "exploring" or "watching" instead.
We’re all on the same page about this. I’m turning a 1978 Camaro into a smart car, loaded with USBs, interior lighting, and hidden screens and dvd players
Wow, you have inspired me to do my own smart car mod.
You know this is a very cool idea and information. :D
It would be interesting to also use a LED grid to setup a HUD to reflect off of your windshield so you could see your KPH or MPH so you wouldn't have to look down at the dash.
Another nifty thing would be to see if you could also add in a dash cam type system so you could record stuff as you are driving so you have proof of what happened in front of you if you got into a accident plus encode the MPH/KPH and other vehicle features into the overlay when it is being recorded so you could show if you were using your turn signals, hit your breaks, or other things that might be useful. :D
I could think of so many nifty things you could do on this project. :D
Maybe some current sensors on your head lights and other external lights so you know when they are working or need replacing. :D
Wow, what a simple a clear tutorial. Thank you so much.
So glad I found this!! Thanks for sharing.
Im too excited for next week
this would be a fun project, eager to try it out!
Amazing! I didn't realize it would be so simple. Thanks for sharing.
Awesome! Cant wait for the next chapter!
USB would probably be the better option in general. Bluetooth has a lot of issues honestly.
The nice thing about Bluetooth is complete electrical isolation.
What kind of issue Bluetooth have? Is 4.0 and above pretty sturdy? Only time I would be Worried if its BT v1.0
I personally would use the OBDII deets to create a small code reader that displays error codes when they happen... that'd make repairs quicker, easier and cheaper...
Liked and subbed! I never had the money for some fancy analyzer, and now I can have fun making my own.
Use a GPIO pin to trigger a relay to trigger a couple fuel injectors to give your car that kick while you're at it.
This is awesome! I am totally loving this series already :D
Thanks, this is very helpful. So now I can finally create a Qt5/QML application which displays all sort of car data in a fancy way :D
Thanks to OBD2 when someone steals your car, they don’t need to Hotwire it, they just bind a new key to the car using the OBD2 port
Didgital guage cluster, with some more obscure/ exact data you may want to view live. Like engine oil temp, Air Fuel Ratio, psi boost (aspirated only duh) ect
ok i did not know it is that easy to read ^^
really nice thanks
one thing that always 12v power rail is not always on some cars or vehicles specific . i have a small electric vehicle that has a 5.4kwh 48V and a small 12v with only 1.2Ah battery and it turns off the 12v 10min after charging is complete or you turned of the vehicle after driving. but yea for those vehicles it makes sens because the 12v is charged from the 48v system with a 2A DC/DC converter is only powered if the 48v charges or the ignition is on. the dumb thing with this 12v battery is it is needed for the safetycontactors and the ignition if ignition is on the DC/DC converter starts also up and now the 48v system provides the 12v power but without the 12v battery the vehicle cant be started. so yea turning of 12v for the obd makes sense.
but on cars it would not really needed to turn off because the big 12v 40Ah to 90Ah battery.
I love these vids..keep it up, you're definitely a source of inspiration. Thx for all you do..
Wow this video is too clear and easy to implement. I've been checking other videos but they are very confusing talking about car ECU connection. Thanks (Y) !!
Careful with those particular OBD2 adapters. I used to have one and they are pretty.... fragile to say the least. If you have no issues at all, it runs like a complete charm, so as the saying goes: Your mileage may vary.
Idea would be to use the obd2 as a cut off switch. If the raspberry pi detects the scanner it will allow the car to start. If it doesn’t then it won’t.
Cool
awesome, thank you.
Obd dash screen with speedometer, takometer, issue report with its details (not only the check something light) aaaand if its possible connect it with another pi for music/navigation/back up camera with separate screen, quick shortcuts on the steering wheel and the list goes on and on and on
I would stand and be amazed since my car is from 92, and the fanciest electronic it has is lights...
Your car could've been made before the law was put in place IE; start of the year.
even simpler, it's a diesel and i'm based in EU. OBD was made a requirement for cars only made after 2003, i.e. 10 years after my car rolled out of the factory.
perfect timing I just bought one of those
Through obd2 you could also enable features in your car... more interesting than the values you already have on your dash
Bro you are incredible
One thing to note is that the constant 12 volts being used will kill your battery without the car running.
PixeledVision the adapter draws very little current.
@@corvettefan91 yes, but on an old battery this could potentially drain it too low to crank.
if someone's worried about that they can ignore the 12v from the port and just piggyback off the radio or dash power so it only runs when the car is on (as long as you don't mind an ugly wire or plan on permanently installing this thing)
thank you for a brilliant, brief, just detailed enough, intro. Keep on hacking!
Wow. . . you've changed a lot since the last time I've seen one of your videos. The last one I saw was How to Make an Operating System.
Thanks a lot for this. This is some useful content
For a normal guy like me just use Torque+cheap OBD adapter , a nice android app and pay for it. Cleans errors and shows you all the data you want, with a very nice UI
Damn you smart, well done
I'm planning a restomod 1975 Chevy Nova using a modern LSx motor - basically classic exterior, modern interior (and drive train). I'm probably using something like this to make a glass cockpit - all digital controls and displays. I'll have a pi running with the OBDII connection to collect and make these values available to the display systems.
I've been using a Bluetooth OBD Adapter from iCarsoft. It's a bit costly but has auto standby so it won't drain your car's battery.
Dude, I'd love to do this to my old pickup. OBD 1. I'm already working on an android auto pi build for it to replace my stereo so adding this would be amazing!
Thank you dude!
if your car has a 2 din slot for the radio, you could buy a 2 din monitor for the raspberry pi. liymno sells them for example. would give everything a more professional look
I have seen that the official screen fits pretty nice, too
Love the video but one point off for "Like your car's VIN Number......." ;)
When I got my Chevy Volt in 2012, I put an OBD2 bluetooth adapter on it to see what data I could read from the car using some phone apps. It worked for a few days and then my car would not start. I removed the adapter and got it to start, but it had created several faults that had to be cleared at the dealership. Apparently the increase in traffic on the network interferes with the module communications. This happens on several other Chevy models also. Be careful. BTW, I also have a Honda Odyssey, which requires a special OBD adapter, so you can't just buy any adapter for it.
Torque on Android is an excellent off-the-shelf solution that will connect to bluetooth OBD2 readers. Add Torque's overlay to the camera feed from your last video and get a maybe get a cool dashcam.
Of course, there are dashcam apps too.
Or, wait... Hopefully I'm not spoiling your video for a few weeks away... OBD2 overlay on dashcam and backup cam recorded and displayed on the Raspberry Pi. I like where this is going!!
I'm so happy to see you posting frequently again. I absolutely love your videos dude!
How about command injection? I want to send seek forward/back commands to my radio head unit (apim) when the radio comes in static. Also for instance, adding additional seat memory. Or when the driver#1/2 seat recall is pushed, change the radio and climate control to that person's favorite
Thank you nice video 🌹
Take this a step further and make an OBD2 key programmer with a Raspberry Pi!
Czar Corey Key programming specific to the vehicle, most don't actually expose that to OBD II instead they use the OEM choice pins in the connector for their tools.
Adam well. With newer cars it's manafacturer dependant. If it's a keyless entry. Only a dealer or a bonded locksmith can make keys. Or if it's more traditional you can sometimes use the car's own ignition slot plus some software to program. And with others it's just a clusterfuck.
thankyou
great video!!!!
Of course Volvo has to use the utility vehicle code lol
Awesome
Every car older than few years has some annoying error light on. It would be great to program automatic clearing of that particular error
This is soooo cool! Do you think you will be able to use it to program the OBD as well?
Loving this series.
yes, u can change air/fuel. shift points, anything you want.... only hurdle after this would be the coding to make it all user friendly and synchronize the data into a UI
wow this is great!
Look up the bluedriver it shows graphs of live data just by turning your cellphone sideways.
great
damn this would be really nice when shopping for cars on the used marked
Right now my vehicle is having issues with either fuel pump or fuel pressure sensor and it's tripping the wrong OBD Codes - so i would check those two things :)
I'm driving a Twingo and rev matching I have to do all by ear. But I like to play music so that's a problem since my Twingo doesn't have a rev counter.
That's really cool! Can you also send commands for the car control unit trough this port as well? I mean it will be intresting to send commands to the car regarding lights, windows and so on.
Plz do more diy smart car vids. Voice command
With the obd2 data I would start a music I hate when over the speed limit, that should be included in every car...
trans temp, AFR, TPS, coolant temp/pressure
I have one of these OBDII interfaces that communicates via wifi or bluetooth. I hope to integrate my Raspberry Pi with my amateur radio and use the cars data to be transmitted via APRS
I would make my truck haul ass by activating the secret turbos, interchargers and supercoolers. And passenger ejection seat button in front of passenger labelled "Seat AC" ...or just read P0021 and P0301 codes because of the bad coil on bank 2 I'm too lazy to fix.
Also pair it with a LoRa node and boom remote back door into your cars engine
I have been thinking hard about a smart car. I would have a GI that displays menus. So there would be one that displays typical HUD information. Then some diagnostics menus and data logging. From there I would have this same set control door locks and other features in the car. I would end up installing sensors everywhere to monitor things a little better. It would also remind me about maintenance..... God I could go on forever... I do believe this would need a more powerful computer along with endless serial input
I would make it a selfdriving car....well at least if I could code a pi 😂
Hi, fantastic video! Do you think its possible to be able to access dealer specific things like the air bag module, or abs module, steering module, etc, etc,and pull off and reset codes for these too or even calibrate or reprogram options? Basically anything that is programmerble from the manufacturer? Just curious. I guess alot of these require inside knowledge.
How about data logging the odometer readings and tpms data every minute the car is on?
You can also use android and an app called Torque to give you a heads up display with all sorts of gauges
Just found OBD Auto Doctor that should work with linux as well
Damn it, with car diagnostics you can lock and unlock the car, start the endgine, thats damn scary
Totally did not know that OBD2 used a variation of the Hayes AT command set over a serial data link ...
i dont think it's the obd2 that's using the at commands, but the adapter - it's using the at set to communicate with the serial device and communicates with the car using it's internal communcation method.
Correct - OBD2 itself is a binary protocol over the CANBUS. But the common ELM chips convert that to/from serial, and it's those chips that present the AT interface. There are other chips that don't use ascii + AT (ie Microchip MCP2515, etc)
OMG Keep going!!!
or just use the bluetooth adapter and Torque Pro for android
You can totally do that...but that you can't integrate a backup camera
And where's the fun? Where's the tinkering? Come on maaaan
Plus nerd bragging rights
You could but where is the fun in that? :P
Tinkernut actually you can. I use a Nexus 7 for my radio/diagnostics for that very reason.
Could you use the Raspberry Pi to program car keys? So, I don't have to pay someone $100 to program my key?
It would be useful if you could reset your service hours/kilometers.
Can u use the pie to trigger the car alarm (lights and horns and all)
Why am I getting so many notifications? Oh it is the video.
OMG it uses Hayes AT commands!
I heard there is a Rapsberry Pi HAT called Carberry and this Raspberry Pi based device called Auto Pi.
when u uploading next? can you make a vid on node js on rpi4 for a secure duplex voice / video realtime chat server?
While you are working on it, you could try to translate all error codes into human understandable language. Just all error codes, also those from the obscure car manufacturers that is. And a possibility to store this date for further use later on.
Can you diagnose airbag and anti-lock brakes
Can you reset the oil service by Rasperrry Pie?
My car has no RPM Meter and no Temp instruments. I would like to do a small screen with all of the useful information
It would be great to show the celcius of the ac unit and the speed of the fans.
My “Steampunk”/hipster pretentious-O-meter needle just shot off the end of the scale.
Any video of it working?
Thanks a lot, sounds great!!
Is there any functional OBD Emulator to use with RPi instead of a real car?