Project tutorial
Direction_Control using KK flight controller & Arduino

Direction_Control using KK flight controller & Arduino © GPL3+

To add the feature of Direction Control using the initial direction as a reference and applying a proportional controller.

  • 1,247 views
  • 0 comments
  • 2 respects

Components and supplies

Ard nano
Arduino Nano R3
×1
kk flight controller
×1
QMC5883l Compass (GY-271)
×1

Apps and online services

About this project

The Tutorial Video :

In this video tutorial, I have used a

1.kk flight controller along with

2.An Arduino nano and

3.A GY-271 compass module (QMC5883l)

To add the feature of Direction Control using the initial direction as a reference and applying a proportional controller.

The first challenge was to accurately read the radio receiver's PWM signal for which I referred to

1.Joop Brokking's channel (the ultimate source to make drones using Arduino)channel: https://www.youtube.com/user/MacPuffdog

2. Electronoobs channel (Arduino drone playlist)Link: https://www.youtube.com/channel/UCjiV

I also used an extra channel(chn5) to toggle between normal mode, YAW_hold mode and Altitude Hold mode.

Link for Code https://github.com/htgdokania/Drone_Direction_hold

I hope this helps out others and better version for the same is developed in future.

For Compass Refer:

Code

Schematics

HMC5883l
hmc5883l_FTfN367O7Q.fzz
HMC5883l or QMC5883l
Hmc5883l bb v8fzyocuho

Comments

Similar projects you might like

Drone Altitude Hold Using KK Flight Controller and Arduino

Project tutorial by harsh dokania

  • 1,353 views
  • 0 comments
  • 6 respects

Home Made Arduino Based MPPT Charge Controller

Project tutorial by ElectronicsLovers

  • 29,722 views
  • 8 comments
  • 32 respects

Soldering Iron Controller for Hakko 907

Project tutorial by Alexander

  • 36,723 views
  • 22 comments
  • 72 respects

Smart Irrigation Controller

Project tutorial by Christian

  • 13,527 views
  • 12 comments
  • 37 respects

Controlling a Robot with a PlayStation Controller

Project tutorial by Andrew R Gross and Jonathan Gross

  • 8,452 views
  • 1 comment
  • 10 respects

Pool Controller

Project tutorial by Mike Mackes

  • 61,744 views
  • 44 comments
  • 131 respects
Add projectSign up / Login