8000 GitHub - dot1nt/OpenLap: A single pilot ESP32 / RX5808 based FPV laptimer
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dot1nt/OpenLap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


OpenLap

A single pilot ESP32 / RX5808 based FPV laptimer

image_1

Build

Hardware

You need an RX5808 with SPI Mod. Desolder the antenna and connect the receiver like this:

  • CH1 → pin D23 (MOSI)
  • CH2 → pin D22
  • CH3 → pin D18 (SCK)
  • RSSI → pin D33

image_3

Firmware

You’ll need VS Code and the PlatformIO extension. Once you've downloaded the code (click the green 'Code' button at the top and select 'Download ZIP'), open the project and hit the upload arrow at the bottom to flash the firmware.
The web page has to be uploaded separately — open PlatformIO (left sidebar) and click "Upload Filesystem Image".

Configuration

Settings are in src/config.h. If you are not using the standard ESP32 developement board, you can change the board type in the platformio.ini file. Here are the board types supported by platformio that might work: https://docs.platformio.org/en/latest/boards/index.html#espressif-32

Battery Monitoring

The ESP32 has a 3.3V input voltage limit, so it's not safe to connect the battery directly to read the voltage. To bring the voltage down to a safe level, you can use a voltage divider consisting of two resistors to step down the voltage before it reaches the ESP32.

You can configure the resistor values for the voltage divider by adjusting R1 and R2 in src/config.h. You can use this calculator to select suitable resistor values. For a 4s battery, safe resistor values could be 100kOhm for R1 and 20kOhm for R2.

To enable battery monitoring:

  1. Set ENABLE_BATTERY_MONITORING to true.
  2. Set the pin where the voltage divider is connected by modifying BATTERY_PIN (this needs to be an analog input).

Additionally, you can set a minimum voltage threshold in the web page settings to receive a notification when the battery voltage drops below this level.

Usage

The ESP32 opens a Wi-Fi AP you can connect to. Wi-Fi name and password can be changed in src/config.h. The default password is Laptimer. To access the app, open http://192.168.4.1 in your browser.
Pick your band and channel in the settings, save it, then hold your drone in the worst signal spot at the gate and click "Calibrate". Set lap number to 0 if you want the race to run forever.

image_2

Case

The case files are inside the cad folder. Mount the ESP32 with thick double sided tape.

image_4

Releases

No releases published

Packages

No packages published
0