Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A.T.L.A.S. - Apex Telemetry & Lap Analysis System (Project Lean Line)

A.T.L.A.S. is a bare-metal system it revolves around track-day with ur superbikes. It calculates ur lean angles, track positioning using GPS, and lap times at a frequency of 100Hz, it logs the data directly to your MicroSD card and visualizes the daya in custom PyQt5 Dashboard.

The Architecture

This project is divided into 3 nodes:

1. The Hardware

A custom pcb designed around the Raspberry Pi RP2040 microcontroller.

  • MCU RP2040
  • IMU ICM-42688-P
  • GPS Any UART Based u-blox m10 GPS
  • STORAGE MicroSD Card

2. Firmware

The firmware is purely written in C++

  • Dual-Core Processing
  • Ping-Pong Buffering
  • Sensor Fusion Engine

3. The DashBoard & Simulator

A simple Desktop application built with PyQt5 and PyQtGraph

  • Frame Parser: it deserializes all the 32-byte into python data class
  • Telemetry Plot: It renders the speed with lean angle
  • GPS Map: Renders the tracklayout based on the longitude and the latitude data.
  • Lap Timer:
  • Digital Twin Simulator: A gui simulator that generates track data so u can test the dashboard physics without need physical hardware

Bill of Materials (BoM)

A complete, itemized BOM is generated by kicad It can be viewed: hardware/bom.csv

Steps To Reproduce

Hardware

  1. The parts can be sourced by providing the BoM CSV file to lcsc from where u can order the parts.
  2. The PCB can be ordered through JLCPCB with a stencil for precise soldering.
  3. Soldering can be done using low temp solder paste while using the stencil to create a perfect solder layer

Software

RP2040 bare-metal is pretty easy to program not that hard

  1. Install 'arm-none-eabi-gcc' toolchain and CMake.
  2. Open terminal and go into the 'firmware/'
    mkdir build && cd build
    cmake -G "Ninja" -DPICO_SDK_DETCH_FROM_GIT=ON ..
    ninja
    
  3. Through the debug pads of RP2040 the board can be programmed through the uf2 file provided in the firmware directory

Running the Dashboard

  1. Copy the telemetry.dat file from the MicroSd card

  2. Install the python libraries: pip install PyQt5 pyqtgraph

  3. Run the Digital Twin Dashboard: python dashboard/main.py

  4. Click Load Telemetry Binary and select the MicroSd card data

IMAGES

Front

Front

Back

Back

USAGE OF AI

the usage of ai was done to figure out the pinout and the project structure of how everything will be done

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages