Ruffle's Data Logging Project
The firmware is currently operational but still subject to lots of
Once it gets to v1.0 (it's currently on 0.1c) I'll probably stick
it on Github and/or here.
These features are currently working.
- Record CAN-Bus data onto an SD-Card
Currently, the device is set to record all of the documented CAN packets (0x100 to 0x3E5 inclusive). There
are quite a few other packet IDs outside of this range and some additional ones inside it. Hopefully
these can be decoded at some point.
- Work as WiFi Access point
This is used to interact with the logger. Simply connect your phone or laptop's WiFi
to the Datalogger and you can download raw logs, delete logs, export logs in a more friendly
CSV format, set the device's SSID and Wifi Password to make the logger your own and send updated firmware to the
Using the WiFi in this way means that once installed, you should not have to
physically touch it again; no connecting cables or other annoyances.
- Record GPS Position at 10Hz
This is GPS device dependant but I've used a cheap (£16?) one and that seems to
work fine at 10Hz. I do have a more expensive U-Blox but that seems reluctant to
go above 1Hz which isn't much use.
- Suspension Logging
Using linear 'pots' (the 'rod' type things you see attached to race bikes) is nice
but they are not at all cheap.
I have a cunning plan to try out the cheap distance measuring devices being developed
for Drones and such.
- Type Temperature Logging
Sitting on my desk are a couple of tiny I/R temperature sensors just waiting to be played with.
My hope is that I can build these into a mounting that will fit to the front mudguard and
rear hugger without being hugely intrusive. It will, probably, mean drilling holes in
the hugger/mudguard but hey ho - at least the genuine hugger is fairly cheap.
Chatting with racing friends and looking at the MotoGP bikes, it may well be that
multiple sensors per tyre will be desirable (left, center and right).
- Other Logging
There's bound to be other stuff that comes to light. I know there is loads more
data on the CAN-Bus than Kawasaki document so there's a source of more information.
I'm pretty sure that the Bosch IMU is kicking out zillions of packets so that
would enhance the data capture. Kawasaki produce lean and 'wheelie' angles but
the Bosch should produce three axis of lean and also the rate of change; which
could be interesting.