Arduino Can Bus. Can bus sniffing and broadcasting with arduino. Can is a multi master broadcast serial bus standard for connecting electronic control units ecus.
Attach the can bus shields to the two arduino uno boards. Can bus is a common industrial bus because of its long travel distance medium communication speed and high reliability. First the required libraries are included spi library for using spi communication mcp2515 library for using can communication and dht library for using dht sensor with arduino.
A controller area network can bus is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other in applications without a host computer.
This grove can bus module is controlled by uart which means if your mcu has a uart interface this serial can bus is available. The can bus shield provides your arduino or redboard with can bus capabilities and allows you to hack your vehicle. In the transmitter section arduino nano interfaced with the mcp2515 can module through spi pins and dht11 sends temperature and humidity data to can bus. Then follow the tutorial link here to interface your sf06 liquid flow sensor via the level shifter break out board to one of the arduinos and follow the instructions to prepare the software ideally test the sample code to make sure that the communication with the sensor is.