Post Top Ad

Sunday, February 12, 2023

on video Making a CAN Bus on a breadboard with two microcontrollers


  I create a CAN bus on a breadboard! Using two ESP32 microcontrollers and two CAN transceivers. I use an open-source Arduino library for CAN communication with the ESP32 to transmit "HELLO123" over CAN from one ESP32 to the other.

 we will learn about the CAN Bus protocol by Interfacing MCP2515 CAN Bus Module with Arduino. We will transmit the DHT11 Sensor data over a certain distance using the CAN protocol.


Controller Area Network also known as CAN-BUS is a common industrial bus because of its long travel distance, medium communication speed, and high reliability. It is commonly found on modern machine tools and as an automotive diagnostic bus.


In modern Vehicle systems, there are more than 60 to 100 sensor units for sensing and exchanging information. Similarly, car manufacturers are constantly making their cars smarter by adding features like Autonomous driving, Airbag system, ABS (Anti-braking System), Telematics, Transmission Control, Battery management systems, and Cruise control system, etc. To enable the transmission and receiving of the data at a very high-speed standard automotive communication protocols are required. 


The standard communication protocols like UART, SPI, and I2C are not reliable for this system. Hence we need an automobile communication protocol like the CAN protocol for high-speed & 1000s of data transmission at a single time.


In this guide we will learn about the CAN Bus Communication protocol using Microchip MCP2515 CAN Bus Module & Arduino Board. Using the pair of CAN Bus Module MCP2515, we will send the DHT11 Sensor data over a distance of a few centimeters. Typically the communication speed for CAN ranges from 50 Kbps to 1Mbps and the distance can range from 40 meters at 1Mbps to 1000 meters at 50kpbs.


  I create a CAN bus on a breadboard! Using two ESP32 microcontrollers and two CAN transceivers. I use an open-source Arduino library for CAN communication with the ESP32 to transmit "HELLO123" over CAN from one ESP32 to the other.

 we will learn about the CAN Bus protocol by Interfacing MCP2515 CAN Bus Module with Arduino. We will transmit the DHT11 Sensor data over a certain distance using the CAN protocol.


Controller Area Network also known as CAN-BUS is a common industrial bus because of its long travel distance, medium communication speed, and high reliability. It is commonly found on modern machine tools and as an automotive diagnostic bus.


In modern Vehicle systems, there are more than 60 to 100 sensor units for sensing and exchanging information. Similarly, car manufacturers are constantly making their cars smarter by adding features like Autonomous driving, Airbag system, ABS (Anti-braking System), Telematics, Transmission Control, Battery management systems, and Cruise control system, etc. To enable the transmission and receiving of the data at a very high-speed standard automotive communication protocols are required. 


The standard communication protocols like UART, SPI, and I2C are not reliable for this system. Hence we need an automobile communication protocol like the CAN protocol for high-speed & 1000s of data transmission at a single time.


In this guide we will learn about the CAN Bus Communication protocol using Microchip MCP2515 CAN Bus Module & Arduino Board. Using the pair of CAN Bus Module MCP2515, we will send the DHT11 Sensor data over a distance of a few centimeters. Typically the communication speed for CAN ranges from 50 Kbps to 1Mbps and the distance can range from 40 meters at 1Mbps to 1000 meters at 50kpbs.

No comments:

Post a Comment

Post Top Ad

Pages