DieselDuz42 / Arduino-CAN-bus-SD-logger

Arduino script to log CAN bus information to SD card. Mainly focused on J1939.
21 stars 6 forks source link
arduino automotive can-bus canbus j1939 sd-card

Arduino CAN bus logger

This is not longer being developed. The hardware issues were too difficult for my skill level to overcome.

Using an Arduino and a CAN shield connected to a vehicle, save as much information as possible to a SD card for processing later.

Usage

You can control serial output and the ability to have the Arduino record the time between messages. Setting SERIAL_ON to 1 enables serial output and doesn't take up extra memory thanks to the F() function. Setting TIMING_ON to 1 enables the processing and display of time between messages. Currently this uses 18 bytes when enabled.

Known issues

The log files in the repository are not valid, the code used to generate them was very flawed.

Currently using the Arduino Leonardo, I have a Mega and a Due on the way to play with.

Writing information to SD card takes time. - I need the ability to review the data later, it can't slow down my day job.

My code is horrible - I'm working on that. I have limited programming expierence and even less using GitHub or Arduino.

Hardware

Libraries used