Raspberry pi can bus sniffer

broken image
broken image

Mazda uses two separate buses, HS-CAN or High-Speed 500khz and MS-CAN Medium Speed 125 kHz. You can get information by sending a request to the addressed module, but this is not the same as getting information from live broadcasted messages, without any delays. However, while it is a very useful tool, it does not provide access to real-time information available on CAN bus as broadcasted messages. Using this tool, I figured out how to get access to the fuel gauge on the console, instead of using the sensor in the tank. One good product is TouchScan with Mazda extension, which allows you to access every module in the car for diagnostic purposes. There are many products available for the OBD2 protocol. For example, getting the shift position for the “ smart “mirror project and the fuel level for the fuel reminder. While working on my projects, I did several attempts to depict Mazda CAN protocol, to find useful information.

broken image