eChook GPT Documentation
  • Welcome to the eChook nano documentation
  • System Overview
  • The eChook Nano Kit
    • Versions
  • Build Instructions (Kit V1.x)
    • Build Steps Photos
    • First Power On
  • Build Instructions (Kit V2+)
  • Programming the Arduino
    • Install Arduino IDE
    • Arduino Drivers
    • Download the eChook Arduino Code
    • Programming the Arduino
  • Setting up the Bluetooth
    • Pairing with a phone
  • Connecting the eChook to the Car
    • Power and Voltage
    • Current Sensor
    • Throttle Input
    • External Buttons and Brake
    • Temperature Sensors
    • Wheel and Motor RPM
    • PWM Output
  • Calibrating the eChook
    • Wheel Speed and Motor RPM
    • Temperature
    • Voltage
    • Current
  • Using the App
    • Pair eChook to Phone
    • Setting up the App
    • Logging Data
    • Lap Counting
  • Telemetry (Live Data)
    • eChook Live Data
    • Node-Red Integration
    • DIY Web Dashboard
  • Using the Data
  • Circuit Schematics
    • 12 and 24v Inputs
    • Temperature Inputs
    • Bluetooth Module
    • Throttle Input
    • Current Input
    • Button Inputs
    • RPM Inputs
    • PWM Output
    • Power Regulator
    • Expansion Port
  • All about the Arduino nano
    • The eChook nano Code
  • Bluetooth Communication
    • Bluetooth Packet Encoding
    • Bluetooth Packet Decoding
  • Experimental Section
    • GUI Calibration
  • eChook Accessories
  • DIY eChook
  • Spare Parts
  • Troubleshooting
  • Contributing
Powered by GitBook
On this page

Was this helpful?

  1. Calibrating the eChook

Wheel Speed and Motor RPM

There are two factors that affect the wheel speed reading taken by the eChook. The number of magnets on the wheel, and the circumference of the wheel. Both of these are variables in the calibration.h file.

The number of magnets is simple. The wheel circumference is the distance travelled in one rotation of the wheel, so the outermost circumference of the tyre, not simply 2πr for a 16” wheel. This can either be measured with a flexible tape measure, or placing the wheel on the floor with the valve at the bottom and marking the contact point, rolling it for one rotation, placing a second mark at this point, then measuring between marks. Use meters for the units.

The motor RPM is simply dependant on the number of magnets on the motor shaft. Enter this in the calibration.h file accordingly.

Enter the new figures into the calibration.h file and re-upload the code to the Arduino.

const int       CAL_WHEEL_MAGNETS        = 6; //Number of magnets on wheel
const int       CAL_MOTOR_MAGNETS        = 3; // Number of magnets on motor shaft for hall effect sensor
const float     CAL_WHEEL_CIRCUMFERENCE  = 1.178; //Outer circumference of tyre, in Meters. i.e. the distance travelled in one revolution
PreviousCalibrating the eChookNextTemperature

Last updated 6 years ago

Was this helpful?