
Web Interface to allow flight controller tuning with your mobile phone.100% Open Source (you can see how it is possible to fly!).Otherwise, the rest of the design was just focused on providing reliable wire hookups between the drone receiver and motor electronic speed controllers (ESCs). The closer the battery approaches undervoltage (12.8V), the beeper will increase its beep rate until it is too annoying to want to continue use. In our case, we had a 16.8V (full charge of a 4S battery) divided to just under 3Vs. We achieved this by applying a voltage divider here as well. In turn, a means of letting the drone pilot know the battery is draining too low had to be designed. Many of the LiPo batteries available are long lasting with a ton of amps to deliver quickly but must not be allowed to go under their minimum cell voltage. The second consideration was battery management.

So, any pin to the RP2040 that was receiving a signal required a voltage divider to protect the RP2040. However, the ESCs and the radio receiver communicate on 5V. The RP2040 GPIO is designed for 3.3V and not 5V tolerant. The biggest design consideration for this board was the logic level.
ARDUINO VS DRONE DEFINITION CODE
This hardware works with the code out of the box. Battery: HRB 4S 3300mAh 14.8v Lipo RC Battery 60C.ESCs: QWinOut 2-4S 30A/40A RC Brushless ESC Simonk Firmware Electric Speed Controller with 5V 3A BEC.Motors: QWinOut A2212 1000KV Brushless Outrunner Motor 13T.Microcontroller: Arduino Nano RP2040 Connect.These are the components we are using for our drone:


This makes this project the first published open-source version! What's special about this project is that at the time of writing this article, there are no search results via Google, Bing, or Yahoo that can find a published opensource code for the Arduino Nano RP2040 Connect for flight control. It's fast speed and ability to program it with the Arduino IDE, it makes for a great microcontroller to serve as a quadcopter flight controller. The Arduino Nano RP2040 Connect comes with a built in IMU.
