SparkFun According to Pete #55 - How CAN BUS Works

Поділитися
Вставка
  • Опубліковано 4 жов 2024

КОМЕНТАРІ • 79

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

    Perfect timing on this video working on a project myself and will be attempting to read off of CAN BUS of my '16 Ford Mustang GT

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

    Amazing job. The way you presented keeps people attached. Thank you.

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

    I think it would be better if you gave some examples - eg Let's turn on the headlights....now let's see how the data changes on the bus. Then you could get deeper into the detail.

  • @KeithCooper-Albuquerque
    @KeithCooper-Albuquerque 6 років тому +7

    Excellent video Pete! I am new to the CAN-BUS: This really helped me a whole bunch! I can't wait for your follow-up video!

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

    I really enjoyed that, both educational and funny.
    The humour keeps you interested in something that can become somewhat brain draining after awhile.
    Top job.

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

    You are a great teacher. Have to be an awesome guy

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

    Good timing, im being pressured to get onto an overdue CAN bus upgrade to an existing product. This video answered a lot of my questions about how CAN bus actually works

  • @devil2005iscool
    @devil2005iscool 4 роки тому +8

    There isnt 120ohms between them, there is 60ohms between the CAN H and CAN L with two 120ohms in parallel = 60ohms, this is useful to know when diagnosing an obd port as you can measure the resitance between pin 6 and 14 and if you have 120ohms then your bus is missing a resistor meaning a module may be shorted to ground. :]

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

    this video was absolute fun to watch and easy to understand kudos

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

    Wonderful presentation!!!

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

    Love your tutorials Pete! You explain such complex stuff in very simple and joyful way. Thanks mate! very helpful ;)

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

    Am a technician when ever there's a no communication with any of the module in cars, I observed the fault code of No comm with particular module is showing up in adjacent module data. The stuff transceiver,nodes, arbitration all are sound that now to me.
    Thanks man for the briefing CAN bus network, loving this so much ❤️

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

    To bad i didn't had a teacher like this in school. Really good explanation, Thanks

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

    Pfft.. OBD2. I only watched this to learn how nodes know not to stomp on another nodes transmission. Which you answered. Thank you!

  • @ahaha731
    @ahaha731 5 років тому +2

    Thank you. It easy to understand.

  • @jasmany19
    @jasmany19 4 роки тому +2

    It turns out that CAN bus is still being used in large 1100 kVA UPSs (Uninterruptible Power Systems) for module communication.

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

    Bro u make electronic studies more funny, i really appreciate that thx :)

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

    Really love this video. Great job

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

    CAN-bus is called sometimes as "känni-väylä" here in Finland (literally drunk(en)-bus) because of pronunciation.
    Nice video! I was going to make a project where I would have needed to know isobus (ISO 11783), used in agricultural machines, but that did get barely started.... Unfortunately.

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

    5:40 Ppl who like network wossnames are freaky, but we love em.
    They happily deal with the freaky so we can get back to our silicon & soldering irons ❤

  • @jasonrussell6534
    @jasonrussell6534 5 років тому +1

    CAN and OBD2 have no direct relation at all until 2008. Some manufacturers (mostly those that use Bosch parts, go figure) have vehicle specific CAN networks that are not publicly documented and a gateway to put the pertinent information in the OBD2 format on the data link appropriate for that generation (k-line for early OBD, CAN for late OBD). I think it's also imperative to make clear CAN is the network transport but the data can be and is free-form with no standards at all in place with regard to ID and data. That's all up to the engineers designing the system.

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

      Yep. I am guessing he researched this and didn’t actually understand the relationship.

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

    Could you make video About transfer function in complex filters like for low high and bandwith?

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

    i also read the ISO specs: they are indeed a mess :)

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

    I would think sparkfun would have an ISO subscription so Pete doesn't have to go searching for bootleg documents 😂

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

      We're pretty big believers in the idea that information should be free. Or, at least, I am.

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

      Pete Dokter
      Schools are In the business to make money, ,, education is a sideline. ....
      I have to laugh at the commercials that claim friendship... Just how friendly would they be if you had no money.

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

      Pete Dokter Of course, and you guys do an amazing job of that. I just assumed that is was almost required to run an electronics company, but if you don't need to, don't give the bastards your money!

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

      @@snakeoilification I agree... if these things are 'standards', they should be easily available, otherwise ppl with just make sh** up.
      Roadsigns have the same problem.

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

    I us can a lot in robotics, but have never really understood how it worked so thanks for making it so simple

  • @12around1
    @12around1 2 роки тому

    now thats what I call a teacher

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

    Wow that seems complicated.
    As a former motorhead prior to disability, your car should be direct injected, the duty cycle of those injectors would be interesting to know IMO.
    -Jake

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

    Thanks for this video!

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

    Great Explanation of Arbitration yet please note examples of actual NODE ID's , the "missing link" not shown: note each NODE is unique by binary address.

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

    WOW you’re great! But dame, you talk fast!! I understand all your saying but when some of the stuff are new knowledge I can’t accumulate both the new knowledge AND concentrate to hear what you saying 😅 but I got about 25% of it 🤣

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

    Can you send something like an encoder down a CAN BUS or is CAN-BUS to slow for something like that.

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

    I'm 20 minutes in, stopping-and-starting the video to write down notes, as it seems this video has as much info as one can get on the CAN bus without going to those shady websites.

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

    very good illustration i hope to see some code implementation even as a sudo code
    thank you

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

    Oh,, wow,, that brings back memories of school...
    Grampa would s***,,
    Now,, what would be neat,, is to have a lab kit for hands on play.
    Uart a good teacher..
    Sorry,, just had to do that...😆

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

    Hi. can i power on a car headlights out of car? i have removed full led headlights that are using CANBUS but i'm trying to repair and i want to power on for ex: turn signal, drl etc using a power supply? thanks

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

    Can you please do a sample working example using Can modules/can boards .Thankyou for Good information .I have heard theory from every where but I didnt see any one doing a tutorial using Can boards .

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

      Well, the next video is going to be predominantly about OBD2 and connecting to that port and poking around. But have you checked out our hookup guide for the CAN485 board? At least for that hardware, setting up a CAN bus seems a pretty simple exercise. learn.sparkfun.com/tutorials/ast-can485-hookup-guide

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

      Pete Dokter thankyou.what is the maximum distance between a can transmitter and receiver to trasmit successfully .?

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

      ISO 11898-2 gives you a ballpark figure of 1Mbit/s at 40 meters if you follow all the rules laid out in the spec. But if you're cool breaking rules and shunning norms, it really depends on your data rate, and the two are inversely proportional (also depends on the physical config of the network, but we'll assume two nodes at either end). First figure out how far you want to go, then back out a number for your necessary data rate to achieve that distance, dig? It's less about "how far can it possibly go" and more about "how much are you willing to pay to make it go further?"

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

    Can layer 2 with 11 but identifier is sam as canbus 2.0 a

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

    The wheels of the bus go round and round.....

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

      your reading my mind lmao

  • @electron-1979
    @electron-1979 6 років тому

    Thanks Pete, from Pete

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

    Where are your other CANbus vids?

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

    Where can I buy a CAN cable?

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

    you didn't finish the part about arbitration... how nodes are prioritized by their address

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

    i still need an explanation about r0 and r1

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

    I wouldn't worry about messing with your car. I can speak from experience, they are really robust systems. It is very hard to take out modules.

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

      (and even if you did take out a module, there is no way the techs would know what you did, and they would warranty it)

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

      Noted, thanks much.

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

      No problem. Dealerships treat modules like magical black boxes. They don't question how they became bad. They assume you're a typical customer that can barely successfully insert the fuel nozzle in the fill hole.

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

      @@AbnormalWrench Dealerships actually track failures for the OEM's to follow up on. The OEM's contact guys like me at the Tier 1 suppliers that actually design and manufacture these devices. We work on whatever priorities the OEM has, and we work as hard and as fast as we can to make updates to the product lines and implement those lessons learned on new products.

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

    23:45 funny stuff man

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

    the can on the bus goes round and round, round and round, round and round. sorry had to get that out lmao XD

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

    Suppose we have 2 wire CAN bus. CAN_H and CAN_L if CAN_H fails?
    Is CAN communication still continue ?
    or BUS will become off?
    what will happen?
    Please ans

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

      No, on can hi and can lo if one wire is damaged can data will not flow. You can test resistance on these wires when the bus is dormant and you're looking for 60 ohms. LSFT can will allow for data to travel on a single can wire if one is damaged.

    • @717Fang
      @717Fang 4 роки тому

      If you use a fault-tolerant CAN bus, then it can work over a single wire.

  • @Product-Prints
    @Product-Prints 3 роки тому

    Hey Pete great video thanks! Helped me understand some core principles for a contract position I’m hiring for. You wouldn’t happen to be interested in some freelance work by chance... would you? If its an option lets chat it up! Regardless be well!

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

    I like you sir.

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

    what are the nodes? Are they modules?

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

      wizzy wurry things that give orange or red sparks go bang boom wizz wurr

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

      Nodes are ECU s

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

    👏👏👏👏

  • @ovalwingnut
    @ovalwingnut 5 років тому +1

    You're hat is on backwards... just saying

  • @blackcat-mp7kh
    @blackcat-mp7kh 3 роки тому

    thanks but lecture would have been more pleasant if you had finished coffee 1st

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

    Are you gonna drink your coffee?

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

    All of this so we can remove a few signal wires ( thin wire ) hum .

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

    Still unsure how arbitration works. Good video otherwise!

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

    Ditch the cringe guy fawkes mask. It has literally NOTHING to do with arduino

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

    Useless for real world diagnostics

    • @allenklingsporn6993
      @allenklingsporn6993 5 років тому +4

      Only if you're an idiot. How do you think we test and engineer these systems in the first place?