Simple/cheap CAN logger ?
Posted: Wed Jun 09, 2021 11:36 pm
Saw a comment in another thread that it would be useful to have a very simple standalone CAN logger which would simply dump CAN data to an SD card, and not much else. Simple & cheap enough to be able to send to someone offering to log from their car to help reverse-engineering.
I'd thought about this in the past and just assumed someone had done it, but can't find much out there - "Low cost" seems to still be over £100
Assuming it doesn't already exist, how useful would something like the following spec be :
Records CAN traffic to SD or maybe USB stick. Preferably CSV format for SavvyCAN, assuming SD card bandwidth is not an issue
500kBaud ( how common are other rates?)
Power: any of 12V, 5v ( USB powerbank), or LiPo cell
Configure via text file on SD card - filters, trigger criteria, baudrate etc.
Button/external trigger input, configurable to control logging or insert bookmarks in the log
UI : 1 button, 1 RGB LED.
Physical - just a PCB, maybe heatshrink it, or a PCB sandwich.
Firmware update via SD card
BOM cost under a tenner.
I already have some of the software stuff needed from various other projects, so could probably cobble something together fairly easily if there would be enough interest.
I don't want to get into a feature-creep situation as it would never get done, just want to capture the bare minimum hardware functionality. Obviously more software goodies could be added later.
Comments ?
Does it already exist?
Would it need a "real" time clock or would relative timestamps suffice?
I'd thought about this in the past and just assumed someone had done it, but can't find much out there - "Low cost" seems to still be over £100
Assuming it doesn't already exist, how useful would something like the following spec be :
Records CAN traffic to SD or maybe USB stick. Preferably CSV format for SavvyCAN, assuming SD card bandwidth is not an issue
500kBaud ( how common are other rates?)
Power: any of 12V, 5v ( USB powerbank), or LiPo cell
Configure via text file on SD card - filters, trigger criteria, baudrate etc.
Button/external trigger input, configurable to control logging or insert bookmarks in the log
UI : 1 button, 1 RGB LED.
Physical - just a PCB, maybe heatshrink it, or a PCB sandwich.
Firmware update via SD card
BOM cost under a tenner.
I already have some of the software stuff needed from various other projects, so could probably cobble something together fairly easily if there would be enough interest.
I don't want to get into a feature-creep situation as it would never get done, just want to capture the bare minimum hardware functionality. Obviously more software goodies could be added later.
Comments ?
Does it already exist?
Would it need a "real" time clock or would relative timestamps suffice?