Рет қаралды 47,908
Subscribe to the channel HERE!
Https://kzbin.info...
Our amazon list of the best products!
AMAZON: PC - 3D FILAMENT - ARDUINO - RASPBERRY PI
amzn.to/2RV7KWc
CAN BUS, acronym for "Controlled Area Network", is a multicast serial communication standard. This communication has been designed to work without problems in environments where there are many electromagnetic disturbances, even very intense ones.
In addition to the Automotive sector, the use of CAN BUS communication extends to many industrial applications such as robotics or rockets. The bit rate can reach several MB / s of speed during the data exchange phase.
Communication is very particular, dominant bits and recessive bits are distinguished, logical 0 and 1 logical respectively. Through a logical AND, a dominant bit overrides a recessive using this method. At this point, when a recessive bit is transmitted, and at the same time a dominant bit from another device, in the collision, the dominant bit prevails (the other devices ignore the recessive bit.)
Can frames can be of four types:
Data Frame: contains data to be transmitted
Remote Frame: a frame that requires the transmission of a precise identifier
Error frame: A frame sent by any device that has identified an error
Overload Frame: frame that introduces a delay between the data frame and / or the remote frame
The MCP2515 library makes it much easier for us to use the CAN BUS module with arduino. In fact, the frames that can be sent are already present in it, and always in a very simple way allows us to manage the speed of communication. The module must be connected, and will communicate with the arduino via the SPI interface.
Follow us on our social networks!
Facebook: / miniprojectsofficial
Instagram: / officialprojecto
#Projecto #DanielRossi # MCP2515