Articles

Affichage des articles associés au libellé ESC

Arduino flight controller

I found amazing project with many videos to build a quadcopter controlled using arduino uno. I am now analyzing the arduino code to understand how it works. I already found some interesting ideas : Loop frequency is 250hz. It means MPU6050 is read 250 times in a second and esc are updated 250 times too  It is a higher frequency than rasberrry zero can produce MPU6050 code to compute pitch and roll is different than mine. It seems to use acceleration rather than angle to compute pitch and roll. And it does not use dplf to reduce noise. I am surprised. It need to be tested. Battery voltage is read and used to increase esc pulses when voltage drops. It permits to stabilize quadcopter performances. Because when voltage decrease, motor rotation decrease too. Good idea. Esc pulses don't use the arduino servo library. They are generated manually using raw commands (pulse high for 1000-2000 us then low for a total cycle of 4000 us). So it needs a loop frequency of exactly 250 hz....

Building a Quadcopter using Raspberry Pi

Image
Building a Quadcopter using Raspberry Pi... The idea came to me during my holidays by reading an article by Andy Baker in the MagPI newspaper (numbers 19 and 20) On reading the article, a quadcopter appeared to me very simple to build. And then, according to my research, I realized nevertheless that there are a lot of knowledge to know and that it will be quite complicated .. . So I bought the material on ebay: The F450 frame The 4 motors The 4 propellers The 4 ESCs The LIPO 3S battery The MPU6050 (gyroscope / accelerometer sensor) F450 kit The MPU6050 (gyroscope / accelerometer sensor) For the flight controller part, I use a Raspberry Pi 2 that I already have. As passionate computer scientist, the idea is to program the Raspberry to drive the engines according to the MPU6050 sensor which will provide me informations on tilt and acceleration. So, I will not want to use the CC3D flight controller provided in the kit. For the remote control, ...