diff --git a/README.md b/README.md index afdb5c9..52bc075 100644 --- a/README.md +++ b/README.md @@ -34,3 +34,28 @@ Example of launching the python script: `python3 script_gps.py 27.CSV Trajet.htm *Example of plotting OBD Speed* ## Gettig started with code + +The project uses the operating system [FreeRTOS](https://www.freertos.org/). It contains 4 tasks as showing the table below: + +|Task|Priority|Role| +|:--:|:------:|:--:| +|Task1|1|Collecting the OBD data with 1 sample/90ms| +|Task2|1|Collecting GPS data(longitude, latitude, altitude, GPS speed) and IMU data (accelerometer, gyroscope and magnetometer along the 3 axes (X, Y, Z))| +|Task3|1|Collecting the OBD data with 1 sample/60s| +|Daemon Task|3|Writing data in SD card| + +Below is a table representing the various OBD data required, as well as how often they are taken: + +|Data description|OBD-II PID|1 sample/90ms|1 sample/60s| +|:--------------:|:--------:|:-----------:|:----------:| +|SPEED|0x0D|x|| +|AMBIENT_TEMP|0x46||x| +|PID_RPM|0x0C|x|| +|ENGINE_REF_TORQUE|0x63|x|| +|PID_RUNTIME|0x1F||x| +|BAROMETRIC|0x33||x| +|FUEL_LEVEL|0x2F||x| +|HYBRID_BATTERY_PERCENTAGE|0x5B||x| + + + -- libgit2 0.21.4