Skip to content

Repository files navigation

KnurDash - Racing Data Logger with RaceChrono Integration

KnurDash

Description

A racing logger for an ND2 Mazda MX-5, integrating wide ranging functionality into one unit:

  • Reading analog sensors (oil pressure and temperature, rotor temperature)
  • Reading CANBUS data (coolant and intake temperature, RPM, etc.)
  • Displaying data in a clear and aesthetically pleasing way
  • Making data available via Bluetooth as RaceChrono DIY BLE device

Technical Details

The system has two main components, the display unit and the sensor unit. The communication between the two is executed through I2C protocol (1.2m cable is pushing it though. With careful cable prep I still get ~0.5% error rate on comms.). The display unit is made of a Raspberry Pi 4B board and a 4.3 inch touchscreen. The sensor unit houses a 5V power supply, two 4-channel ADC's, a motion tracking device, and a Longan Labs I2C CAN Controller with a custom firmware built specifically for this project.

Additionally, the sensor unit contains circuitry (LTSpice schematic) allowing starting the system when the vehicle's START button is pressed. This has been accomplished by pulling RPI's GLOBAL_EN to ground when RPI is off. When RPI is running and 3.3V is on, the starting circuit is disabled to prevent hard resets while RPI system and the OS is running.

Bluetooth communication was implemented using the bluez_inc library (kudos to weliem for making my life easier!). The system implements the RaceChrono BLE DIY protocol. The system works as a pass-through for selected CAN frames. Additionally, all analog data collected by the unit is exposed as an additional CAN frame and made available to RaceChrono for logging.

The display unit has a buzzer installed. The buzzer is turned on when the oil pressure drops below a certain threshold and the RPM is above idling.

The rotor temperature is measured with an industrial grade 0~1000 degC infrared pyrometer with a 4-20mA output.

As of 2023-09-04, the system is installed in the car and in initial testing . The transmission, differential, and rotor temperature sensors were not installed yet, but coming soon!

Future development:

  • Read motion tracking data from the already installed unit and expose it to RaceChrono
  • Add a differential GPS board

Pictures

Display Unit

KnurDash

KnurDash

Sensor Unit

KnurDash

KnurDash

KnurDash

KnurDash

Sensors

KnurDash

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages