Tesla CAN Bus - Quick Exploration

Поділитися
Вставка
  • Опубліковано 6 лис 2024
  • CAN (Controller Area Network) is used extensively on all Teslas and almost all modern vehicles. Here is a quick under 20 minute look at what it is and how it works.
    Sorry for the "rough edges", this is my first shot at editing to get the camera/laptop views. I forgot to switch the cam view back a few times, but I think it conveys the point well still. It took about 2 hours to edit, even though it only was about 20 minutes of video. I still did the video 100% unscripted and in one take, so at least that reduces the editing workload. =)
    Wikipedia CAN article:
    en.wikipedia.o...
    How twisted pair works:
    en.wikipedia.o...
    SCCM (Steering Column Control Module) aka Clockspring video:
    • Tesla Teardowns - Why ...
    SavvyCAN software:
    www.savvycan.com/
    Wikipedia Hexadecimal article:
    en.wikipedia.o...
    Article on the CAN DBC:
    www.csselectro...
    Low-Cost CAN to USB interface on Amazon:
    amzn.to/3CY16Ur
    Support my Channel:
    www.paypal.com...
    My other videos:
    / ingineerix

КОМЕНТАРІ • 201

  • @nickandersonco
    @nickandersonco 3 роки тому +29

    I would love a 'best practices' type video for designing and implementing a CAN device. Even at a high level.
    You're awesome, and thanks for these videos!

  • @Mari0o0o
    @Mari0o0o 3 роки тому +21

    That was a quick turnaround on the CAN bus video you mentioned you’ll do in your previous video, 6 hours ago haha

    • @Ingineerix
      @Ingineerix  3 роки тому +2

      That's because I had already shot it, and just needed to do the editing which took forever and I screwed it up in several places too. =)

  • @Miata822
    @Miata822 3 роки тому +8

    Takes about an hour to watch a 19 minute video when in the middle I get sidetracked by reading the development board docs (C8051F500DK on Mouser).
    Good video.

    • @Ingineerix
      @Ingineerix  3 роки тому +1

      If you want to dabble with CAN on a microcontroller, I suggest something like one of these to start with:
      www.macchina.cc/catalog/a0-boards/a0-under-dash
      www.olimex.com/Products/IoT/ESP32/ESP32-EVB/open-source-hardware
      copperhilltech.com/esp32-wifi-bluetooth-classic-ble-can-bus-module/
      www.tindie.com/products/voltlog/canlite-esp32-can-development-board/
      All of these use the Espressif ESP32 which is supported by the Arduino IDE, so it's easy to get started. (Also supports wifi!)

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

      @@Ingineerix Thanks!
      Edit: Oh, I've used those. Thinking of developing a CAN controlled HVAC system for an industrial application, but avoiding the costly over-featured products I have encountered on the market. Still under a non-compete for a bit, but getting ready :)

  • @_chip
    @_chip 3 роки тому +15

    I'd be interested in a short demo video on LIN!

  • @mikeselectricstuff
    @mikeselectricstuff 3 роки тому +32

    Are there any established conventions or standards on CAN ID allocation, message handling etc., or does every manufacturer do their own thing? Also would be interested in the gateway functions in most cars to hadle message passing between different buses.

    • @dzidmail
      @dzidmail 3 роки тому +10

      Except heavy trucks, everyone does their own.

    • @SKPang
      @SKPang 3 роки тому +10

      Heavy truck uses the SAE J1939 standard. Marine uses the NMEA2000 standard. All based on CAN.

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

      And on top of what's included in the CAN spec, manufacturers also like to encode aditional protocols that would otherwise be outside the standard. Like VW has TP = transport protocol running on the CAN bus.

    • @Ingineerix
      @Ingineerix  2 роки тому +1

      No, there is not for passenger cars/trucks/SUVs, etc. Manufacturers do their own thing, and the CAN definitions are considered "secret". They do not ever release them, even to authorized service centers.

  • @Madmid74
    @Madmid74 3 роки тому +5

    CRC is cyclic redundancy check, not code ;) Thanks for the vid.

  • @danielhermanus6909
    @danielhermanus6909 3 роки тому +2

    LIN video please! I'm an Automation student at the DHBW Mannheim in Germany with you can probably guess which company. It's amazing to hear you explain the practical side of the theory we study in university and how the theory is used in the cars I love

  • @witoldgrabowski9263
    @witoldgrabowski9263 3 роки тому +3

    I guess, your compact, all-in-one, videos, can prove very useful, to great many people, (who already know, or, who don't know a lot more, about theoretical considerations), for variety of reasons.
    Certainly, you present some of the important aspects, of varied key systems, from appropiately selected, across-the-board-useful, well pieced together and thought-through, perspectives. Thank you.

  • @stairstoeternity
    @stairstoeternity 3 роки тому +2

    I like the simplification of something this complex.Thank you for everything you are doing.This is the perfect way of presenting information.

  • @bobqzzi
    @bobqzzi 3 роки тому +1

    You have a knack for clear, succinct explanation. Nice job

  • @qorje
    @qorje 3 роки тому +3

    Good video! Looking forward for the LIN version.

  • @byronlovesdrifting1
    @byronlovesdrifting1 3 роки тому +3

    The ev and Tesla community would be so much better served if they watched this channel instead of Munroe. Actual useful knowledge not just pandering to people who think they understand manufacturing. I just got a job as an EV service technician and it's 100% because of you and channels like this that I was able to build enough knowledge to demonstrate on my resume and in my interviews. Thankful for the people that share their knowledge and try to educate others now I have my dream job

  • @2ftpmarco
    @2ftpmarco 3 роки тому +10

    thanks for making these !

  • @mfx1
    @mfx1 3 роки тому +1

    The twisting is to improve coupling between the differential data lines so that any noise picked up is ideally coupled equally into both wires making removal of the noise at the differential receiver more effective.

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

    Absolutely the most interesting Tesla related UA-cam channel. So much better than the folklore quality info elsewhere.

  • @alexanderkenway
    @alexanderkenway 3 роки тому +1

    Dude you're killing it with the content lately. Hope you're not burning yourself out

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

    I got a chuckle out of your brilliant use of the info cards. Comedic timing!

    • @Ingineerix
      @Ingineerix  3 роки тому +1

      Yeah, I would have added more, but YT has a limit!

  • @randycarter2001
    @randycarter2001 3 роки тому +3

    The reason for the twisted pair and terminator resistors is related to transmission line theory. The CAN bus wiring is a transmission line. When designing your projects treat the CAN as a transmission line.

  • @rkan2
    @rkan2 3 роки тому +1

    Nice video - I request some sort of collab with what Damien Maguire is doing with his 3rd party controllers for EV conversions of gas vehicles. Basics of hacking a some driveunit? i'm eagerly waiting for him to figure out 3rd party CCS as that is still quite elusive for EV conversions.

  • @loowit.siberia
    @loowit.siberia 3 роки тому +2

    looks like a very reliable, hearty bus... 1mbit is plenty for moving register data from an asic or device... the voltage differential reminds me of old LVD SCSI and the priority tag in the CAN frame is a technique used in lossless ethernet... the CAN data enumeration/decoding is some impressive hacking too... i'll watch this vid at least 2X :)

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

      I tried to find the original quote, but IIRC, JB Straubel referred to CANbus as “the most advanced technology of 1987” or something along those lines. I’ll post the original if I find it.

  • @puffpio
    @puffpio 3 роки тому +2

    Would be great to see the LIN video as well (I know nothing about it)
    Most people (myself included at first) who have an understanding of computers and networking might say 'why not just use ethernet cables, its good enough for computers'. The advantage CAN has is what is pointed out here: its 2 wires twisted together and all devices can just tap into the same length of wires to talk to each other. Compared to ethernet where each device kind of need its own wire to connect to a central hub, and ethernet is like 8 wires. So a bigger savings in terms of cable weight and cost.
    I do hope non critical assemblies or sub-assemblies can switch to bluetooth or similar. imagine all the wiring in each door (window, power locks, any other buttons there) collecting the signals together and then wirelessly communicating to the brain of the car

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

      An advantage of Ethernet is the higher data rate. CAN generally has a lower data rate.

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

      10BASE2 ethernet (10 MBit/s) would be the same: 2 wires (in 1 coaxial cable), devices tapping into it in a bus like fashion, one collision domain.
      You are referring to 10BASE-T or 100BASE-T (star structure, 2 pairs=4wires) and 1000BASE-T (4 pairs=8 wires) as used in desktop or data center environments.
      Industrial ethernet standards however (like BroadR Reach, also used in Tesla vehicles) in contrast reduce the need for wiring (single twisted pair) and increase robustness at the expense of data rate. Still it's way faster than CAN bus.

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

      Cost is the main driver. It would be cost-prohibitive to implement ethernet on all the small devices inside a modern car. There's no need for the speed requirement, and ethernet does not have a priority mechanism like CAN. Same with adding wireless transceivers to every device. You still need to send power, so why not add one more wire or 2 and not have to worry about the extra cost and unreliability of wireless? Doesn't make sense, and imagine what happens when the RF noise floor gets untenable?

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

      Cost. Adding a full ethernet stack to run something simple like a power window motor doesn't make sense. The BoM cost of that motor controller would go up by 3000%, and reliability would go down. BroadRreach is only used where that kind of bandwidth is needed, and only to/from complex systems, usually running a full OS stack.

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

      Agreed, later on I thought about ‘if wireless all you need to run is a power wire’…but then if you do that you can just use LIN over power and maintain that simplicity
      I wonder if there are instances where the cost equation tilts the other way of taken into account labor cost of manufacturing

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

    Great video! I’m just starting to learn about my Tesla and I am finding the information a great starting point. Thanks

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

    Very interesting discussion about CAN bus. Thanks!

  • @gordontyler9317
    @gordontyler9317 3 роки тому +3

    Can you show how to splice into the Tesla CAN bus? I believe there's something behind the console where you can tee in? Any cheap USB dongles for it?

    • @Ingineerix
      @Ingineerix  3 роки тому +1

      A quick web search will show this.

  • @tesla_tap
    @tesla_tap 3 роки тому +2

    Another great video! Do you offer or sell the Tesla CAN database you've built up for SavvyCAN? I'v done some CAN bus reverse engineering and it's quite time consuming to figure out the various bits so I'm very impressed with the work you've done.

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

    Thank you for your videos! Maybe you'll make an CAN extended video with some filter, transceiver and controller stuff. I would like to now more whats up on HW on the PCB. 😍

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

    Many knowledge here. Thank you very much for your clip.🥳

  • @cstalt
    @cstalt 3 роки тому +2

    Such quick content! What is your background that gives you all this experience?

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

      I am an EE. I have had an Engineering Consulting business for over 30 years, and more recently I am also part of a startup making electric vans: maxwellvehicles.com/

  • @_chip
    @_chip 3 роки тому +1

    Thank you so much. Such a great little demo.

  • @Putersdcat
    @Putersdcat 3 роки тому +1

    For the non-Americans, the blue things are called wire nuts, they are a quick way to make temporary connections. Temporary unless it works. 😉

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

      Yeah, I should have mentioned that. I often use Wagos now for temp connections, but it's hard to beat a wirenut on these thin wires!

  • @LawpickingLocksmith
    @LawpickingLocksmith 3 роки тому +1

    Thanks! You made Amazon sell in record time.

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

    Your videos are informative and well explained, thanks. Keep em' coming

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

    Just donated. Appreciate the information you share!

  • @spiralbrain
    @spiralbrain 3 роки тому +1

    Great Video! Thanks. Would you be able to tell me if this USB cable shows up as a serial device? If so, can a cheap car scanning/cable be used with Savvy CAN?

    • @Ingineerix
      @Ingineerix  3 роки тому +1

      No, it does not. SavvyCAN supports a lot of devices, but not all.

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

    keep it coming!😍 i wonder if Toyota's drive by wire steering is robust enough. i guess possible to makeit safe by automatically slowing down the vehicle when it detects a failure in the steering. but then mechanical steering always works.

    • @floorpizza8074
      @floorpizza8074 3 роки тому +2

      It has been used in aviation since the '70's. I can't imagine that Toyota would implement a system with such obvious safety possibilities (read: law suits) without making sure that it's plenty robust.

    • @Ingineerix
      @Ingineerix  3 роки тому +1

      Tesla doesn't use drive-by-wire steering (yet). The redundancy is mainly for autopilot.

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

    Nice video for information technology.
    Can you explain the pin numbers of the 12V, GND, CAN H, and CAN L connectors on the SCCM?

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

      I’d be interested to know this too. I have one of there units and I’d like to experiment. I believe CAN give out 2.5 and 5 v but I’m I bit reluctant to start prodding the pins wigg to h an avo 🤣🤣🤣

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

    Teslas CAN bus, CAN truck, CAN train, CAN even rocket.

  • @namnguyenthanh3089
    @namnguyenthanh3089 2 роки тому +1

    Hello, I have similiar setup like you had. But when I use Savvycan, the windows 10 doesn't regconize it as the COM port but USB serial bus devices. I wont be able to add the connection in Savvycan. In your application, how do you "add new device connection"? Thank you and appreciate your help

    • @Ingineerix
      @Ingineerix  2 роки тому +1

      Sorry, I do not use windows. In Linux it just works with SocketCAN, nothing else needed. My only suggestion is to look for SocketCAN drivers for windows.

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

      @@Ingineerix brilliant. Let me explore. Thank you for your reply

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

    Thank you. Useful content. I want to know more, keep making content like this.

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

    I'd love to see this tool on the main can bus

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

    Watching friend full support🙂😊❤🙏🙏

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

    One of the things Tesla and other car makers have done are make light bulbs a part of can bus. Makes finding burnt out bulbs easy for a tech, expensive for the customer.

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

      Tesla doesn't use light bulbs.

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

      @@Ingineerixthey have puddle lights on the bottom of the doors, lights on each side of the trunk. All these are on can bus and Tesla has told me the replacements don’t report to the system. The mobile mechanic suggested saving the old lights ( in my glove box) as they are $35 each.

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

      @@frankdelao4067 Firs off these are not "light bulbs", these are LED based. They shouldn't fail for the life of the car unless there is a defect. They are also NOT on the CAN bus. They are driven from a body controller. I looked in the parts catalog, and they are part number 1007151-00-E listed for $17.

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

      @@Ingineerix the price I got was mentioned by the tech. Since there is a charge for Tesla to change them might explain the price difference. We had a G35, Infiniti wanted $20 to replace the right front turn bulb, only held in place by a single Phillips screw. For years I have heard how LEDs are supposed to last years. Our house has all LEDs. None has lasted 5 years. Our G35 had multiple LEDs in the high center stop light, several in the unit went bad.

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

      @@frankdelao4067 Most low-power LEDs have lifetimes in the 100,000 hour range. High power is in the 10,000 hours range. Both types depend on proper engineering of the power supply and thermal system to get those numbers. Most LEDs don't fail, but it's usually the power supply.

  • @justinhealey-htcohio3798
    @justinhealey-htcohio3798 3 роки тому +1

    AMAZING CONTENT ♥️ THANK YOU!

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

    Well my steering column sensor / click spring like the one in your video has now arrived. Can you tell me where I could look to see which pins are for the power and which for the CAN. Did you use a specific plug or just jumper type wires . Thanks for inspiring me to do this.

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

    Great video and very informative - I have a Tesla M3 SR I want to add a Tesla OEM subwoofer and amp. In the forums people are saying you can’t just add one as the amp uses can bus and the Tesla MCU won’t talk to it as it doesn’t know it’s there. I understand that but why would an amp need to be on the can bus? Surely it would be possible to program a arduino to send the signals it’s wants - or am I missing something??

    • @Ingineerix
      @Ingineerix  2 роки тому +1

      It's not CAN, it uses a special digital Audio bus called A2B. Without config set in the Gateway that only Tesla (or Tesla hackers like me) can do, the ICE (MCU) will not output the correct digital audio. www.analog.com/en/landing-pages/001/a2b.html There are also different speakers and major wiring harnesses, it's not just the sub/amp.

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

      @@Ingineerix ok thanks - I’ll have a look into that 👍🏻

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

    Great video! I vote for more like it.

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

    Very enjoyable video and I also enjoyed your tear down of this very elegantly engineered item. Just one question - do you know what plug you used to connect the cables to this unit ? I’d like to see if I can explore this too. Thanks in anticipation.

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

    Brilliant video

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

    Great video sir!

  • @Ender_Wiggin
    @Ender_Wiggin 3 роки тому +1

    Nice i love it! this is perfect for First robotics kids

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

    Very good. Thanks!

  • @koeniglicher
    @koeniglicher 3 роки тому +1

    I would like to know more about the CAN database format to decode the raw CAN messages of Tesla vehicles. They are clearly a result of reverse engineering for Tesla. Is there a repository for these files anywhere as a public collection?

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

      There are a lot of open source projects around CAN and cars so I am sure there are resources out there to find, for example I use a CAN adaptor to diagnose issues with my car

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

      ​@@backacheache My question is not on CAN and cars in general. It is specifically about resources to decode the CAN frames (physical addresses, CAN identifiers, data bytes) in Tesla vehicles. This decoding is manufacturer specific and gives meaning to these bits and bytes. They are either leaked from manufacturer (i.e. Tesla) sources or the result of intensive reverse engineering work and can be treated like industry secrets and "gem stones", once they are complete or near complete. It is relatively easy to reverse engineer a few IDs and data bytes here and there for some car, but the decode that Ingeneerix showed in this video for this steering wheel control module on his bench looks basically perfect with very high quality.

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

      There are some public efforts, but my work is from many total years of reverse engineering work.

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

    Excellent video! Got a sub, please do a video on the onboard charger and the can handshake it uses to talk to a charging station! Thanks!!

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

      On board charger is here: ua-cam.com/video/lXokJEzXwaI/v-deo.html Overall charging is covered here: ua-cam.com/video/0lxxOsLcNQQ/v-deo.html

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

      @@Ingineerix Thanks for taking the time to respond! I meant the can sniffing of what is going from the onboard charger to the charging station, similar to what you read here from the steering module on the CAN Bus.

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

      @@wagnerbrochini3892 Sorry, I am not going to make that information public, as it would likely result in a bunch of people trying to connect unsafe stuff to the charging network. Also, Tesla would likely change it if this happened, thus making all the time I spent learning it a waste.

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

      Well, it was all for the sake of knowledge, but I understand your position. Either way, I don't think it would make a difference if they changed it, stations would still have to talk with "legacy" chargers, so no point in changing; it would be of huge interest to DIYers like myself to have an insight on what's happening during a charge, best regards!

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

      @@wagnerbrochini3892 The basic flow is the Supercharger is a dumb device. Basically The BMS in the car sends voltage and current commands to the supercharger, and it does it's best to obey them. It's very similar to CHAdeMO. Billing/authorization is handled in the car.

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

    Does tesla use canopen, j1939 or proprietary application protocol?

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

    Is there any way you could do a video on the camera system, how they are controlled. I’ve been getting lots of cameras blinded or blocked messages since downloading FSDbeta V10.5. Also getting it on the cabin camera during night driving.

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

    Very cool! How many separate can busses are there in a Tesla and how do they separate them (like what goes on which)?

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

      That depends on the Model. Some only have 5, some have more than 10. Some are dedicated for important applications, such as supercharging.

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

    How do you do intomaker canbus dongle settings in savvy?

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

    Great video, thank you!

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

    Спасибо за видео!

  • @sooocheesy
    @sooocheesy 3 роки тому +1

    Is the CAN bus separated/sectioned into critical and non-critical areas, or is it just one big "omnibus"? It seems like from a stability/bandwidth perspective the critical driving tasks should exist on their own bus, and other non-critical could be on another one.

    • @koeniglicher
      @koeniglicher 3 роки тому +1

      There are multiple separate CAN busses on a Tesla, of course, not just a single big omnibus. Traditionally, in other brands there are at least: powertrain CAN, chassis CAN, body CAN, infotainment CAN, diagnostics CAN. So that somehow separates critical ones from less critical ones. Teslas add Ethernet / Broad R-Reach connections and still has likely even more CAN busses when counted across the whole vehicle.

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

      @koeniglicher is correct. Even early Model S in 2012 had 4 CAN buses, now some models have over 12. CAN is also pretty fault tolerant by design.

  • @Nunya-lz9ey
    @Nunya-lz9ey 11 місяців тому

    Please add another video related to the Cybertruck's 48V CAN bus and ethernet stuff

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

      I would absolutely love to, but it will probably be a long time until I can get my hands on one.

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

    If some device went rogue and jammed the CAN bus, does that prevent everybody else from talking completely?

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

      No, Generally not possible with CAN hardware. Lowest ID wins. (built in priority)

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

    Hey question for you, where can i get the connector that is connector with the CAN interface? Thanks for the video!

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

      There is no standard connector. You have to tell me what you are trying to connect from/to. If it's a Tesla, what model/Year?

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

      @@Ingineerix it is a tesla just learing gathering tools so help me get better at diagnoses. The connector you are using with the interface that is what I am referring to

    • @Ingineerix
      @Ingineerix  11 місяців тому +1

      @@waqasazmat81 That's just a standard DB-9, So this will connect to the CAN dongle: amzn.to/3T2Iz4c

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

      sorry to bug you, I can use that connector to other devices on tesla and read the data on the open source @@Ingineerix

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

    How about a video on CAN signal injection and manipulation.

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

    Great video

  • @larrycreech8956
    @larrycreech8956 10 місяців тому

    Anyone know where can I find the pinout and connector information?

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

    How does the software on the computer know the meanings of the data frames?

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

    Formerly known as a CAN SNIFFER

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

    Great stuff

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

    can you share your DBC about tesla steer

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

    I would like to a see a tear down of the model X air suspension raven system. Or an explanation of what the module does thank you

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

      Send me one!

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

      @@Ingineerix you can tear mine down I already took out the rear seats it’s my service van 2020 long range plus

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

      @@Ingineerix I have both seat modules connected and no error message on the screen removed from seats

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

      @@bencrilly209 I can't promise a teardown won't damage something. While I try to not destroy stuff if at all possible, there is still significant risk.

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

      @@Ingineerix where else in the world can you get a work truck that’s fully loaded with my tools and I’m avg 310 watts a mile….I would like to see anyone get to beat that

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

    How do you know that id 0x129 is steeringanglesensor?

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

      By reverse engineering the whole system, it took many years of work in total.

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

    I’m slightly surprised Tesla uses CRC instead of a digital signature.

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

    Regarding the Model 3 steering wheel control module, is it possible to retrofit the new Model 3/Y heated steering wheel into the older Model 3s? Not counting software requirements from Tesla, but it is physically able?

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

      Yes, but without the software changes, there is no way to use it.

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

      @@Ingineerix What do you think the chances are that Tesla would allow a retrofit and enable the software? They are supposedly going to be offering it for the PWS speaker system for cars that were built without the speaker, but still have the wiring harness (I need to see if mine has the harness, March '18).

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

      @@Kingkoopa00 Based on prior history, I'd say very low. Tesla service is pretty horrible IMO, and most often the employees seem to treat customers as something offending they found stuck to the bottom of their shoe. Historically Tesla concentrates on the newest models and doesn't seem to give much priority for their customers of even slightly older cars.

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

      @@Ingineerix Huh. My experience has been very different. At least in my local service department. They've ordered me parts several times, like the redesigned rear and mid diffuser, with no problem. Or things they added to later models, that I wanted to add to mine. I've heard it's very hit and miss though for service quality, and all based on the specific service center.

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

      @@Kingkoopa00 Yeah, YMMV. I used to know a nice parts guy at one of the SCs close to me, but he didn't last long. Based on what I've seen first hand and been told, I'd say at least 75% of the SCs are hostile to customers in general.

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

    Yessss

  • @teslaw-model3
    @teslaw-model3 3 роки тому

    how do you decode new messages on the bus including their meaning if you have never seen them before?

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

      By changing only a single input at a time. Combined with some trial and error, guessing and luck. If someone can do Sudoku, then reverse engineering is basically the same. I guess, there is also a Tesla hacker community that exchange their findings in reverse engineering.

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

    This looks like an official Tesla DBC rather than reverse engineered. How did you get it?

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

    You alluded to this, but is it common to have multiple can buses for different purposes? If so is there some device that listens to all of them for diagnostics?

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

      Yeah, besides expensive multi-CAN dongles, there are boards that use 3xCAN of popular STM32 chips.
      It is common to split powertrain, chasis, ADAS networks, etc..

    • @koeniglicher
      @koeniglicher 3 роки тому +1

      Yes it is common to have multiple CAN busses for different purposes. On Teslas, there is a proprietary diagnostic connector in the console area that exposes a number of CAN busses and some Ethernet networks. For diagnostics there can either be a CAN gateway device that then transmits diagnostic requests to the appropriate busses. Or in case multiple CAN busses do not have a gateway and are all exposed to a diagnostic connector, then the external diagnostics hardware (vehicle communication interface) typically contains a multiplexer. This multiplexer then switches to the right bus first, and does its diagnostics jobs. For this to work, the diagnosis application needs to know beforehand which ECU (electronic control unit) is on which bus. So, instead of listening to all of them for diagnostics in parallel, the multiplexer first talks to the first CAN bus, then the second, then third in an all ECU scan. In diagnostics, a certain focus is required, otherwise you will be just flooded with messages and data from all sorts of ECUs and sub-systems.

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

    Interesting, seems like a robust protocol.

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

    Love the videos! If you can find an on-screen magnifier that plays nice with your screen recording software, consider having some sort of virtual magnification follow your mouse cursor around for those of us watching on mobile.
    Otherwise text on a screen recording looks like letters made for ants

  • @sudeeptaghosh
    @sudeeptaghosh 3 роки тому +1

    That was a comprehensive class on digital signal processing end to end

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

    Where is the easiest place to plug in to read CAN messages on a Tesla Model Y 2023

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

    How often are these CAN IDs changed by Tesla, if at all?

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

      not often. Even on the some car makers, they keep can ids for decade...

    • @Ingineerix
      @Ingineerix  3 роки тому +2

      The Tesla CAN frames are constantly changing, sometimes several times in one month. Some stay the same for a long time, but others get updated often.

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

    Nice!

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

    So the CAN bus is not used to write data to devices? It's only for reading states and alerts?

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

      For simplicity, I only demonstrated one node, the SCCM, so it's the only thing talking. There are hundreds of IDs active on most of the CAN buses in the car. It would pretty much be overwhelming to show them all, and that's not the point. It's like trying to learn a new language: Would you rather hear only one person talk, or a whole room full of people at once? If you want more, take a look at my "Secret Signals" video: ua-cam.com/video/CLOEGFtFIPA/v-deo.html

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

      @@Ingineerix I totally understand that, I was just wondering if a device can send commands to the CAN bus instead of simply broadcasting internal states.

    • @Ingineerix
      @Ingineerix  3 роки тому +1

      @@jendib All can transmits are broadcasts. Any device on CAN can receive or send (broadcast).

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

      @@Ingineerix Thanks for the clarification and for making those videos, it's super interesting!

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

    6:00 - CRC *cyclic redundancy check

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

    What DBC do you use?

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

      I have created one by many hours of painstaking reverse-engineering.

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

    What does it mean when it says the CAN NODE is irrational or MIA?

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

      Well "MIA" stands for "Missing in Action", just means it's not reporting in (no frames received when they are supposed to be). Irrational means that it's probably sending data that is out-of-bounds or doesn't make sense. Some causes of irrationality are frame counters out of sequence, checksums that don't prove out, encoded values that can't be true, such as a percentage value over 100, etc.

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

      @@Ingineerix my 2021 Tesla model 3 autopilot ECU is in fallback mode and service mode is saying DAS CAN NODE irrational / MIA… I’m outside my warranty so I’m trying to fix it myself

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

      @@joshmills7368 First off, a 2021 car should still be in warranty. Secondly this is probably something you can't fix yourself. DAS is a microcontroller inside the Autopilot ECU. If you've powered down the car completely for 5 minutes and restarted, and it's still there, then it's probably something you can't fix internally. When I say power down, I mean both HV and LV, not just pressing the shutdown button on the screen.

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

      @@Ingineerix I commute 162 miles per day to and from work.. I’m at $61,000 miles.. I did the power Down for 12 hours and still nothing.. I didn’t see anything obvious on the AP board.. but I didn’t use my multimeter.. it’s acting like an IC microcontroller fried itself.. you’re saying I can’t replace the IC and it start working again?

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

      @@joshmills7368 No, because you have no way to flash the correct firmware on it. The best you could do is replace the whole APE board with one from Ebay, which should work, but you'd lose the ability to update the software as Tesla won't have the correct certificate matches. Sadly you'll probably have to pay Tesla for a new ICE. (They won't replace just the APE board) You can't replace the ICE yourself either, the GW config won't match your car.

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

    Know do a really in-depth version!

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

    is it technically possible to just take a wheel module from a tesla and use a microcontroller to convert the CAN data to a usb input device? make cheapish driving wheels for gaming out of tesla steering wheels from salvage cars lol

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

      only issue with this i spose would be the airbag lmao

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

      i wonder if also the CRC data is designed as a means to avoid people from going and tampering with the can bus data for steering angle without tampering with the crc data (wonder what the car would do if that check failed too)

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

    Is there a single bus for the whole car?

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

      No.

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

      Even early Model S in 2012 had 4 CAN buses, now some models have over 12. CAN is also pretty fault tolerant by design. Separation helps ensure more reliability and safety.

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

    Just wanted to add that CAN FD (flexible data rate, developed around 2011) can be up to 5Mbit/s, would not be surprised if it is in the Tesla

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

      No, Tesla does not use FD or FT. All Tesla CAN is 500k standard boring CAN, except supercharger communications, which is 33.3k, single-wire.

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

    I wonder if anyone has done CAN with a dsPic33 and not gone insane. Like 8 huge documents that need to be read and understood concurrently. Mehh.

  • @Ryukachoo
    @Ryukachoo 3 роки тому +2

    Dumb question, when making a CAN stub for a USB to can converter, it's literally just pins 2 and 7 for can lo and hi, right? No extra power or ground wires needed?
    Edit; dang, the part of you showing how you're terminating the can wires isn't shown

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

      Yes, sorry. Editing mistake. You are talking about the DB-9 pins, yes it's 2 and 7. If you scroll down on the Amazon link, they provide the pinout. You don't need a ground reference is there is galvanic isolation, it's optional.

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

      @@Ingineerix ah, thanks, but it sounds like you also have a 120k ohm resistor somewhere on there too?

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

      @@Ryukachoo It's not 120k, it's 120 ohms. And you can clearly see it in the beginning of the video, it's connected using the 2 blue wire nuts. The other termination is inside the CAN to USB adapter, which is enabled by a jumper.

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

    First

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

    Awesome 👏

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

    What are the pins can high, low and power supply?

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

    I have problem about conection with Savvycan V208 program (can't see serial port) but I using Innomaker program it work fine. Please tell me about program setup or connection setting

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

      Sorry, I use Linux and SocketCAN, so it just works, no drivers needed. Can't advise on Windows because I don't use it.