CAN BUS Communication Using MCP2515 Module.
Вставка
- Опубліковано 14 жов 2024
- 3 Arduino Nano are connected to the Controllino MAXI PLC using CAN Bus protocol #MCP2515 module. For demo purpose, each Arduino will send a random number to the PLC to simulate a value from sensor. The PLC is connected via USB to a PC running a Windows app (diagnostic tool) to display the status of each node. When a node is disconnected or malfunction, it will display as Offline. Any faulty device can then be removed and replaced without affecting other devices.
all that info over 2 wires sounds great ngl
yes but 1-wire protocol would have been enough for this
Always used Modbus for my project (thank god all the devices I had supported that)
what's the advantage of CAN?
Multiple data packets can be sent over a single twisted wire pair without packet collision and it can account for “noisy” environments because it uses using voltage difference for 1s and 0s
@@areitu Modbus has all of that. I still don`t get the point
Muitas vantagens, principalmente redução se cabos elétricos em projetos
Just use stm32 or esp32 with can on board ;)
no, you still need a transceiver
@@allyouneedis4x4 yes but no can controler ;)
Failed uploading: uploading error: exit status 1
can u fix it?
what data you are sending and receiving
Random numbers to simulate sensor data
Gracias ,,,
circuit diagram and coding please paaa....
Hi, the circuit diagram, library and sample code can be found at this link.
github.com/autowp/arduino-mcp2515/
What do we call this display?
I'm using a normal display connected to a laptop using HDMI cable.
How to connect to the wide monitor?
I use a HDMI cable and connect to a 7 inch normal monitor.
What is this?
Controller Area Network
That's a lot of damage of all you are doing is reading three sensor data.😊