Giter VIP home page Giter VIP logo

quadcopter's Introduction

Quadcopter

Hardware & Software

This repo contains a noobie quadcopter-build and implementation based on:

Next steps

  • Maybe just get a decent flight controller and start flying and collecting data.
  • PID only angles/ angles and angular velocities(might be easier for tuning). source
  • Check refresh rate of of sensor.
  • Checkout another interseting similar project.
  • Tune PID parameters.LINK
  • Refactor code in setup() function of flight controller: Rewrite mpu_setup
  • Understand Transmitter AutoAcknoledge, DataRate... other settings
  • Make prototypeboard to place gyro in the center of geometry/mass.
  • Make condition to start mount motors dependent on two signals(joysticks) to reduce the probability of an error.
  • Servo.h only works with 50Hz, Need higher refresh rate for a stable drone: https://forum.arduino.cc/t/adjusting-pwm-frequency/45204
  • Copyright-rules for code from other repositories?!
  • Joystick dead-zone might be a problem.
  • Install battery mount.
  • Measure batteries voltage drop.

ESC

To have properly working ESC's/motors the ESC's have to be calibrated. This is done by applying the minimum(1000us) and maximum(2000us) PWM-signal(pulse-width-modulation) to the ESC's while they are connected to a battery.
ESC_calibration file can be used for that.
more about pulse-width-modulation: https://www.allaboutcircuits.com/textbook/semiconductors/chpt-11/pulse-width-modulation/ more about electronic speed controller calibration: https://ardupilot.org/copter/docs/esc-calibration.html\

To arm the ESC's, connect the battery with minimal throttle speed (1000us).

  • PWM frequency for ESC's via analogWrite() rather than Servo.h 490Hz/50Hz -> might not be responsive enough

IMU - MP6050 (+ Magnetometer)

Usefull websites:

Flight-Control for self stabilizing quadcopter

Similar projects: https://github.com/rohanverma94/The-Open-Copter/blob/master/quadcopter-documentation/quadcopter-arduino.pdf
https://github.com/lobodol/drone-flight-controller

Features that effect minimal loop time/refresh rate of flight controller: more info

  • ESC's refresh rate. When max pulse is 2ms loop cant refresh motor speed faster.
  • Gyro refresh rate & low pass filter(introduces delay)

Flight controller procedure/features

  • SETUP
    • Configure DMP(Digital Motion Processor) of MPU6050
    • Calibrate Gyro (on drone startup, else wrong offsets)
  • LOOP(AIR-Routine)
    • Arm(AUX1) & Disarm(AUX2) drone.
    • read reviever data [throttle, yaw, pitch, roll] from nRF24L01-module
    • calc current angles [pitch, roll, yaw] from MPU6050
    • calc PID-Terms for each angle
    • Adjust ESC pulse (currently via Servo.h) based in PID-terms
    • (integrate battery voltage) TODO

Drone Build

Arduino

Frame

Motors, Electronic Speed Controllers & Propellors

Inertial Measurement Unit

Communication

https://github.com/akarsh98/DIY-Radio-Controller-for-Drone-Arduino-Based-Quadcopter

Power Distribution

Battery

Lipo Guide: https://rogershobbycenter.com/lipoguide\ Why storage voltage is only important for long lasting (years) batteries.

Question Answer
Why? Figure out how interesting robotics might be and learn to build drone.
When? starting november 2021
Importance Below job search and preperation for master
How much time? 3d / week
Finished Self stabilizing drone works.

Markdown Cheat Sheet

Thanks for visiting The Markdown Guide!

This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can’t cover every edge case, so if you need more information about any of these elements, refer to the reference guides for basic syntax and extended syntax.

Basic Syntax

These are the elements outlined in John Gruber’s original design document. All Markdown applications support these elements.

Heading

H1

H2

H3

Bold

bold text

Italic

italicized text

Blockquote

blockquote

Ordered List

  1. First item
  2. Second item
  3. Third item

Unordered List

  • First item
  • Second item
  • Third item

Code

code

Horizontal Rule


Link

Markdown Guide

Image

alt text

Extended Syntax

These elements extend the basic syntax by adding additional features. Not all Markdown applications support these elements.

Table

Syntax Description
Header Title
Paragraph Text

Fenced Code Block

{
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}

Footnote

Here's a sentence with a footnote. 1

Heading ID

My Great Heading {#custom-id}

Definition List

term : definition

Strikethrough

The world is flat.

Task List

  • Write the press release
  • Update the website
  • Contact the media

Emoji

That is so funny! 😂

(See also Copying and Pasting Emoji)

Highlight

I need to highlight these ==very important words==.

Subscript

H2O

Superscript

X^2^

Footnotes

  1. This is the footnote.

quadcopter's People

Contributors

thomasjon196 avatar

Watchers

 avatar

quadcopter's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.