Preview

Building Quadcopter Software from Scratch - Theory

Satisfactory Essays
Open Document
Open Document
589 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Building Quadcopter Software from Scratch - Theory
I will be using aeroquad-s flight control software as a reference point (mostly because it works great and its one of the most used open source flight controllers out there).

My flight controller implementation is based on a MK20DX128 chip (found in Teensy 3.0 dev board), there is also an "older" outdated implementation of simple flight controller for ATmega328 (found in many Arduino boards, for this implementation i was using Arduino Nano).
Step 1.: Hardware and parts Let me start by listing the essential components that will you be needing for a working quad (of course you can pick your own hardware from a scratch) but i will list just a few basic parts anyway.

quadcopter frame (your own, or you can buy one on ebay)
4 brushless motors (at least)
4x ESCs (electronic speed controllers) set of propellers (i advise you to get more, if you are planning to experiment with kinematics) lipo battery sensors (i will be using mpu6050 chip on a simple breakout board)
Microcontroller (either some Arduino compatible board, Teensy, or any uC that will suit your needs)
TX system (more on the cheap side, you could use Turnigy 9x or Turnigy 9xR with a receiver that supports PPM output) - more on that later
Step 2.: Sensors Its time for you to learn what accelerometer and gyroscope actually do. (yes really)

accelerometer - measures g-force, its great to determinate pitch and roll angles, however accelerometers are acceptable to vibrations and shock
Graph displaying accelerometer angle (shaking in hand) gyroscope - gyroscope measures acceleration rate (which is perfect for quadcopters), gyroscopes aren't affected by vibrations however gyroscopes tend to drift over time (more on this later)
Graph displaying gyroscope angle drifting over time
From the block diagram on top, you could probably have guessed that getting reliable data from those 2 sensors won't be so easy, but worry not.

Step 3.: Kinematics Part where all the sensor "magic" happen, i

You May Also Find These Documents Helpful

  • Powerful Essays

    Rotocopter Lab Report

    • 941 Words
    • 4 Pages

    2 paperclips were attached to the bottom of the rotocopter and was then dropped from a height of 1 meter which was measured from the meter stick. The fall was timed and recorded.…

    • 941 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Picked Fence Exparament

    • 519 Words
    • 3 Pages

    Purpose: To measure the acceleration of a freely falling object (g) to better than 0.5% precision using a Picket Fence and a Photogate.…

    • 519 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Equipment Draft

    • 1584 Words
    • 4 Pages

    The first thing to look at is the camera. Luckily, cameras are only the small part of the equation. You can add so much to the camera itself to get exactly what you want. This is where you 'd want to save money, because you can get a low quality camera and better it with a different lenses. According to Adorama, one option is the Nikkon D3300. This comes with the kit lens, and it starts at around $496.95 (Adorama 2015). It “ edges out it 's nearest, more expensive competitor with a low-light high ISO rating of 1385. Signal to noise ratios start at a noise free 42.2 dB at ISO 100, and stays above 30db though ISO 1600” (Adorama 2015). Other cameras range from 400-1000s of dollars, but the good thing about cameras is that you have a lot of wiggle room to budget accordingly.…

    • 1584 Words
    • 4 Pages
    Powerful Essays
  • Powerful Essays

    A rotary motion is the easiest way to keep a wing continuously moving. You can mount two or more…

    • 1574 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Vor Lesson Plan

    • 1477 Words
    • 6 Pages

    instrument. It was not designed as a “fly left” “fly right” indicator. This is why the…

    • 1477 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Accounting Security

    • 374 Words
    • 2 Pages

    I recently implemented controls for the flight log of the Moose Wings Cooperative Flight Club and I wanted to take the time to explain what these controls are and how they prevent and detect input errors.…

    • 374 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Flight Simulator

    • 513 Words
    • 3 Pages

    Before flying these planes, one should at least have some experience with the electric types which provide some basic skills which are meant for novices. It is difficult to handle the new planes as they are complex and powerful. These models are often confused with nitro RC helicopters, but their engines are entirely different.…

    • 513 Words
    • 3 Pages
    Good Essays
  • Good Essays

    So, you think you’ve mastered your drone. You’ve practiced, flown your weight in LiPo batteries and you can yaw and roll with the best of them. Well, we’ve got some news. This may come as a shock, so we suggest taking a seat — line-of-sight drone flight is only a stepping stone! The real challenge is about to begin. Your drone is a nimble, split-second-decision-making, turn-on-a-dime, incredible-feats-a-plenty, flying machine! Shouldn’t you be in the cockpit along with it? It’s time to experience first-hand what makes drone racing so uniquely thrilling compared to all other RC aircraft: First Person View! FPV will show you the world in ways you never dreamed possible. Are you ready?…

    • 974 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Helicopter Lab

    • 253 Words
    • 2 Pages

    * Objectives: the objective is to study the effect of variables on the helicopters’ flight. The goal is to observe which can stay in the air for the most time.…

    • 253 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Roller Coasters Essay

    • 459 Words
    • 2 Pages

    As people go on in the coaster you will experience many forces, when on earth gravity is pushing down on you and on the roller coaster the same is applied. The bodies force of inertia that you feel a force in front of you. Acceleration is measured in G-force.…

    • 459 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Physics Lab Essay Example

    • 356 Words
    • 2 Pages

    In the Tumble Buggy Lab, my partners and I used several different methods to calculate the velocity of a Tumble Buggy. The methods we used were a meter stick and a timer, a Spark Timer, a Photogate, and a Motion Sensor. Each method was different but overall, our velocities were very similar. Using the meter stick and timer, our velocity was 0.22 m/s. With the spark timer, our velocity was 0.26 m/s. Next, the velocity found with the Photogate was 0.325 m/s. Finally, when we used the motion sensor, we found our velocity to be 0.34 m/s.…

    • 356 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Dynamic Trolley Experiment

    • 1310 Words
    • 6 Pages

    3. We had a person holding the car in place at the top of the incline/ramp.…

    • 1310 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Last but not the least is your router. A quality stationary based model is already enough to take care of some tasks. It can be attached on a router table. In buying a router, go for at least a two horsepower model and with variable velocity.…

    • 518 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Physics Pendulum Prac

    • 367 Words
    • 2 Pages

    Aim: To determine the rate of acceleration due to gravity using the motion of a pendulum.…

    • 367 Words
    • 2 Pages
    Good Essays