Overview This document outlines the solution and troubleshooting process for controlling a brushless motor via a 4-in-1 ESC using an Arduino Nano ESP32 board, which operates at 3.3V logic levels. The main goal was to ensure reliable motor control using PWM signals generated by the ESP32, despite compatibility quirks with traditional ESC behavior. The insights…
This article goes through the process of estimating altitude and vertical velocity using barometer and accelerometer, blending them togheter and create a control loop to allow the 2″ inches Arduino drone to hover. the basics: rC input The radio receiver interprets user commands from the remote controller and communicates them to the flight controller. In…
I use the barometer inside the MPU-6050 GY-86 to implement altitude hold, combining accelerometer and barometer data. However, when reading the barometer data, the program would block execution, waiting for pressure and temperature readings. The issue stemmed from delay() functions in the library, significantly increasing my main loop time from 5ms to nearly 20ms. This…