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

КОМЕНТАРІ • 264

  • @zoomxdude1999
    @zoomxdude1999 6 років тому +29

    Being a gear head and a computer nerd this is exactly what ive been looking for!

  • @markusfrancois2772
    @markusfrancois2772 6 років тому +6

    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

  • @noferblatz
    @noferblatz 6 років тому +82

    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.

    • @143HawkBlack
      @143HawkBlack 6 років тому +4

      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.

    • @12pv1
      @12pv1 6 років тому

      "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.

    • @gginnj
      @gginnj 6 років тому +3

      yup. Hayes protocols...back when 1200 baud was all the rage!

    • @oswaldocedillo8545
      @oswaldocedillo8545 5 років тому

      Hey noferblatz, did u be able to coonect the usb connector to the raspberry?

  • @Nono-hk3is
    @Nono-hk3is 6 років тому +5

    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.

    • @BSTGMR-kj3tu
      @BSTGMR-kj3tu 9 місяців тому +1

      This is a really cool idea

  • @ywiwar7872
    @ywiwar7872 6 років тому +87

    OBD2 Kenobi

    • @SWAT-qb2qy
      @SWAT-qb2qy 6 років тому +3

      Can make rpm light shift with arduino using wifi OBD?

    • @tucker8676
      @tucker8676 6 років тому +3

      OB-D2

    • @Tyrone-Ward
      @Tyrone-Ward 5 років тому +3

      @@SWAT-qb2qy what?

  • @MrKristian252
    @MrKristian252 6 років тому +1

    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!!

  • @kulgan96
    @kulgan96 6 років тому +69

    i would log the OBD2 data to a spread sheet to study my fuel consumption

    • @dav1dsm1th
      @dav1dsm1th 6 років тому +13

      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.

    • @aliabdallah102
      @aliabdallah102 6 років тому +1

      kulgan96 it doesn't really give you that info. At best you'll get fuel trim.

    • @adubs.
      @adubs. 6 років тому +1

      A lot of newer cars do have a fuel economy reading but I have my doubts to their accuracy.

    • @aliabdallah102
      @aliabdallah102 6 років тому

      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.

    • @adubs.
      @adubs. 6 років тому

      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.

  • @Hakeeeeeeem
    @Hakeeeeeeem 5 місяців тому

    YOU ARE A PLUS TO THE HUMANITY

  • @SadamFlu
    @SadamFlu 6 років тому +29

    Pretty cool video. But you converted 32hex into miles per hour instead of 50. Hahaha!

  • @davidbritton6327
    @davidbritton6327 6 років тому +13

    I've been trolling this channel for a while and this is one of my favorites so far. Keep up the good work!

    • @over00lordunknown12
      @over00lordunknown12 6 років тому +3

      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.

  • @TheeMustangBro
    @TheeMustangBro 4 місяці тому

    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

  • @Baxtexx
    @Baxtexx 6 років тому +1

    Wow, you have inspired me to do my own smart car mod.

  • @PacoOtaktay
    @PacoOtaktay 6 років тому +10

    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

  • @northshorepx
    @northshorepx 5 років тому

    Wow, what a simple a clear tutorial. Thank you so much.

  • @GreaseAndGravel
    @GreaseAndGravel 11 місяців тому

    So glad I found this!! Thanks for sharing.

  • @Adnaneee
    @Adnaneee 6 років тому +1

    Im too excited for next week

  • @vaiterius
    @vaiterius 3 роки тому

    this would be a fun project, eager to try it out!

  • @ashishm8413
    @ashishm8413 6 років тому

    Amazing! I didn't realize it would be so simple. Thanks for sharing.

  • @profmarcio26
    @profmarcio26 5 років тому

    Awesome! Cant wait for the next chapter!

  • @moth.monster
    @moth.monster 6 років тому +22

    USB would probably be the better option in general. Bluetooth has a lot of issues honestly.

    • @michaelgraff6978
      @michaelgraff6978 6 років тому +2

      The nice thing about Bluetooth is complete electrical isolation.

    • @Un_Pour_Tous
      @Un_Pour_Tous 6 років тому +2

      What kind of issue Bluetooth have? Is 4.0 and above pretty sturdy? Only time I would be Worried if its BT v1.0

  • @DigBipper188
    @DigBipper188 6 років тому +1

    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...

  • @JB52520
    @JB52520 6 років тому +1

    Liked and subbed! I never had the money for some fancy analyzer, and now I can have fun making my own.

  • @LiezerZero
    @LiezerZero 6 років тому +1

    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.

  • @masterproducts0
    @masterproducts0 6 років тому +1

    This is awesome! I am totally loving this series already :D

  • @hermannpaschulke1583
    @hermannpaschulke1583 6 років тому

    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

  • @SamBebbington
    @SamBebbington 6 років тому +1

    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

  • @brandonmas1435
    @brandonmas1435 6 років тому +1

    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

  • @reinekewf7987
    @reinekewf7987 9 місяців тому

    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.

  • @saylorinnovations99
    @saylorinnovations99 6 років тому +1

    I love these vids..keep it up, you're definitely a source of inspiration. Thx for all you do..

  • @wilsonaguilar02
    @wilsonaguilar02 4 роки тому

    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) !!

  • @FlameSoulis
    @FlameSoulis 6 років тому +1

    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.

  • @d.edmunds9955
    @d.edmunds9955 3 роки тому +2

    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.

  • @navjotsingh2457
    @navjotsingh2457 2 місяці тому

    Cool

  • @stephenhaslam6642
    @stephenhaslam6642 4 роки тому

    awesome, thank you.

  • @antanasxg1
    @antanasxg1 6 років тому +2

    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

  • @Meta194
    @Meta194 6 років тому +8

    I would stand and be amazed since my car is from 92, and the fanciest electronic it has is lights...

    • @Axodus
      @Axodus 6 років тому +2

      Your car could've been made before the law was put in place IE; start of the year.

    • @Meta194
      @Meta194 6 років тому +1

      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.

  • @mindstorms8888
    @mindstorms8888 6 років тому

    perfect timing I just bought one of those

  • @aracon9721
    @aracon9721 6 років тому +1

    Through obd2 you could also enable features in your car... more interesting than the values you already have on your dash

  • @GUTTAZOE
    @GUTTAZOE 4 роки тому

    Bro you are incredible

  • @pixeledvision3899
    @pixeledvision3899 6 років тому +9

    One thing to note is that the constant 12 volts being used will kill your battery without the car running.

    • @corvettefan91
      @corvettefan91 6 років тому

      PixeledVision the adapter draws very little current.

    • @pixeledvision3899
      @pixeledvision3899 6 років тому +2

      @@corvettefan91 yes, but on an old battery this could potentially drain it too low to crank.

    • @jerrymadsen1717
      @jerrymadsen1717 7 місяців тому +2

      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)

  • @rshnewton
    @rshnewton 4 роки тому

    thank you for a brilliant, brief, just detailed enough, intro. Keep on hacking!

  • @wearecomputergeeks1624
    @wearecomputergeeks1624 6 років тому

    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.

  • @KufirreEbong
    @KufirreEbong 4 роки тому

    Thanks a lot for this. This is some useful content

  • @admir_correia
    @admir_correia 6 років тому

    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

  • @dannyradjkoemar580
    @dannyradjkoemar580 4 роки тому

    Damn you smart, well done

  • @michaelrichey8516
    @michaelrichey8516 6 років тому

    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.

  • @renewalendy8854
    @renewalendy8854 6 років тому

    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.

  • @JohnWeland
    @JohnWeland 6 років тому +2

    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!

  • @YandiBanyu
    @YandiBanyu 6 років тому

    Thank you dude!

  • @hannahkahnwald4220
    @hannahkahnwald4220 6 років тому +2

    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

  • @alyeakitty
    @alyeakitty 6 років тому +1

    Love the video but one point off for "Like your car's VIN Number......." ;)

  • @theoisle
    @theoisle 6 років тому

    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.

  • @BenReese
    @BenReese 6 років тому

    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!!

  • @dylanspriddle
    @dylanspriddle 6 років тому

    I'm so happy to see you posting frequently again. I absolutely love your videos dude!

  • @billycroan2336
    @billycroan2336 Місяць тому

    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

  • @topysoda1795
    @topysoda1795 6 років тому

    Thank you nice video 🌹

  • @czarcorey1220
    @czarcorey1220 6 років тому +9

    Take this a step further and make an OBD2 key programmer with a Raspberry Pi!

    • @Adam-eb3rs
      @Adam-eb3rs 6 років тому +1

      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.

    • @aliabdallah102
      @aliabdallah102 6 років тому

      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.

  • @alonsocantu8196
    @alonsocantu8196 6 років тому +1

    thankyou

  • @juanotecruz
    @juanotecruz 5 років тому

    great video!!!!

  • @Mauzy0x00
    @Mauzy0x00 6 років тому

    Of course Volvo has to use the utility vehicle code lol

  • @luissantiago7978
    @luissantiago7978 6 років тому

    Awesome

  • @vlajkozr
    @vlajkozr 6 років тому

    Every car older than few years has some annoying error light on. It would be great to program automatic clearing of that particular error

  • @spkrman15
    @spkrman15 6 років тому +4

    This is soooo cool! Do you think you will be able to use it to program the OBD as well?
    Loving this series.

    • @AnthonyBreedlove1983
      @AnthonyBreedlove1983 4 роки тому +1

      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

  • @Ed.E
    @Ed.E 6 років тому

    wow this is great!

  • @NickRanger
    @NickRanger 6 років тому

    Look up the bluedriver it shows graphs of live data just by turning your cellphone sideways.

  • @tfort91
    @tfort91 6 років тому

    great

  • @xXxSolidIcexXx
    @xXxSolidIcexXx 6 років тому

    damn this would be really nice when shopping for cars on the used marked

  • @PolntBlank
    @PolntBlank 6 років тому

    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 :)

  • @sjaakspaak
    @sjaakspaak 6 років тому +1

    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.

  • @lorenzocimbro8055
    @lorenzocimbro8055 6 років тому +1

    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.

  • @yungsolopath2603
    @yungsolopath2603 4 роки тому

    Plz do more diy smart car vids. Voice command

  • @user-le8ul4nr5t
    @user-le8ul4nr5t 6 років тому

    With the obd2 data I would start a music I hate when over the speed limit, that should be included in every car...

  • @poedaniel9954
    @poedaniel9954 3 роки тому

    trans temp, AFR, TPS, coolant temp/pressure

  • @W8RIT1
    @W8RIT1 4 роки тому

    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

  • @charlyRoot
    @charlyRoot 4 роки тому

    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.

  • @Iswimandrun
    @Iswimandrun 5 років тому

    Also pair it with a LoRa node and boom remote back door into your cars engine

  • @michaeldenton8610
    @michaeldenton8610 6 років тому

    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

  • @brotschuh
    @brotschuh 6 років тому

    I would make it a selfdriving car....well at least if I could code a pi 😂

  • @cyber_Dean
    @cyber_Dean Рік тому +1

    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.

  • @billycroan2336
    @billycroan2336 Місяць тому

    How about data logging the odometer readings and tpms data every minute the car is on?

  • @haydenc2742
    @haydenc2742 6 років тому

    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

  • @boomwithpeter623
    @boomwithpeter623 5 років тому +3

    Damn it, with car diagnostics you can lock and unlock the car, start the endgine, thats damn scary

  • @markteague8889
    @markteague8889 6 років тому +1

    Totally did not know that OBD2 used a variation of the Hayes AT command set over a serial data link ...

    • @gginnj
      @gginnj 6 років тому

      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.

    • @DavidMirabito
      @DavidMirabito 6 років тому

      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)

  • @trevorkruse449
    @trevorkruse449 6 років тому

    OMG Keep going!!!

  • @H2Glitch2007
    @H2Glitch2007 6 років тому +14

    or just use the bluetooth adapter and Torque Pro for android

    • @Tinkernut
      @Tinkernut  6 років тому +3

      You can totally do that...but that you can't integrate a backup camera

    • @greyant7069
      @greyant7069 6 років тому +6

      And where's the fun? Where's the tinkering? Come on maaaan

    • @SarkarMotion
      @SarkarMotion 6 років тому +2

      Plus nerd bragging rights

    • @Baxtexx
      @Baxtexx 6 років тому +2

      You could but where is the fun in that? :P

    • @MikeBohde
      @MikeBohde 6 років тому +1

      Tinkernut actually you can. I use a Nexus 7 for my radio/diagnostics for that very reason.

  • @stevenattaway
    @stevenattaway 6 років тому +1

    Could you use the Raspberry Pi to program car keys? So, I don't have to pay someone $100 to program my key?

  • @jorisjanssens4169
    @jorisjanssens4169 6 років тому

    It would be useful if you could reset your service hours/kilometers.

  • @kevinbeastly
    @kevinbeastly 2 роки тому

    Can u use the pie to trigger the car alarm (lights and horns and all)

  • @Ham549
    @Ham549 5 років тому

    Why am I getting so many notifications? Oh it is the video.

  • @thebigt42
    @thebigt42 6 років тому

    OMG it uses Hayes AT commands!

  • @Poorgeniu5
    @Poorgeniu5 6 років тому

    I heard there is a Rapsberry Pi HAT called Carberry and this Raspberry Pi based device called Auto Pi.

  • @JNET_Reloaded
    @JNET_Reloaded 3 роки тому

    when u uploading next? can you make a vid on node js on rpi4 for a secure duplex voice / video realtime chat server?

  • @vanhetgoor
    @vanhetgoor 6 років тому

    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.

  • @ace692002
    @ace692002 6 років тому

    Can you diagnose airbag and anti-lock brakes

  • @14fadu6
    @14fadu6 7 місяців тому

    Can you reset the oil service by Rasperrry Pie?

  • @JohnDoe-zr6bk
    @JohnDoe-zr6bk 3 роки тому

    My car has no RPM Meter and no Temp instruments. I would like to do a small screen with all of the useful information

  • @MedievalChips
    @MedievalChips 6 років тому

    It would be great to show the celcius of the ac unit and the speed of the fans.

  • @unlokia
    @unlokia 6 років тому +1

    My “Steampunk”/hipster pretentious-O-meter needle just shot off the end of the scale.

  • @chrisasaurus
    @chrisasaurus Рік тому

    Any video of it working?

  • @sydbyd5040
    @sydbyd5040 5 років тому

    Thanks a lot, sounds great!!
    Is there any functional OBD Emulator to use with RPi instead of a real car?