eapbg #48 Introduction to CAN (Controller Area Network)

Electronics and Programming Beginners Guide
www.eapbg.com
An introduction to CAN, Controller Area Network. The packet structure, how arbitration works and how to connect transceivers.

Пікірлер: 286

  • @felixcat4346
    @felixcat43465 жыл бұрын

    This is by far the best explanation of how a Can bus works on the web. Thanks.

  • @rodrigotbw

    @rodrigotbw

    5 жыл бұрын

    Agree

  • @eapbg

    @eapbg

    5 жыл бұрын

    This is by far my most popular video. I just took everything that didn't make sense to me and explained it. Have you watched my video on advanced CAN. That one may make your head hurt. I'm working on my own CAN project and probably spent 6 months working to understand how the baud rate works. Out of curiosity what did make this video stand out?

  • @rodrigotbw

    @rodrigotbw

    5 жыл бұрын

    @@eapbg I will take a look. Thanks for mentioning

  • @felixcat4346

    @felixcat4346

    5 жыл бұрын

    @@eapbg Your down to earth vocabulary and presentation style. You seem to ask and answer practical questions.

  • @carolinewang3812

    @carolinewang3812

    3 жыл бұрын

    @@eapbg Like the video! The people are searching for videos, which answer their questions. But unfortunately, some videos are just repeating the information, which is easy for everyone to get, they are not trying(or maybe even avoid) to answer the tricky questions, that bothers everyone. But you explained everything that need to be clarified! Thank you very much, I will follow your other videos in the future. And another reason for the popularity of this video, in my opinion, maybe because CAN Bus is used widely and is a very popular topic.

  • @notsonominal
    @notsonominal3 жыл бұрын

    This covered a couple aspects that made everything much clearer. Thanks for taking the time to put this out there!

  • @AlexsandroRNeto
    @AlexsandroRNeto3 жыл бұрын

    I must say that I was not convinced that my 35 minutes would be worthy, because I watched so many vídeos about it that added nothing to my knowledge, but thank God I went through and what I wanna say is: thank you, thank you... eternally grateful to you for sharing your knowledge.

  • @eapbg

    @eapbg

    3 жыл бұрын

    Try my CAN baud rate video. Let me know what you think.

  • @joshuaboerger7965
    @joshuaboerger79656 жыл бұрын

    very very helpful; your analogy of CAN communication to a general announcement rather than a phone call to an intended recipient made so much sense, thank you

  • @yazdihr
    @yazdihr5 жыл бұрын

    Very nice, informative and "to the point" presentation. Truly Enjoyed it, Bolshoi Sposiba!

  • @yashelectron
    @yashelectron6 жыл бұрын

    Hi, I have gone through the number of videos. But here you 'Handsomely' described this protocol.It was nice explanation and the way you described the thing.

  • @acchuification
    @acchuification2 жыл бұрын

    So far the best ever content I have seen on the web, Thanks

  • @jeremy7923
    @jeremy79235 жыл бұрын

    Awesome. Went from having no CAN knowledge to now feeling pretty confident about its architecture and overall functionality. Thanks.

  • @roberthorwat6747
    @roberthorwat67475 жыл бұрын

    Big old thumbs up right back at you. Clear, beautifully explained and very enjoyable to watch.

  • @koche9917
    @koche99173 жыл бұрын

    Thanks. Your single video helps understand the phy level of can bus. Thanks.

  • @SantoshSingh-nm1pe
    @SantoshSingh-nm1pe3 жыл бұрын

    Best of the CAN explanation i got in the web. Thanks.

  • @jacotolkien
    @jacotolkien4 жыл бұрын

    Best explanation I have found on KZread.

  • @eapbg

    @eapbg

    4 жыл бұрын

    Thanks

  • @rishikeshg8926
    @rishikeshg89263 жыл бұрын

    This is the best Lecture on CAN

  • @hchattaway
    @hchattaway2 жыл бұрын

    This was excellent... I needed to learn about CAN for a medical device I am working one and this helped a lot. thanks!

  • @frankgrudge8823
    @frankgrudge88232 жыл бұрын

    Amazing lecture on CAN, hope to see more of your videos in the future. Thankyou

  • @scottb4029
    @scottb40293 жыл бұрын

    Great job . Excellent straight forward explanation.

  • @kreetykhatri4698
    @kreetykhatri46984 жыл бұрын

    Real good explanation, the best and logical among the ones found on this platform!

  • @eapbg

    @eapbg

    4 жыл бұрын

    Thanks, glad you like it.

  • @lJUSTwanaCOMMENT
    @lJUSTwanaCOMMENT4 жыл бұрын

    By far the best CAN intro on youtube. Thank you so much. This answered many questions.

  • @eapbg

    @eapbg

    4 жыл бұрын

    Thanks

  • @Mano8881
    @Mano88816 жыл бұрын

    Very good and detailed explanation, I like your teaching style.

  • @northernpatriot9078
    @northernpatriot90784 жыл бұрын

    dood im an aspiring auto tech pro , your a dam good instructor one of the best presentations of CANBUS i have seen on YT!!!. Dave hobbs eat your heart out this guy is a good teacher you should collaborate with some tech instructors on YT here like scanner danner or pine hollow auto diagnostics just a thought !!!

  • @eapbg

    @eapbg

    4 жыл бұрын

    Thanks. I'm actually an ex mechanic and funny enough I did not use any of this for any kind of diagnostic work. Nor did I even learn it until much later. The info in this video is all design related. Engineers would use this to design a network from scratch. For troubleshooting CAN bus networks in cars all you really need to know; is the wiring good, are the termination resistors good, are the voltages stable and not shorted, and unplug modules until it starts working. If you haven't already check out my video on CAN bus baud rate. That one will make your head hurt. I have thought of doing an eapbg auto edition. As a mechanic, I was the go-to diagnostic and driveability guy. I was thinking of some videos on how car subsystems work like EVAP, fuel injection, or operational strategies. I wouldn't do anything make model specific mostly because I've been out of the game for at least a decade now. Not sure how much demand there actually is for stuff like that.

  • @wsmao1154
    @wsmao11544 жыл бұрын

    very clear and throughout most of the important things what CAN bus does for us. Love it and thumbs up!

  • @eapbg

    @eapbg

    4 жыл бұрын

    Thanks, glad you like.

  • @modulate72
    @modulate725 жыл бұрын

    Thank you for the addressing/arbitration part. Very good stuff.

  • @HassanAliAnwar
    @HassanAliAnwar5 жыл бұрын

    Excellent explanation. I was looking for exact this thing.

  • @devadevanand5323
    @devadevanand53236 жыл бұрын

    Best explanation of CAN BUS

  • @Pure_India
    @Pure_India4 жыл бұрын

    Best Video on KZread till date about CAN BUS 👌🏻💥💥💥!

  • @eapbg

    @eapbg

    4 жыл бұрын

    Thanks

  • @laserdad
    @laserdad2 жыл бұрын

    I know this is an old video, but it was the first one that I actually was able to make sense of, for CAN. I'm not saying that I'm not competent, but at least I have a decent idea of how it works. Being an instructor, I really like the way you presented it, without trying to read a prepared presentation.

  • @eapbg

    @eapbg

    2 жыл бұрын

    Glad you liked it. The draw back of not being a prepared presentation is that I missed some stuff. Try the CAN Baud rate video.

  • @SandyWalsh
    @SandyWalsh3 ай бұрын

    Awesome video - answered all my questions. Thanks

  • @ahmedazad7704
    @ahmedazad77046 жыл бұрын

    Thank you so much. Very smooth tutorial for beginners.

  • @supreethanil2023
    @supreethanil20235 жыл бұрын

    One of the best explanations...

  • @eapbg

    @eapbg

    5 жыл бұрын

    Thanks, glad you liked it.

  • @hootanbadii1799
    @hootanbadii17995 жыл бұрын

    You are a great instructor. Thank you.

  • @byllgrim6045
    @byllgrim60456 жыл бұрын

    Every node speaks at the same time? Thank you for discussing this! Arbitration was my biggest confusion regarding CAN. Everyone I spoke to regarding CAN, failed to explain this to me. "How do they decide who communicates?" "Well, you see, there is a can high and a can low..." "Yes, I know!!!!!"

  • @eapbg

    @eapbg

    6 жыл бұрын

    I went through the same struggle. As a whole, no one ever described arbitration. Everyone had a little piece and you had to put them together. Microcontroller data sheets are where I finally got my insights.

  • @Elborie2000
    @Elborie20005 жыл бұрын

    your explanation is very good, I hope to find more VDU for you.thank you

  • @eoliversec
    @eoliversec5 жыл бұрын

    Very good presentation. Well done. Thank you!

  • @javierhernandez2735
    @javierhernandez27354 жыл бұрын

    Dude you are an amazing teacher! far better than my uni prof. Cheers!

  • @eapbg

    @eapbg

    4 жыл бұрын

    Thanks, glad you liked it.

  • @user-dw4vv6ht4g
    @user-dw4vv6ht4g Жыл бұрын

    You are very knowledgeable about electronics. Good job¡

  • @arnarmar75
    @arnarmar756 жыл бұрын

    Excellent presentation, thank you.

  • @tehyun
    @tehyun5 жыл бұрын

    Thank you! It is beautiful as you said.

  • @user-dt3rs2rm3r
    @user-dt3rs2rm3r6 жыл бұрын

    Great video. Thanks for clear explanation.

  • @benjaminrich9396
    @benjaminrich93966 жыл бұрын

    nice clear explanation. Thank You

  • @kessedk
    @kessedk5 жыл бұрын

    Excellent explanation! Thanks 👍

  • @saidzeid4860
    @saidzeid48603 жыл бұрын

    Excellent explanation

  • @mba2ceo
    @mba2ceo Жыл бұрын

    This is so well done :) great job :)

  • @billwilliams6338
    @billwilliams63385 жыл бұрын

    ok thanks, now i know the difference between an oscilloscope and a CAN sniffer i was confused about the two. Thanks for explaining it

  • @carverparkes2276
    @carverparkes22763 жыл бұрын

    Dude... simply awesome! Thank you..

  • @manuctz
    @manuctz3 жыл бұрын

    Awesome explanation!

  • @xiaominlu970
    @xiaominlu9706 жыл бұрын

    Yeah, totally agree with you CAN implementation is elegant. Just a quick note, now with CAN FD, up to 64 bytes of data could be transfer. And the data rate is also improved. :)

  • @blackdragonfang9369
    @blackdragonfang93696 жыл бұрын

    Excellent my friend . Thank you and please do more CAN videos

  • @MclarenF1rocket
    @MclarenF1rocket5 жыл бұрын

    Amazing introduction for beginners !

  • @eapbg

    @eapbg

    5 жыл бұрын

    Thanks, I'm glad you like it.

  • @lokeshchebrolu6878
    @lokeshchebrolu68783 жыл бұрын

    great and very clear explanation, thank you

  • @xavierchesang5995
    @xavierchesang59954 жыл бұрын

    Very informative. Very helpful. Thanks

  • @huajianhuang9127
    @huajianhuang91275 жыл бұрын

    Thank you, it's super clear.

  • @thawfeekyahya007
    @thawfeekyahya0075 жыл бұрын

    Great explanation . Thanks.

  • @blazingsaddles5021
    @blazingsaddles50215 жыл бұрын

    Thanks very much for a great video I understand a lot more now.

  • @captainboing
    @captainboing5 жыл бұрын

    learned a lot more from this vid than I expected - cheers

  • @eapbg

    @eapbg

    5 жыл бұрын

    Out of curiosity, what did you find informative that you didn't know before?

  • @captainboing

    @captainboing

    5 жыл бұрын

    @@eapbg You made it easy to understand the address - bit, sample, bit, sample to determine who can speak and that it is not a node-to-node network. thanks.

  • @prakhyathmunna254
    @prakhyathmunna2542 жыл бұрын

    Very informative...thnk you sir ✌️

  • @codewithme2746
    @codewithme27462 жыл бұрын

    thank you...very good explanation

  • @antonindeschamps6050
    @antonindeschamps60505 жыл бұрын

    Nice explanation, thank you.

  • @hughjackmanmechanic8045
    @hughjackmanmechanic80455 жыл бұрын

    Good explanation sir thank you for the video

  • @mohamedelwany4591
    @mohamedelwany45915 жыл бұрын

    Awesome video, THANK YOU!

  • @sadikalo7835
    @sadikalo78352 жыл бұрын

    thank you very much. I follow you from now on

  • @dimagilberg8416
    @dimagilberg84162 жыл бұрын

    Grate explanation!

  • @muratcanyazici7674
    @muratcanyazici76743 жыл бұрын

    Thank you for this useful information.

  • @kalyanirama.k7310
    @kalyanirama.k73106 жыл бұрын

    Informative, Valuable....Tq so much :)

  • @martinortuno2505
    @martinortuno25056 жыл бұрын

    Thank you man, really great video...

  • @yosilv
    @yosilv3 жыл бұрын

    Great Presentation, thank you!

  • @swordfish2r2011
    @swordfish2r20115 жыл бұрын

    Clear explaination, thanks~

  • @richardstucinski8271
    @richardstucinski82714 жыл бұрын

    Very well done. Thank you!

  • @godwinagbekogawugah1404
    @godwinagbekogawugah14044 жыл бұрын

    You are just good, great job and thank you for sharing

  • @eapbg

    @eapbg

    4 жыл бұрын

    Thanks, have you watched my advanced look at the CAN baud rate?

  • @davidsavic4630
    @davidsavic46305 жыл бұрын

    Excellent video! Keep it up :)

  • @carrocesta
    @carrocesta2 жыл бұрын

    master class, thanks dude!

  • @yersonjaimes1299
    @yersonjaimes12993 жыл бұрын

    thanks for the video, best explanation ever

  • @eapbg

    @eapbg

    3 жыл бұрын

    No problem. Try the CAN advanced baudrate video.

  • @kpjVideo
    @kpjVideo4 жыл бұрын

    Great video!

  • @jaikaran6427
    @jaikaran64276 жыл бұрын

    Very informative video. Please come up with new videos pertaining to CAN Bus.

  • @eapbg

    @eapbg

    6 жыл бұрын

    I'm not sure I understand what you're asking. CAN BUS is the automotive application of CAN. For other than, its in a car everything else is the same.

  • @skthelimit
    @skthelimit4 жыл бұрын

    Wow I really loved this explanation. I was always wondering how arbitration worked and now I don't have to!

  • @eapbg

    @eapbg

    4 жыл бұрын

    Glad to hear it. Arbitration is probably the most confusing part. If not the most confusing then it is tied with time quanta.

  • @skthelimit

    @skthelimit

    4 жыл бұрын

    @@eapbg Thanks for replying :). Do you have a plan to make one for CAN-FD?

  • @eapbg

    @eapbg

    4 жыл бұрын

    @@skthelimit I do not. I know nothing about it.

  • @JoseGomez-md7yz
    @JoseGomez-md7yz5 жыл бұрын

    Thank for sharing this information...tha was awesom thank you

  • @tesla516
    @tesla5166 жыл бұрын

    Thank you

  • @TienHuynh5312
    @TienHuynh53124 жыл бұрын

    Woah, a single video gonna save me from the final. Thanks. :fire:

  • @dabay200
    @dabay2005 жыл бұрын

    This is a way better explanation that SparkFun did - actually learnt something

  • @eapbg

    @eapbg

    5 жыл бұрын

    Out of curiosity what did you like better? I just watched the sparkfun video and I thought that he did a really good job.

  • @joshtsquas

    @joshtsquas

    4 жыл бұрын

    I think the SparkFun video was good but assumed more general knowledge about communications. He sometimes gets bogged down in the jargon and loses us noobs.

  • @dibrag8927
    @dibrag89276 жыл бұрын

    Ordered and clear , almost like at the university

  • @pradeepchannagiri
    @pradeepchannagiri5 жыл бұрын

    Just awesome !

  • @newtonstan2113
    @newtonstan2113 Жыл бұрын

    Excellent

  • @seshachary5580
    @seshachary5580 Жыл бұрын

    very educative thank you regards

  • @Tapeesh.M
    @Tapeesh.M7 ай бұрын

    Watch at 1.25x … content is really good

  • @ramwatt7113
    @ramwatt71135 жыл бұрын

    thank you so much that was very helpful

  • @adarshwankhade7086
    @adarshwankhade70865 жыл бұрын

    very nice video for bigners................

  • @fuzzy1dk
    @fuzzy1dk7 жыл бұрын

    afaiu the first CAN implementations used rs485 transceivers with the data input hardwired and using the tx enable to do dominant/recessive

  • @eapbg

    @eapbg

    7 жыл бұрын

    Interesting.

  • @EhabAwni
    @EhabAwni4 жыл бұрын

    Thank you for the great introduction, you helped me a lot, but I will be thankful if you provided an example of setting up a network between CANBus devices (for example between MCUs) and what the parameter to be set.

  • @eapbg

    @eapbg

    4 жыл бұрын

    Have you looked at my baud rate video on can?

  • @nassernajinasrallah
    @nassernajinasrallah3 жыл бұрын

    Thank you!

  • @pickleriiick4925
    @pickleriiick49254 жыл бұрын

    Dude you're awesome.

  • @eapbg

    @eapbg

    4 жыл бұрын

    Thanks

  • @karzak96
    @karzak965 жыл бұрын

    Perfect!

  • @salmamuhammed5077
    @salmamuhammed50772 жыл бұрын

    thank u

  • @janoschjungo12
    @janoschjungo123 жыл бұрын

    Thanks a lot! :)

  • @eapbg

    @eapbg

    3 жыл бұрын

    No problem.

  • @icequark1568
    @icequark15683 жыл бұрын

    great. ty :)

  • @busarider29
    @busarider296 жыл бұрын

    I'm not a CAN expert by any means but I know that the technology has been around for a long time. With that said, I can see CAN being replaced by possibly EtherCAT in the future. A much faster and deterministic communications protocol. Of course it may take some time since the CAN system works well and why change something that isn't broke?

  • @blacksheep4863

    @blacksheep4863

    5 жыл бұрын

    Actually EtherCAT protocol is actually based on CAN Open over EtherCAT (COE). The distinguishing factor in EtherCAT is that the message is decoded in ASIC hardware which makes it much faster and deterministic.

  • @carstengotfredsen160
    @carstengotfredsen1606 жыл бұрын

    Super :)

  • @nyghost9991
    @nyghost9991 Жыл бұрын

    Guud video

  • @piotrlobacz
    @piotrlobacz5 жыл бұрын

    Very educating. Thanks a lot.

  • @Bheisler
    @Bheisler4 жыл бұрын

    VERY GOOD explanation! My only question is, what happens if a line to an ECU is shorted or severed? Is that when the ACK say "Hey! where are you?" In this case, the bus is still alive and well, but the one ECU does not respond to the ACK?

  • @eapbg

    @eapbg

    4 жыл бұрын

    CAN is tricky that way. Any one module can ACK effectively for the entire bus. The ACK only represents that a message came through correctly and not who needed it. Because modules don't talk to each other a module can vanish and the bus would never know. In cars there is a work around. Usually the gateway module (BCM or gauge cluster) keeps track of what modules are up and sets a code if it hasn't seen one in a while. There is also like a role call type feature.

  • @sirip2201
    @sirip22016 жыл бұрын

    Thank you the best explanation on CAN BUS. Can you please make videos on MIPI CSI, MIPI DSI, LIDAR, RADAR, FlexRay as well. It will be very helpful. Thanks again.

  • @eapbg

    @eapbg

    6 жыл бұрын

    Lidar and Radar are great ideas for the future. I've never heard of let a lone used the other three.

  • @sirip2201

    @sirip2201

    6 жыл бұрын

    eapbg looking forward to watch lidar and radar videos from you. csi is camera serial interface and is used in automotive industry adas. DSi is display serial interface.. Flexray is similar to CAN

  • @billwilliams6338
    @billwilliams63385 жыл бұрын

    Thanks, yes a Central Gateway they call them also. So a Central Gateway controls all the difference busses, like SAE J1850 signals, ISO9141 signals, ILS signals, CAN signals? Does every car have a central gateway circuit board?

  • @eapbg

    @eapbg

    5 жыл бұрын

    The Central Gateway does not control the bus. It is only a ling between the buses. The Central Gateway is also not just a circuit board. It tends to be built into something like a body control computer or gauge cluster. It is difficult to speak in absolute terms like "every car". No, not every car has one because back in carburetor days there were not buses. Then some networking was required and there was only one bus that linked a few things. Because there is only one bus then a Central Gateway is not required. Also it is possible for the Central Gateway not to connect to all the buses. Sometimes there are buses that are isolated from the rest of the vehicle.