Arduino Drone : MEGA2560 Aititude Hold + GPS Hold EP1

 

 

https://en.wikipedia.org/wiki/Quadcopter#Applications

Flight dynamics

Each rotor produces both a thrust and torque about its center of rotation, as well as a drag force opposite to the vehicle’s direction of flight. If all rotors are spinning at the same angular velocity, with rotors one and three rotating clockwise and rotors two and four counterclockwise, the net aerodynamic torque, and hence the angular acceleration about the yaw axis, is exactly zero, which means there is no need for a tail rotor as on conventional helicopters. Yaw is induced by mismatching the balance in aerodynamic torques (i.e., by offsetting the cumulative thrust commands between the counter-rotating blade pairs).[82][83]

 

 

Equipment

Arduino Mega 2560

MPU6050 Gyro

GY-63 (MS5611) Baro

Remote Flysky FS i6X

GPS/Compass

Motor 1000KV + Propeller . x 4

 

Arduino Mega 2560

Geekcreit® MEGA 2560 R3 ATmega2560 MEGA2560 Development Board With USB Cable For Arduino

 

https://www.banggood.com/custlink/3vvKIRyDGN

Arduino Mega 2560 manual : https://drive.google.com/file/d/13i09MBBWXAa5Uu954PXWiCqSSYdmQ2QQ/view?usp=sharing

 

MPU 6050

6DOF MPU-6050 3 Axis Gyro With Accelerometer Sensor Module For Arduino

https://www.banggood.com/custlink/3mvK5s3Gz8

https://drive.google.com/file/d/1BYW_bjD6cxUSvv3vItt9JMjjXNmjxblO/view?usp=sharing

 

GPS

APM2.6 2.8 GPS Module High Precision GPS With Electronic Compass PIXHAWK

https://www.banggood.com/custlink/vKv38YdDd9

 

MS5611 GY-63 Atmospheric Pressure Sensor Module IIC/SPI Communication

https://www.banggood.com/custlink/DK33iYR3y0

Baro meter :  https://drive.google.com/file/d/1e7zeBpGc95ciLv3jVrbm9lfs_Dmjgq2T/view?usp=sharing

FlySky FS-i6 2.4G 6CH AFHDS RC Radion Transmitter With FS-iA6B Receiver for RC FPV Drone

https://www.banggood.com/custlink/mGGKiEYKrz

https://drive.google.com/file/d/1pOiHj9m0HxIeDRs6IpjiTVY0ntMojYiw/view?usp=sharing

 

XXD 2212 Motor+ZTW Beatles AL30A Brushless ESC+Propellers Set

https://www.banggood.com/custlink/mK3G5ChiQz

 

………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………….

Wiring

 

 

Code : https://github.com/QuadTinnakon/QuadX_2560GY86_PIDAuto_V5

Next step is :

Print out value for adjust

Select baud rate 57600

Map column left to right with serial print

 

Adjust remote

Min :1050  Max : 1950 all channel.

 

Calibrate sensor.

Magneto

Turn Quad copter by hand find Magneto value

Xmin Xmax

Ymin,Ymax

Zmin,Zmax  lay down quad   +/- 90

 

Adjust in Config.h

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *