Team Ai
Apppublic

AdeshJain/f1-telemetry

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
App README

F1 Telemetry Backend API

FastAPI backend for the F1 Embedded Telemetry System.

Endpoints

MethodPathDescription
GET/dataLatest raw telemetry from ThingSpeak
GET/metricsAggregated RPM, speed & efficiency stats
GET/aiNeural driver behaviour classification
GET/predictPredicted next RPM value
POST/trainRe-train models in background

Data Source

Live data is fetched from ThingSpeak channel 3352043 via the public REST API. The ESP32 microcontroller publishes the following fields every 15 s:

FieldSensorUnit
field1DHT22 Temperature°C
field2DHT22 Humidity%
field3MPU6050 Lateral G (ay)G
field4MPU6050 Longitudinal G (ax)G
field5MPU6050 Vertical G (az)G
field6Hall Effect RPMRPM
field7Calculated Speedkm/h

Environment Variables

Set the following secrets in the HF Space settings if the ThingSpeak channel is private:

THINGSPEAK_READ_KEY=your_read_api_key