DIY Drone: Description

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

DIY Drone

Team
Description
Schedule
Parts
Wiring
Code
Result

Team
Niko Erä-Esko

Karri Pönni

Hugo Casao

Joakim Heinolainen

Description
The goal of this project is to make a simple remote-controlled drone that is also capable for autoleveling. Drone could also be used for futher deveploment
in the future. Another goal for the team is to learn more about drones and how they work.

Steps to reach the goal:

1. Assembly of parts.
2. Connecting the controller and the drone.
3. Making the basic setups for the drone

Schedule
Week Task

2 Forming group

3 Wikipage, project plan

4 Planning and researching

5 Ordering parts

8 Parts arrived

10 Testing parts, assebling, programming, tutorial video

11 Asseblying, programming and testing

12

13

14 Mechatronic Circus

Parts
Component Qty Unit Price (€) Amount (€)

Quadcopter Frame 1 11,49 11,49


Brushless Motor, A2212 1000KV 4 8,26 33,04
Propeller
Brushless ESC, 30A

Lipo battery, 3S / 11,1V / 2200mAh / 30C 1 12,12 12,12

3S lipo battery charger, AC 100~240v 1 6,15 6,15

Funduino UNO R3 ATMEGA328 Development Board 1 6,83 6,83

GY-521 MPU6050 3-Axis Acceleration Gyroscope 6DOF Module 1 2,31 2,31

Transmitter, 2.4GHz 6-CH TX 1 38,42 38,42


Receiver, RX

Total 110,36

We also needed two resistors (1,5 kOhm and 1,0 kOhm) for voltage divider, 330 Ohm resistor, 1 A diode (1N4001), LEDs to indicate battery status and to
light up the drone and some wires and connectors for connections.

Wiring
Code
We made use of ready code from project attached: http://www.brokking.net/ymfc-al_downloads.html. Three codes were used in project:

YMFC-AL_setup

Formatting of drone.
Calibrating of signals from transmitter and receiver to control the drone flying height and pitch about the x-, y-, and z-axis (throttle - pitch - yaw - roll).
Calibrating of gyroscope.
Finally code saves the settings to Arduino EEPROM for later use.

YMFC-AL_esc_calibrate - calibration of speed controller.

Testing of gyroscope.
ESCs' use 1000us-2000us pulses. Therefore the values from receiver and gyroscope must be scaled to that range.

YMFC-AL_Flight_controller - code for flying

PID-controller.
Monitoring the battery charge status.

Result
The goal was to build a drone which stays still on air by adjusting the speed of four motors according to information received from the gyroscope. We did
not achieve controlled flight time as more precise adjustment on the PID-controller would have been required. Nevertheless, we managed to get PID-
controller to adjust speed of motors as wanted but not precisely enough for the drone to hold it's position. We continue working on adjustments of the PID-
controller.

You might also like