Drotek flight Control

Post Reply
Jomann
Posts: 1
Joined: Fri May 04, 2012 2:01 pm

Drotek flight Control

Post by Jomann »

With MPU6050, HMC 5883,MS5611 + FTDI
Firmware multiwii 30.4.2012 with arduino 1.0
Is there anybody using this Board ?
I have a problem, i flashed the multiwii Code from the Drotek Page to the Board.
My quadrokopter+ Starts Motors, but Flips, sometimes over the Front sometimes over the back.
There Must be something
Wrong, because when i move the Axis x it does'nt respond to that, Same with y Axis.
2 Motors are spinnig up, but Not as they Seouls.
Can anyybody send me the multiwii Software with the code for the Drotek Board ?
This is my Board
http://www.drotek.fr/shop/en/72-multiwi ... c5883.html
A Lots of Thank you's to all Helpers
Jochen

bill516
Posts: 334
Joined: Sun Aug 07, 2011 12:27 pm

Re: Drotek flight Control

Post by bill516 »

Dont have one of these, but is the trace and almost flat line in GUI with motors running at 50% (without props, unless you are prepared to hold it in your hand) If the trace is all over the place then you have a vibration problem, if it doesnt vibrate without props then check with props.

If motors are not starting at about same time you need to trim using Tx trim and GUI to get motor rpms about equal.

First flights in gyro only mode untillyou can get it trimmed to fly almost hands off, then trim in stable using GUI to get setting somewhere then test fly and adjust trim as required. Re-calibrating acc after this time will lose stable mode trim settings.

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Drotek flight Control

Post by PatrikE »

Violent flips when at start usually means Gyros in wrong directions.

It seems The side with I2C connectors is the front and motor pins in rear.
Check your orientation of the FC.

Check Sernsor orientation in FAQ

And Do it without Props mounted... :evil:

bastard
Posts: 1
Joined: Mon May 28, 2012 2:42 pm

Re: Drotek flight Control

Post by bastard »

Hi Jochen,

Jomann wrote:Is there anybody using this Board ?


I do. Look at my Gallery: http://gallery.port23.de/v/bastard/copter/

Jomann wrote:I have a problem, i flashed the multiwii Code from the Drotek Page to the Board.


Would you like to be more clear in what you did, please. Which MultiWii version do you use? I use 2.0 - the only code on drotek is

Code: Select all

#define DROTEK_10DOF_MPU

#if defined(DROTEK_10DOF_MPU)

  #define MPU6050
  #define HMC5883
  #define MS561101BA
  #define ACC_ORIENTATION(X, Y, Z)  {accADC[ROLL]  = -X; accADC[PITCH]  =  -Y; accADC[YAW]  =  Z;}
  #define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = Y; gyroADC[PITCH] = -X; gyroADC[YAW] = -Z;}
  #define MAG_ORIENTATION(X, Y, Z)  {magADC[ROLL]  =  X; magADC[PITCH]  =  Y; magADC[YAW]  = -Z;}
  #define MPU6050_ADDRESS 0xD2
  #define MPU6050_EN_I2C_BYPASS // MAG connected to the AUX I2C bus of MPU6050
  #undef INTERNAL_I2C_PULLUPS
#endif


And I had troubles with that too. I had to do a few changes:

Code: Select all

#define DROTEK_10DOF_MPU

#if defined(DROTEK_10DOF_MPU)

  #define MPU6050
  #define HMC5883
  #define MS561101BA
  #define ACC_ORIENTATION(X, Y, Z)  {accADC[ROLL]  =  Y; accADC[PITCH]  = -X; accADC[YAW]  = Z;}
  #define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] =  X; gyroADC[PITCH] = Y; gyroADC[YAW] = -Z;}
  #define MAG_ORIENTATION(X, Y, Z)  {magADC[ROLL]  =  -Y; magADC[PITCH]  = X; magADC[YAW]  = -Z;}
  #define MPU6050_ADDRESS 0XD2
  #define MPU6050_EN_I2C_BYPASS // MAG connected to the AUX I2C bus of MPU6050
  #undef INTERNAL_I2C_PULLUPS
#endif


Bye

Stefan

Post Reply