Tesla CAN bus data logging

แชร์
ฝัง

ความคิดเห็น • 509

  • @VLS-Why
    @VLS-Why 7 ปีที่แล้ว +403

    I didn't think it was possible to have all of my favorite things in one video: Raspberry Pi, CANbus, Tesla cars, Node.js, and websockets 😮❤

    • @sagargolliwar
      @sagargolliwar 7 ปีที่แล้ว +8

      awesomeguy2802
      yes
      all in one video
      unbelievable,
      applied science 👍👍

    • @ZeddysZ
      @ZeddysZ 7 ปีที่แล้ว +2

      what a time to be alive

    • @dzhiurgis
      @dzhiurgis 7 ปีที่แล้ว +1

      start by getting respberry pi and learning react.js

    • @tommihommi1
      @tommihommi1 7 ปีที่แล้ว +8

      awesomeguy2802 don't forget a nice oscilloscope

    • @letsgocamping88
      @letsgocamping88 7 ปีที่แล้ว +25

      I can't believe that anyone would list CANbus as one of their favourite things

  • @ElectraFlarefire
    @ElectraFlarefire 7 ปีที่แล้ว +112

    I'd suggest logging what the Tesla is trying to connect to/ping on the internet and use the Pi's server to trick it into meeting those requirements. Might be a way to get around the teatherd phone problem.

    • @AppliedScience
      @AppliedScience  7 ปีที่แล้ว +32

      I gave it a quick try this afternoon, and found that tcpdump doesn't work when the usb0 interface is active. It's possible that I had a network misconfiguration (the android phone DHCP issues addresses on the subnet that I had just happened to choose for my own WiFi network), and didn't realize this at first. I'll investigate more later. I agree that a replay attack may work well.

    • @Molb0rg
      @Molb0rg 7 ปีที่แล้ว +3

      just take notebook - up the wifi AP on it, try to connect the car with running tcpdump. R-PI is ok for the task too, you just have to have some display, that is the reason to use a notebook.
      They might use robust ways to determine if it is real internet or not (ssl connection to tesla servers, or any known server, but I doubt they do)

    • @efari
      @efari 7 ปีที่แล้ว +3

      i'm quite positive the car will try to setup a secure connection to Tesla servers... so spoofing that with the RPi will not be possible...

    • @Molb0rg
      @Molb0rg 7 ปีที่แล้ว +8

      +freakaefari
      if it the case, at least you will be able to see that it is the case, and probably it might be the case after next update after that video ))
      I doubt for the following reason what if the servers are not accessible, so then the internet is gone for all cars?
      Most likely it pings or tries to resolve some domain names (firmware upgrade domains or something like that)

    • @efari
      @efari 7 ปีที่แล้ว +1

      good point.
      well, only 1 way to find out, i guess...

  • @thoughtx4728
    @thoughtx4728 7 ปีที่แล้ว +3

    I've watched most of your videos and have been for a couple years now. You are by far one of the most intelligent and capable channels that we have to watch. Thank you for all the great work and inspiration.

  • @fission1110
    @fission1110 7 ปีที่แล้ว +48

    Very cool! I've been getting into car hacking lately as well. I'm hoping to build some cool data logging digital gauges.
    I should mention that linux has built in CAN bus support in the kernel that treats CAN as a network interface device.
    There is a suite of tools that can be used to display can bus information. cansniffer, canlogserver, candump, cangen..
    One of the most useful is the ability in cansniffer to display ONLY values that have recently changed. It really helps with reverse engineering because you can try messing with things and it will only display the values related to the thing that you're messing with.

    • @mirkorenerLT
      @mirkorenerLT 7 ปีที่แล้ว +7

      ryan edge thanks for sharing this information 😊😊😊😊

    • @RaglansElectricBaboon
      @RaglansElectricBaboon 6 ปีที่แล้ว

      That's really useful. Thank you.

  • @w2aew
    @w2aew 7 ปีที่แล้ว +21

    Hmm, DeLoreans, old trucks and Telsas (and an MDO4000)... ...Ben's garage is a great place to be!

    • @AppliedScience
      @AppliedScience  7 ปีที่แล้ว +7

      :) For both test equipment and cars, both new high-tech and old/quirky is a lot of fun.

  • @anthonycalia1317
    @anthonycalia1317 7 ปีที่แล้ว +1

    You have that gift of being able to explain complex projects in a manner that even cave dwellers like myself can understand. Nice work, please keep it up, and thanks.

  • @Spoif
    @Spoif 7 ปีที่แล้ว +144

    That's one very expensive digital scope you've got there.

    • @DigitalYojimbo
      @DigitalYojimbo 7 ปีที่แล้ว

      Spoif Tektronix ? I prefer agilent or keysight.

    • @Spoif
      @Spoif 7 ปีที่แล้ว

      +DigitalYojimbo Personally, I prefer Agilent too.

    • @allcopseatpasta6976
      @allcopseatpasta6976 7 ปีที่แล้ว +2

      I bought myself a hameg ... made in western germany.
      Still better than no scope at all.

    • @DigitalYojimbo
      @DigitalYojimbo 7 ปีที่แล้ว +2

      Fatalcreator rohde schwarz ? or hameg ? probably hameg by the west German reference. classic, but good luck trying analyze logic with that ;)

    • @derkeksinator17
      @derkeksinator17 7 ปีที่แล้ว +1

      DigitalYojimbo I have a Tek 466 and did single takes then writing down the timings to figure out a bus issue from an AD converter, good times... I wish I could afford a nice scope

  • @slowmopoke
    @slowmopoke 7 ปีที่แล้ว +22

    A Controller Area Network (CAN bus) is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other in applications without a host computer. It is a message-based protocol, designed originally for multiplex electrical wiring within automobiles, but is also used in many other contexts.

  • @Hunterr8
    @Hunterr8 7 ปีที่แล้ว

    I think I've only ever understood about 20% of what you've ever talked about... I don't even know why I watch, but I just find it relaxing and the stuff you do looks cool... lol

  • @nelsonmachupa
    @nelsonmachupa 6 ปีที่แล้ว +4

    Would LOVE to see a follow up video to this to see all the progress you’ve made!

  • @Serachja
    @Serachja 7 ปีที่แล้ว +2

    I bet Nicolas Tesla would have enjoyed watching all your projects, including this one :-)

  • @lescarneiro
    @lescarneiro 7 ปีที่แล้ว +1

    After seen this video on my recommendations, I had to subscribe without even looking on older videos! Amazing video!

  • @DoogieLabs
    @DoogieLabs 7 ปีที่แล้ว

    With enough development work you can create an advanced diagnostic tool for your tesla. Being able to log and graph things that are not available on the head unit normally is a huge help.

  • @Fanzindel
    @Fanzindel 7 ปีที่แล้ว +2

    You had me at "ODB2" you prankster you.
    I was getting a little suspicious at "the number of amps being pulled out of the battery pack" though

  • @tiitsaul9036
    @tiitsaul9036 7 ปีที่แล้ว +31

    you are the coolest nerd in youtube

  • @DullPoints
    @DullPoints 7 ปีที่แล้ว

    I'll never understand how anyone could thumbs down videos like this. Keep up the super cool science stuff!

  • @LukeLiveforphysics
    @LukeLiveforphysics 7 ปีที่แล้ว

    You are a hero Ben, congratulations on the Model S! (Saving up for one myself) The motor controller uses large and well heatsinked shunts for phase current measurement, if you decrease the shunt resistance, or intercept the on-shunt amplified signal and scale it down by some amount, the motor controller will drive proportionally higher phase currents relative to the amount of shunt signal attenuation. It may require re-scaling the battery current measurement proportionally as well depending on a number of factors. I don't think it will impact traction control functionality or launch mode.

  • @Ariccio123
    @Ariccio123 7 ปีที่แล้ว +7

    that's a really sick scope

  • @brendanstanford5612
    @brendanstanford5612 7 ปีที่แล้ว +435

    Been missing your videos

    • @AppliedScience
      @AppliedScience  7 ปีที่แล้ว +41

      I miss making videos too! Even though I'm really busy with work these days, I feel like I need to up my motivation game. I used to be more productive in the past despite the work load. Got any motivation tricks?

    • @aoshi1992
      @aoshi1992 7 ปีที่แล้ว +27

      Applied Science well you make us happier and less dumb

    • @girrrrrrr2
      @girrrrrrr2 7 ปีที่แล้ว +2

      Anything cool at work that you might be able to talk about? or film...
      probably not, but it would be cool

    • @BeardedDragonMan1997
      @BeardedDragonMan1997 7 ปีที่แล้ว +9

      Applied Science heres a motivation, you bring happiness to many people with your videos including me. Happiness is the greatest gift you can give someone, thrive on that.

    • @brendanstanford5612
      @brendanstanford5612 7 ปีที่แล้ว +4

      Applied Science. Ummm... Cannabis and good music works great for me, but I am a self employed artisan. I don't require the critical thinking part of the brain vs someone such as yourself lol. Is there any new tools or equipment that you want to acquire? New experiments always seem to get you back in the shop for video content:)

  • @Verrisin
    @Verrisin 7 ปีที่แล้ว +19

    11:40 - when your car ends up being less secure as a result of them trying to make it more secure. XD

  • @Ghaz002
    @Ghaz002 7 ปีที่แล้ว

    holy moly where has this channel been all my life

  • @willynebula6193
    @willynebula6193 7 ปีที่แล้ว

    Can I say that explaining to us how you setup your scope and went through the steps was brilliant👍

  • @Gmtail
    @Gmtail 7 ปีที่แล้ว +1

    Sir, you are an awesome dude. I can build circuits and toy around with a scope, but I wish I had half of your knowledge. Thanks for the video..

  • @magoostus
    @magoostus 7 ปีที่แล้ว +93

    what I dont understand is why the car doesnt already have a cool readout like this already. its like engineers forget about the nerds like us that DO want to see this data and find it so fascinating

    • @fluteplayerify
      @fluteplayerify 7 ปีที่แล้ว +12

      yeah, any car with an lcd could do this. It would be nice if it could show you why the check engine light is on at least.

    • @Molb0rg
      @Molb0rg 7 ปีที่แล้ว +14

      programming expenses, UI organization. They try to keep it simple for another half of owners(but let's be real, for 95% of them, and 99.99% in the possible future)

    • @sarowie
      @sarowie 7 ปีที่แล้ว +7

      some morron will look on the screen instead of the street.

    • @naikrovek
      @naikrovek 7 ปีที่แล้ว +3

      They don't want you staring at real-time data graphs while you drive. It is very likely a liability requirement set forth by Tesla, Inc. legal.

    • @mozkitolife5437
      @mozkitolife5437 7 ปีที่แล้ว +5

      Wait until driverless cars are commonplace. Then you can stare and have nergasms at real-time graphs on the screen to your hearts content.

  • @cleitonfelipe2092
    @cleitonfelipe2092 7 ปีที่แล้ว

    You are the most technological guy I ever met.

  • @Platanov
    @Platanov 7 ปีที่แล้ว +12

    I can't deny, the "...a little magic..." thing really made me laugh.

  • @jomiar309
    @jomiar309 7 ปีที่แล้ว

    You are an inspiration to tinkerers and engineers everywhere! I love your videos!

  • @InnovationBlast
    @InnovationBlast 7 ปีที่แล้ว

    Ben there's only so many times I can rewatch your videos until you put out a new one Hahah

  • @willynebula6193
    @willynebula6193 7 ปีที่แล้ว

    He's alive! feels like it's been ages since you're last vid

  • @pol1250
    @pol1250 7 ปีที่แล้ว

    Finally a tesla driver who knows what he is talking of!!!

  • @vejymonsta3006
    @vejymonsta3006 7 ปีที่แล้ว +7

    Wow, you have so many cool things!

  • @gork42
    @gork42 7 ปีที่แล้ว +1

    Very cool Ben it reminds me of my efforts to RE the BMW I-bus and K-bus back in the day although all I was going for was making a button on the steering wheel roll down all the windows. I have also used a similar webkit websockets browser trick to get realtime apps running on the IP phones at work (Polycom VVX). By the way you might consider testing using noVNC to display the rpi console in the browser. If you run x11vnc to mirror the local display to the vnc client you can use a USB keyboard directly on the pi and you have the display in the car's browser.

  • @williamjohns6551
    @williamjohns6551 6 ปีที่แล้ว

    The most humble way to flex. I'm not even mad

  • @RWGresearch
    @RWGresearch 7 ปีที่แล้ว

    oh yeah. lovin the rain down here in LA too ;) "what to do on a rainy day" some fine work Ben. Thanks for sharing!!! ~Russ

    • @carolynmmitchell2240
      @carolynmmitchell2240 6 ปีที่แล้ว

      rwg42985 what's up man? Get back into VBM research your getting off track that's what your followers wanna see.

  • @HoffmanEngineering
    @HoffmanEngineering 7 ปีที่แล้ว

    Amazing work. I cannot wait for the follow up videos!

  • @MyShopNotes
    @MyShopNotes 7 ปีที่แล้ว

    Nice scope. Reminds me of using an hp 1630d logic analyser with a 1k trace buffer. lol
    Technology sure has come a long way in my life.

  • @davegtar
    @davegtar 7 ปีที่แล้ว +2

    You have a beautiful brain Ben.

  • @alessi4249
    @alessi4249 4 ปีที่แล้ว

    I suppose one solution to the attack vector would be to remove the tx pin trace on the MCP can transceiver that way the device would only ever be able to listen to CAN data and not reply. Great video!

  • @Roflsponge
    @Roflsponge 7 ปีที่แล้ว +193

    OBD2, not ODB2! How dare you
    I'm definitely offended

    • @AppliedScience
      @AppliedScience  7 ปีที่แล้ว +56

      I've been saying it incorrectly for years! :0

    • @Saavik256
      @Saavik256 7 ปีที่แล้ว +4

      You're not the only one. OBD = On-Board Diagnostic ;)

    • @blhack123
      @blhack123 7 ปีที่แล้ว +10

      ODB is database drivers. Anybody who has ever worked with them and cars is mind poisoned on those terms haha

    • @ZeddysZ
      @ZeddysZ 7 ปีที่แล้ว +8

      you good, on-doard-bionotics basically AI level robo-cyber-tech androids, known as ODB

    • @MrJimmyjammmy
      @MrJimmyjammmy 7 ปีที่แล้ว +16

      I think ODB2 is Wu Tang Clan's new rapper.

  • @juweinert
    @juweinert 7 ปีที่แล้ว

    Great to see some new stuff!
    I totally agree with the text message. Even if I love network connected technology, I'm really against all the "cloud stuff" and always keep stuff like this locally and WAN disconnected.
    Two ideas: you could run a simple firewall on the rPi, that only allows access from the cars IP address.
    A better solution would be to use the rPi to create a network using a USB WiFi card. This should be pretty simple to do and you wouldn't be at the risk being kidnapped in the middle of a road trip ;)

  • @Uriziel01
    @Uriziel01 7 ปีที่แล้ว +4

    I love the hack, so much potential! Great job done there!
    I think You could easly persuade car into connecting to `offline` hotspot by just logging all packets on the RPi by the time the car tries to connect into it.
    There are really not to many options here, they could be using some ICMP communication to just check for particular IP network presence or checking some static response from known service (maybe even just checking public DNS) . You could just log these packets and replay them automatically as needed.
    I dont belive they would have gone into so much effort that they using any advanced CRC just for that simple task, so this approach should be really effective.
    Would even love to help You with that - however I wont buy tesla just for that ;)
    Good luck!

  • @manickn6819
    @manickn6819 7 ปีที่แล้ว

    Excellent work. Hope to see some more data as you figure it out.

  • @verdatum
    @verdatum 7 ปีที่แล้ว

    Why must you make me miss you so much!?!??!?!? (Overjoyed to see you posting!)

  • @BlaykGiddens
    @BlaykGiddens 7 ปีที่แล้ว

    This is pretty cool, I'm using the same hat in my own car to log info like mpg, trip distance, and DTCs, and send them back to a mobile app on my phone.

  • @codycarse
    @codycarse 7 ปีที่แล้ว

    Still waiting for the next video on this! Loved this one!

  • @JustinDrentlaw
    @JustinDrentlaw 7 ปีที่แล้ว

    I use node.js on my Raspberry Pi's all the time! It's my favorite language :D

  • @mohdghadiyali
    @mohdghadiyali 7 ปีที่แล้ว

    Made my day.
    Still waiting for SEM upgrade.

    • @AppliedScience
      @AppliedScience  7 ปีที่แล้ว +1

      I've been thinking about the framegrabber and digital control project for the SEM. I'm planning to use the Teensy 3.6, and was hoping the USB high-speed port would be working soon in client mode, but it could be some time yet. Someone sent me some code to experiment with, so I should probably hunker down and just start doing it.

  • @TwoMagadan
    @TwoMagadan 5 ปีที่แล้ว

    Hey - I'd love to see a video on reverse engineering the charge cable. Specifically what communication occurs between the car and the charger both during charging but also even what the signal looks like to open the charge door when transmitted from the button on the charge cable? Love the channel.

  • @kentrothermel5242
    @kentrothermel5242 7 ปีที่แล้ว

    Nice Scope and well done on the CAN bus hack.

  • @kirillvishnevsky6327
    @kirillvishnevsky6327 7 ปีที่แล้ว

    Damn, that's one cool oscilloscope! I want one as my wedding gift

  • @BasicXStudios
    @BasicXStudios 7 ปีที่แล้ว

    Since you are only listening to the CAN bus, you coult desolder the TX-Enable pin of the CAN-Bus tranceiver on the Pi shield. Thatway, even if the Pi gets compromised the attacker would not be able to send data to the car. So the security risk gets quite a bit smaller.

    • @DavidCiani
      @DavidCiani ปีที่แล้ว

      If you wanted to get really fancy, you could even run the signal through an opto-isolator. The Pi wouldn't be electrically connected to the CAN bus at all.

  • @amicloud_yt
    @amicloud_yt 7 ปีที่แล้ว +15

    No wonder he hasn't been uploading many videos recently... he bought a Tesla!

  • @forestlampcraft472
    @forestlampcraft472 7 ปีที่แล้ว +3

    COOL

  • @albinekb
    @albinekb 7 ปีที่แล้ว

    That's a neat idea with websockets. Nice.

  • @Stisse12
    @Stisse12 7 ปีที่แล้ว

    Cool, Always have been wanted to learn this. Tips on a good start to learn oscilloscope

  • @donaldkrambeck
    @donaldkrambeck 7 ปีที่แล้ว +1

    This was so damn interesting. I can't wait to see what you do with this.

  • @hoaivu1478
    @hoaivu1478 7 ปีที่แล้ว

    That's quite an awesome video! Love the thoughts and processes how to capture CAN bus data! Nice TEK Digital scope by the way!

  • @TheKingofRandom
    @TheKingofRandom 7 ปีที่แล้ว +48

    Here so early!

    • @jeshuagustafson9641
      @jeshuagustafson9641 7 ปีที่แล้ว +1

      Grant Thompson - "The King of Random" whoa!!

    • @brendanstanford5612
      @brendanstanford5612 7 ปีที่แล้ว +4

      Get back to editing videos Grant

    • @NIOC630
      @NIOC630 7 ปีที่แล้ว +7

      clickbait...

    • @vejymonsta3006
      @vejymonsta3006 7 ปีที่แล้ว +2

      What are you doing here?! :o

    • @hey7328
      @hey7328 7 ปีที่แล้ว +25

      go back to making dry ice chocolate sillicone proto-putty vacuum chamber liquid nitrogen clickbait videos

  • @Kabodanki
    @Kabodanki 7 ปีที่แล้ว +9

    the price of that scope tho'

  • @deadpoolfanboy3012
    @deadpoolfanboy3012 7 ปีที่แล้ว

    These are the men that we thank god are good and not super villians.

  • @cj0815
    @cj0815 7 ปีที่แล้ว

    For safety, you could hardwire the CAN transceiver into recessive state. As long as you don't want to inject packages, you don't lose anything.

  • @pelor92
    @pelor92 7 ปีที่แล้ว

    For the security concerns, if you are fine only snooping the data passing by and don't plan on transmitting anything (and frankly you shouldn't be anyway, since I'm not so positive the internal can network has been properly fuzz tested) you can just physically unsolder the tx pin between the raspberry and the transceiver, this means that even if an attacker fully owns the raspberry it can only read the data on the bus and it can't sneak anything in, you will lose the ability to specifically request data, but that is the small price you have to pay

  • @pcfreak1992
    @pcfreak1992 7 ปีที่แล้ว

    Wow this is amazing! Please make another video about this topic, it is super interesting! :)

  • @ZEROSTATIC72
    @ZEROSTATIC72 7 ปีที่แล้ว +2

    Thanks for the great videos. :-)
    P.S. Love the hitchhikers guide reference.

  • @jackjohnson9989
    @jackjohnson9989 4 ปีที่แล้ว

    This is the first video I've come across where the OP uses a lab/bench scope in automotive diagnosis !
    Are there any others on TH-cam or other sites? And many thanks for sharing this content.

  • @hithere7433
    @hithere7433 7 ปีที่แล้ว +1

    So cool. I'm sitting here trying to decide how one gets from knowing basically nothing to knowing how to do what you've done here. It's really impressive to an ignorant fool like me. Thanks for sharing.
    Getting data out and describing it is interesting, but what about going the other way? Seems like one could write and run their own programs: silly horn music or headlight sequences... who knows.
    Anyways, very cool.

  • @dusanpetrovic2720
    @dusanpetrovic2720 7 ปีที่แล้ว

    Nice radio dude. It has visualizations and everything! I bet you heard that joke many times already :)

  • @DextersTechLab
    @DextersTechLab 7 ปีที่แล้ว +1

    Excellent video as always, thanks Ben!

  • @maro8D
    @maro8D 7 ปีที่แล้ว

    Ah man! That scope is dope!

  • @ac11dc110
    @ac11dc110 7 ปีที่แล้ว +3

    this guy is genius

  • @jeffhotes2673
    @jeffhotes2673 7 ปีที่แล้ว

    This content is always the best. You're the man!

  • @Wingman77tws
    @Wingman77tws 7 ปีที่แล้ว

    You have a model S now! nice, and great video.

  • @u0000-u2x
    @u0000-u2x 7 ปีที่แล้ว +4

    Great video! But I'm curious to see Tesla's reaction to this.

  • @chainmaillekid
    @chainmaillekid 7 ปีที่แล้ว

    YES!
    New video,
    This is most welcome.

  • @albertogonzalezv3508
    @albertogonzalezv3508 7 ปีที่แล้ว

    This channel is absolutely great, by far my favourite in YT!! But lately, the frequency of uploaded videos is low. Do you guys know any other channel with similar content?

  • @brothertyler
    @brothertyler 6 ปีที่แล้ว

    Hey, that's a really cool way to combine many skills. Very nice. Very good videos.

  • @narcoti
    @narcoti 7 ปีที่แล้ว

    OBDII =/= ODBII Glad to see another video.

  • @kirillvishnevsky6327
    @kirillvishnevsky6327 7 ปีที่แล้ว

    Thank you for a very informative and concise explanation! You should make education videos.
    Can't wait for your next video!

  • @spartonson527
    @spartonson527 4 ปีที่แล้ว +2

    0:44 O.D.B 2.. WU TANG IS FOREVER

  • @dragonskunkstudio7582
    @dragonskunkstudio7582 7 ปีที่แล้ว +7

    ODB2... ODB.... ODB...
    Old Dirty Bastard live and uncut! :P

  • @JamesKlafehn
    @JamesKlafehn 5 ปีที่แล้ว +1

    I am new to CAN but I have a list of codes from my Model X. How do I decode the messages to get a value?

  • @doctor567
    @doctor567 6 ปีที่แล้ว

    Thanks, this is amazing work. Well sleuthed, well executed, and well explained.

  • @KolossosDD
    @KolossosDD 7 ปีที่แล้ว

    You should take a look at Grafana for the graphs in the Browser. It's very powerful for monitoring and works with different timeseries databases.

  • @revealingfacts4all
    @revealingfacts4all 7 ปีที่แล้ว

    I might be able to help you out with what is known as a CAN database. In the automotive industry these database files are often referred to as DBC files. DBC comes from Vector Informatika. There are some good CAN reverse engineering tools on the market that will show you live CAN data and highlight just the values that are changing so you can sort of work out & create your own DBCs. My ISO14229 stack is running in many US vehicles. ISO14229 is the diagnostics protocol that runs on top of CAN sort of like HTML on top of TCP/IP.

  • @DoomVik
    @DoomVik 7 ปีที่แล้ว

    This is amazing.
    Some DefCon type of stuff man.

  • @babylonfive
    @babylonfive 7 ปีที่แล้ว +2

    Ben, I had no idea you had a Model S. I've got a 2013 early (Vin less than 3300) S60.
    Hope things are going well there...

  • @LogicBob
    @LogicBob 7 ปีที่แล้ว

    Nice job man! I've never wanted a Tesla as much as I do now!
    I imagine you've already been talking to Samy Kamkar about this project? (He is already a fan of yours.) I was just thinking that, if you knew what the car was pinging in order to determine if there is an internet connection, you could reroute that traffic to a local IP like you did with your server. I guess if it was more of a complex query than a simple ping, that would be more difficult, but I would think it's worth looking into.
    Please keep us updated on this project! And talk to Samy if you haven't already! :-)

  • @johanneszwilling
    @johanneszwilling 7 ปีที่แล้ว +2

    7:51 😊 Thank you for connecting the dots here (pun intended) in regards to your Twitter Post from weeks ago 😏

  • @bm830810
    @bm830810 6 ปีที่แล้ว

    about the attack risk mentioned, It may be possible to disconnect the can tx pin from the pi side, then the module can only listen to the bus but cannot send anything

  • @noname_atall
    @noname_atall 7 ปีที่แล้ว

    considering security against hacking, your raspberry pi don't need to be really connected to the internet, the just needs to think it is. so you can wireshar the packets passing through the pi, and see how the car is testing connectivity, then you can make a script on the py that replays the packets you grabbed every time the car tries to detect internet connection.

  • @MrRyanthegreat1
    @MrRyanthegreat1 7 ปีที่แล้ว

    Microchip CAN BUS Analyzer is a nice tool for capturing data from the CAN bus. Also inexpensive.

  • @goldrecovery
    @goldrecovery 7 ปีที่แล้ว

    really intelligent

  • @robinsonmedia6370
    @robinsonmedia6370 4 ปีที่แล้ว

    Such a cool video! Did you ever do Part 2?

  • @Braeden123698745
    @Braeden123698745 7 ปีที่แล้ว

    Man I should look into this I've been wanting to monitor the fuel flow in my car for a long time.

  • @mikesdav
    @mikesdav 7 ปีที่แล้ว

    You could still connect the wires to a Bluetooth obd adapter and use torque to find the pid and log it through your phone. I would be interested to see if you could send an odb command though, the doors are controlled through one of the CAN buses.

  • @clayrev
    @clayrev 6 ปีที่แล้ว

    The OBD2 port is required by law to be there and have certain information in it. I believe it is required to be within 12 inches of the steering column.

  • @TheMottz
    @TheMottz 7 ปีที่แล้ว

    Great video!!
    I was thinking you could temporally connect the Pi to Ethernet on your wired network to do some packet capturing and see how the car is checking for an internet connection. Once you know that, should be able to tell the car what it wants to hear from the Pi and get this working off the web. This is basically what I had to do with my blue-ray player a few years back when Sony servers went off line and the blue ray would not play Netflix without being able to phone home first.

  • @danielstojanovski7869
    @danielstojanovski7869 7 ปีที่แล้ว

    Awesome video and clear explanations. What do you do for work? Looking forward to the next video.

  • @Proffinouille
    @Proffinouille 7 ปีที่แล้ว

    cool man you are awsome I use to work with CAN and CANOpen / KWP2000 nets since 15 years new ... I have no tesla under elbow (no money) but if I can help you with differents protocols it will be a pleasure ... anyway congratulations and keep going !!

  • @koffiezet
    @koffiezet 7 ปีที่แล้ว

    You could log it to a timeseries database like influxdb on the rpi and use something like grafana as frontend for your graph visualisation... not sure if the rpi3 is fast enough for that, but you could give it a shot...