This shows you the differences between two versions of the page.
|
pm:prj2026:jan.vaduva:sconstantin2203 [2026/05/24 01:44] sconstantin2203 [Software Design] |
pm:prj2026:jan.vaduva:sconstantin2203 [2026/05/24 02:43] (current) sconstantin2203 [Rezultate Obţinute] |
||
|---|---|---|---|
| Line 49: | Line 49: | ||
| Motor mixing is done after all the PID calculations are done, resulting in the motor output which is based on the frequency at which the control loop operates. The motor output is delivered via PWM with the ESP32 LED Control functionality. | Motor mixing is done after all the PID calculations are done, resulting in the motor output which is based on the frequency at which the control loop operates. The motor output is delivered via PWM with the ESP32 LED Control functionality. | ||
| - | The libraries I used for this project are the following: | + | The libraries I used for this project are the following:\\ |
| - | -Arduino.h - I used it for generic functions and to keep the code simple as I wanted to avoid the RTOS of the ESP32 | + | -Arduino.h - I used it for generic functions and to keep the code simple as I wanted to avoid the RTOS of the ESP32\\ |
| - | -SPI.h - the sensor readings are done using this library, I used it for simplicity and ease of use | + | -SPI.h - the sensor readings are done using this library, I used it for simplicity and ease of use\\ |
| - | -WiFi.h - used for the WiFi stack necessary for the web remote | + | -WiFi.h - used for the WiFi stack necessary for the web remote\\ |
| - | -ESPAsyncWebServer.h - used to host the web remote interface | + | -ESPAsyncWebServer.h - used to host the web remote interface\\ |
| - | -ESPmDNS.h - used to define a text address for the web remote so I wouldn't have to type the ip of the ESP32 each time | + | -ESPmDNS.h - used to define a text address for the web remote so I wouldn't have to type the ip of the ESP32 each time\\ |
| - | The structure of the project: | + | The structure of the project: \\ |
| - | -main.cpp - web server functionalities, control loop, | + | -main.cpp - web server functionalities, control loop \\ |
| - | -PID.cpp - separate PID class and functionalities | + | -PID.cpp - separate PID class and functionalities \\ |
| - | --PID.h | + | --PID.h \\ |
| - | -MPU6500.cpp - separate sensor SPI readings from the main code | + | -MPU6500.cpp - separate sensor SPI readings from the main code\\ |
| --MPU6500.h | --MPU6500.h | ||
| ===== Rezultate Obţinute ===== | ===== Rezultate Obţinute ===== | ||
| - | <note tip> | + | Video demonstrativ: https://www.youtube.com/watch?v=J08_xca9AOc |
| - | Care au fost rezultatele obţinute în urma realizării proiectului vostru. | + | |
| - | </note> | + | |
| ===== Concluzii ===== | ===== Concluzii ===== | ||