CAN (Controller Area Network) bus networks are widely used. They are found in vehicles, farm equipment, and in industrial environments. These networks allow for control and data acquisition. This module lets you interface your microncontroller (Arduino, Raspberry Pi, etc) with a device which has a CAN Bus Interface(like Cars, automobiles, industrial devices, etc). You may also use it to communicate between two micro controller over long distances. Depending on the application, they can be formed around a stringent set of standards (such as J1939) or in a ‘get it done’ approach suitable for an Arduino DIY project.
CAN Bus Communication speeds generally range from 50kpbs to 1Mbps. This maximum distance depends on data transfer speed. It can range from 40 meters at 1Mbps and 1000 meters at 50kpbs. The general rule of thumb is that the shorter and slower the bus is, the more robust the communications. Since this is a popular interface module tutorials, sample codes and libraries to help you get started with this module are readily available.
CAN is a multi-master broadcast serial bus standard for connecting electronic control units (ECUs). Each node is able to send and receive messages, but not simultaneously. A message consists primarily of an ID (identifier), which represents the priority of the message. A CAN message that is transmitted with highest priority will succeed and the node transmitting the lower priority message will sense this and back off and wait.
The information is transmitted by two twisted wires that connect all system modules. It is transmitted by voltage difference between the two levels. The high voltage value represents 1 and low 0. Its combination forms an appropriate message.
This module lets your microcontroller communicate with any CAN Bus Device through an SPI Interface. This Module adopts CAN controller MCP2515, and TJA1050 high-speed CAN transceiver. Onboard independent key. Microchip MCP2515 independent CAN protocol controller, support CAN V2.0B regulation. The connection between MCP2515 and MCU is through SPI.