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. Using the App

Lap Counting

PreviousLogging DataNextTelemetry (Live Data)

Last updated 6 months ago

Was this helpful?

Lap detection requires that Location is enabled in settings and that the throttle signal is wired into the eChook.

On start-up, the app is waiting for 30%+ throttle input to start lap detection (dismissible via the notification at the bottom of the screen).

The lap detection is automatic from here - no more configuration required.

Before the race an ‘observer’ position needs to be set on the map, somewhere in the middle of the racing circuit. To do this move the map so you can see the centre of the circuit (or a best guess if the circuit isn’t shown) and tap where you want the observer to be. A pin will be dropped with prompt to click to confirm. Tap again to confirm location. A prompt will now appear asking to confirm if you are racing in a clockwise or anticlockwise direction. This is shown below, unfortunately nowhere near a race track.

Pressing the Launch button starts launch detection. Now once the throttle is pressed (>20% for a variable throttle) the app starts the lap timer, and notes the cars bearing in degrees to the observer position set earlier. Every time the car passes this position in the race, a lap is counted.

How It Works

Each GPS update, the app calculates the bearing from the observer to the car in degrees. During the race the car moves in circles around the observer. When the throttle was initially pressed in launch mode, that bearing was recorded. During the race every time the car passes that original bearing, a lap is recorded.