CAN Protocol Explained | Controller Area Network

  Рет қаралды 64,859

The EV Engineer

The EV Engineer

Жыл бұрын

In this video, I cover the basic theory of CAN communication. Enjoy!
Further reading
- en.wikipedia.org/wiki/CAN_bus
- circuitstate.com/tutorials/wh...

Пікірлер: 58
@nourabdennebi4935
@nourabdennebi4935 5 ай бұрын
The way you properly explained it. Thank you so much, finally I could understand the protocols and what they do. I already had them from distributed system, but could never wrap my head on what do they do. Please keep posting videos!
@EV_engineer
@EV_engineer 5 ай бұрын
Glad it helped!
@SupremelyFly
@SupremelyFly 28 күн бұрын
Good video. I like how you presented the information in a traditional manner using slides supported with a solid verbal explanation. Made it easy to take notes and follow.
@devadasanvarier9814
@devadasanvarier9814 16 күн бұрын
Very good explanation. I am working as an ETO onboard Tanker ship. Main engine is utilising full electronic control using CANBUS protocol. It was difficult me to understand this concept. After watching your video, made it very clear how the CANBUS signal communicating and how it is transmitted over the bus. Thank you 😊
@kurtronaldesteban8190
@kurtronaldesteban8190 14 сағат бұрын
I'm here for the very same reason. ~ETO onboard LNG Tanker
@arthurfricchione8119
@arthurfricchione8119 10 ай бұрын
Josh your videos are excellent . Most videos just talk about twisted wires and terminating resistors . I personally enjoy learning how and why everything is communicating then build models of the circuiting to physically understand what is happening and how signals are produced. As you can tell I’m new at all this terminology but I will learn and understand what is going on. Thanks for sharing your knowledge. Artie 👍
@EV_engineer
@EV_engineer 10 ай бұрын
Glad you are finding them helpful!
@UgoTheEngineer
@UgoTheEngineer Жыл бұрын
This was a great explanation.
@n6ls0n
@n6ls0n Жыл бұрын
200th subscriber here. Keep going. The vids are good
@farizrahman6133
@farizrahman6133 9 ай бұрын
Thank you so much for the simple explanation
@DominikBelca
@DominikBelca 11 ай бұрын
Nicely explained, even for me, not an EV Engineer but CS Guy :-)
@AKkarol7
@AKkarol7 5 ай бұрын
Great tutorial. Thanks !
@PattysLab
@PattysLab Жыл бұрын
awesome explination!
@user-xs7fz5ym3x
@user-xs7fz5ym3x 3 ай бұрын
well explained thank you
@ahmadshahfuad5009
@ahmadshahfuad5009 9 ай бұрын
Excellent and informative
@ecaredu2022
@ecaredu2022 2 ай бұрын
CAN BUS kzfaq.info/get/bejne/e9l7o8WVt728ioE.html
@something_different8968
@something_different8968 Жыл бұрын
Thank you
@yasirshahzad3732
@yasirshahzad3732 6 ай бұрын
Here you have said that the node with a lower ID will win the orbitation race. Can you explain how the clock and data of multiple nodes are synchronized? They do not affect each other; the clock and data remain independent.
@nirmalaarunkumar
@nirmalaarunkumar 11 ай бұрын
Awesome! Thanks.
@ecaredu2022
@ecaredu2022 2 ай бұрын
CAN BUS kzfaq.info/get/bejne/e9l7o8WVt728ioE.html
@AvivMakesRobots
@AvivMakesRobots 9 ай бұрын
I like it.
@thirumeniparthiban6261
@thirumeniparthiban6261 10 ай бұрын
Nice, @4:01 better to say each CAN message has its message ID, the CAN node itself does not have any ID.
@johmu5466
@johmu5466 3 ай бұрын
Great point & a very helpful comment... Was wondering how “nodes an have ID” vs “messages” from a node having an ID… Things make much more sense now regarding how the communication works…
@franciscoxaviergonzalezrom4648
@franciscoxaviergonzalezrom4648 6 ай бұрын
New subscriber!
@RCagataySahin
@RCagataySahin 2 ай бұрын
Thank you for the clear explanation. I am really interested in these stuff. My background is mostly on mechanical engineering, and I wonder if learning communication protocols would be so useful for my career as well. Could you tell me how deep I should go into the topic to use it in my future?
@nigeldsa1
@nigeldsa1 10 ай бұрын
Not all applications of can bus have a master but some oem do have a master controller for transmitting and receiving the can data. Just like can open
@user-dw4vv6ht4g
@user-dw4vv6ht4g 11 ай бұрын
Amayzzing video bruv
@ecaredu2022
@ecaredu2022 2 ай бұрын
CAN BUS kzfaq.info/get/bejne/e9l7o8WVt728ioE.html
@vidhyadhar64
@vidhyadhar64 11 ай бұрын
Nice Video..Keep it up..
@ecaredu2022
@ecaredu2022 2 ай бұрын
CAN BUS kzfaq.info/get/bejne/e9l7o8WVt728ioE.html
@naveenraju.s6111
@naveenraju.s6111 4 ай бұрын
good
@simaroaerial7237
@simaroaerial7237 Жыл бұрын
Hello and thanks for CanBus tutorial. I used Arduino Mega with MCP2515 shield reading 7 CanOpen sensor information. Got 4 more sensors added to the work project. Unfortunately it did not work. Upon further investigation, I found out the new sensors are fault tolerant low speed can devices. I could not find any low speed Can shield on line to try with these sensors. Any idea besides changing the transceiver IC? Thanks.
@EV_engineer
@EV_engineer Жыл бұрын
Low speed fault tolerant CAN transceivers use completely different voltage levels, I would recommend using normal ones
@simaroaerial7237
@simaroaerial7237 Жыл бұрын
@@EV_engineer , thanks for the reply. I do know that the transceiver voltage and termination resistor is different. I have a low speed fault tolerant sensor that I can not read data from but I can read data from other high speed sensors. I was simply asking if you know a shield, or mod or hack that I can do to read low speed sensors. One solution I thought of is using mcp2515 with TAJ1050 and replacing the transceiver with low speed type compatible with 2515 controller. thanks again for the reply. If I manage to make it work, I let you know.
@_skyykim500
@_skyykim500 11 ай бұрын
@@simaroaerial7237 HELLO, I hope you are doing fine, my project is also related to CAN i was hoping if we can have discussion a bit if possible? I am final year electrical engineering student.
@simaroaerial7237
@simaroaerial7237 11 ай бұрын
@@_skyykim500 , I can help you to some degree. I can not share code for our sensors but I can share a store bought sensor that we used to develop the system. The difference between the two are 16 bit integer for the store bought device and our sensors that are 32 bit real number. The front end, meaning fetching the data either two bytes or 16 bites are the same. Back end process of the bit stream is different.
@jaiminkotecha4460
@jaiminkotecha4460 Жыл бұрын
hey, really nice explanation i have a project on ECU scanners going on and i have to understand how the work and fetch codes and everything so can you help me in that ?
@EV_engineer
@EV_engineer Жыл бұрын
Hi! Sounds like a tough project. I also want to learn about ECU scanners, stay tuned and I might make a video on this topic
@jaiminkotecha4460
@jaiminkotecha4460 Жыл бұрын
@@EV_engineeryes, its my final year project from an internship and the company wants to manufacture scanner so a detailed video would really help.😃
@gg-gn3re
@gg-gn3re 6 ай бұрын
Used all over solar too. inverters / batteries / charge controllers etc
@user-no8zu1qw2h
@user-no8zu1qw2h 10 ай бұрын
Part two please
@rajvirgrewal4572
@rajvirgrewal4572 Жыл бұрын
Hi, as you said there is no master controller on the can bus then isn’t there a CAN module that controls or links all different controllers on the bus and turns them on and off by using differ voltages thru the CAN hi and can low twisted wire pair, for example I want to move the right window up, window switch will send the some voltage to CAN module which then will send let’s say 2v in HI and 1.7v in LOW to the right window node/ ECU moving the glass up? Sorry my knowledge of CAN communication is quite low.
@EV_engineer
@EV_engineer Жыл бұрын
Each CAN node runs its own control algorithm. This algorithm might depend on CAN input from other controllers, if that's what you're asking. The control algorithm might also depend on other types of inputs, such as GPIO, SPI, UART. The window switch probably interfaces to a low voltage CAN controller through a hardware connection, if I had to guess. Not everything needs to be CAN ;)
@hasankmr
@hasankmr 10 ай бұрын
I have a question about can cominucation on car. As I searched on internet, Can2.0a and Can2.0b can coexist same bus line. Can an EVCU recieve messages from bus without any problem? Or is it possible that? An example EVCU, motor, and battery nodes connected same bus. Motor has Can2.0a and battery has Can2.0b. Can a standart EVCU' s work this situation?
@EV_engineer
@EV_engineer 10 ай бұрын
Hi, here are some details about a mixed CAN network, Receiving Messages: A CAN 2.0B node can receive messages from CAN 2.0A nodes without any issue because of its backward compatibility. Sending Messages: If a CAN 2.0B node sends a message with an 11-bit identifier, a CAN 2.0A node can receive and understand it. However, if the CAN 2.0B node sends a message using a 29-bit identifier, the CAN 2.0A node will not be able to interpret it.
@bennguyen1313
@bennguyen1313 9 ай бұрын
I'm interested in playing with CAN, but most of the open-source software I've seen use Linux/SocketCAN. Any idea if CAN hardware (Ixxat USB-to-CAN V2, Peak PCAN-USB, etc) will work on a Linux VM running inside of a Windows Host?
@jeffreyrh
@jeffreyrh 8 ай бұрын
Do all the nodes need to have a common ground?
@fnuker4002
@fnuker4002 5 ай бұрын
Yea
@Nebbia_affaraccimiei
@Nebbia_affaraccimiei 8 ай бұрын
3:43 why would they start to transmit at exactly the same time??
@wildgurgs3614
@wildgurgs3614 7 ай бұрын
Sometimes two people in a single conversation will start speaking at exactly the same time. CAN nodes are, in that regard, no different, so the arbitration process decides which one gets to talk first.
@User_2051
@User_2051 3 ай бұрын
in the video he says 0 overpowers 1, so 1 means that transmission is stopped, this seems counterintuitive to my knowledge of bits (1s and 0s) 0 being OFF and 1 Being ON @@wildgurgs3614
@soha150
@soha150 11 ай бұрын
Is the can H and can L sending a signal called LVDS ?
@EV_engineer
@EV_engineer 10 ай бұрын
The CAN protocol does not use LVDS (Low-Voltage Differential Signaling) for its communication. While both CAN and LVDS use differential signaling for improved noise immunity, they are different technologies with different purposes and specifications.
@cigga_b4170
@cigga_b4170 11 ай бұрын
Thank you
CAN Bus: A Beginners Guide Part 1
37:36
Hardwire Electronics
Рет қаралды 288 М.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
Stupid Barry Find Mellstroy in Escape From Prison Challenge
00:29
Garri Creative
Рет қаралды 21 МЛН
OMG😳 #tiktok #shorts #potapova_blog
00:58
Potapova_blog
Рет қаралды 3,6 МЛН
CAN Bus: Serial Communication - How It Works?
11:25
Electronoobs
Рет қаралды 203 М.
CAN and CAN FD protocol
18:37
Texas Instruments
Рет қаралды 88 М.
Automotive CAN, Sending & Receiving Data
8:54
Block Harbor
Рет қаралды 4,9 М.
PROTOCOLS: UART - I2C - SPI - Serial communications #001
11:58
Electronoobs
Рет қаралды 1,4 МЛН
CAN Bus Properties and Troubleshooting
18:09
Enovation Controls
Рет қаралды 1,3 МЛН
The EASIEST Way to Connect to a Car's CAN Bus
4:46
MrDIY
Рет қаралды 254 М.
How does CAN data flow? CAN data flow explained
7:30
Foolish Engineer
Рет қаралды 21 М.
CAN Bus Explained - A Simple Intro [v2.0 | 2021] 🌟
14:44
CSS Electronics
Рет қаралды 216 М.
Explained! CAN BUS Diagnosis - How to Troubleshoot Faults.
11:49
ECU TESTING
Рет қаралды 227 М.
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 2 МЛН
CY Superb Earphone 👌 For Smartphone Handset
0:42
Tech Official
Рет қаралды 824 М.
SSD с кулером и скоростью 1 ГБ/с
0:47
Rozetked
Рет қаралды 321 М.
Ждёшь обновление IOS 18? #ios #ios18 #айоэс #apple #iphone #айфон
0:57
💅🏻Айфон vs Андроид🤮
0:20
Бутылочка
Рет қаралды 733 М.