Résumé:
This study focuses on the development of a flight controller for drones, utilizing both
classic PIC microcontrollers and dsPICs to optimize performance. The main objective
is to design and implement an embedded system capable of ensuring stable and precise
control of a drone in flight.
The approach includes the integration of inertial sensors (accelerometers, gyroscopes)
through the I²C communication protocol, the implementation of PID control loops, and
programming the microcontrollers using MikroC and MikroC Pro for dsPIC. Data acquisition
and interaction with sensors were handled via I²C and UART, ensuring accurate
and synchronized measurements essential for flight stabilization. Tools such as SerialPlot,
Docklight, and Advanced Serial Port Terminal were used for real-time data visualization
and analysis during the testing phases.
The project combines modeling, simulation, and hardware/software implementation,
with successive tests conducted to validate the controller’s stability and responsiveness.
The results demonstrate that the developed system effectively stabilizes the drone’s main
axes while addressing real-time processing constraints and precise sensor calibration.
This study highlights the complementarity between PIC and dsPIC microcontrollers
in meeting the demands of complex embedded systems, providing a concrete contribution
to the development of compact, reliable, and scalable flight controllers applicable in
aeronautics and robotics.