HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Dec 30, 2011, 12:35 PM
Registered User
Deutschland
Joined Nov 2011
198 Posts
Quote:
Originally Posted by M4d_D View Post
sissy ? dont call me a sissy ^^

it flys for a few seconds and flips afterwards

wiring is according to all other pictures in this thread, so i think it should be fine

the pictures on the screen move correctly but very slow , so when i move the quad quite fast the picture is too slow , looks a bit like a lagging online game ^^

das bild bewegt sich zwar aber hängt iwie hinterher , hab ka , hatte das noch nie bei nem modell
Hehe ;-)

Some latency is normal - i think so.

I have two approaches: The first is the thing you mention about something about the gyros and the secoun is the propeller thing. What exactly did you change and - really really I think we need a picture of it.

german:
Ich kann meine Multiwii's auch nur recht gemächlich bewegen, damit die GUI halbwegs folgen kann. Denke, das sind übliche Latenzen.

Bezüglich Deiner Probs würde ich dennoch auf ein Foto bestehen, bei dem auch die Richtung der Propeller zu erkennen ist. Zwischen simplem Schweben und aktiver Korrektur der Fluglage liegen regelungstechnisch Welten. Ich habe z.B. auch mal meine Probs umgeschraubt und alles einfach vermeintlich andersrum aufgebaut. Mit dem Ergebnis, dass er ins Schweben kam, aber bei der ersten ernsthaften Korrektur augenblicklich einen Salto gemacht hat. Also bitte ein Bild vom Kopter und die Angabe der Dinge, die Du im Sketch geändert hast.

Wir bekommen das Ding schon in die Luft :-)
zerosight is offline Find More Posts by zerosight
Reply With Quote
Sign up now
to remove ads between posts
Old Dec 30, 2011, 01:17 PM
Registered User
België, Vlaams Gewest, Evergem
Joined Nov 2011
738 Posts
Okay, I thought I found out what was wrong with the debug2.. Internal pullups wasn't enabled in the code. Because WM+ and BMA020 have internal pullups right ? (i dont know what it exactly does but I know they have).

So I uploaded it and armed the motors. It worked! v1.9 was alive on my quad. So I disconnected my USB cable, took my props, and put them on the quad. Connected the battery to the quad. And the arduino's led stayed on.. I2C error right? But how, everything worked?

Please.. What do I have to do.. Hope someone will finally help me..

Setup:
- Motors: Suppo 2012/13
- ESC: Suppo 25A
- Original WM+ as Gyroscope
- BMA020 as Accelerometer
- Flyduino Pro Mini (5V)

Internal Pullups, External.. ? I don't know what these are, I googled them but I didn't get any new understandable info about it. I'm a programmer, never learnt electronics so, I'm trying to find out what everything is. Please tell me what to do. I spent too much money on this thing to just let it stand here..

Thanks!
Jessestr is offline Find More Posts by Jessestr
Reply With Quote
Old Dec 30, 2011, 01:38 PM
Registered User
M4d_D's Avatar
Joined Dec 2006
845 Posts
Quote:
Originally Posted by zerosight View Post
Hehe ;-)

Some latency is normal - i think so.

I have two approaches: The first is the thing you mention about something about the gyros and the secoun is the propeller thing. What exactly did you change and - really really I think we need a picture of it.

german:
Ich kann meine Multiwii's auch nur recht gemächlich bewegen, damit die GUI halbwegs folgen kann. Denke, das sind übliche Latenzen.

Bezüglich Deiner Probs würde ich dennoch auf ein Foto bestehen, bei dem auch die Richtung der Propeller zu erkennen ist. Zwischen simplem Schweben und aktiver Korrektur der Fluglage liegen regelungstechnisch Welten. Ich habe z.B. auch mal meine Probs umgeschraubt und alles einfach vermeintlich andersrum aufgebaut. Mit dem Ergebnis, dass er ins Schweben kam, aber bei der ersten ernsthaften Korrektur augenblicklich einen Salto gemacht hat. Also bitte ein Bild vom Kopter und die Angabe der Dinge, die Du im Sketch geändert hast.

Wir bekommen das Ding schon in die Luft :-)
i removed the bma020 now ( i cut it out , f*****g b***h ! )
now it works the correct way up... i believe there is not enough power ( 2s , it almost doesnt lift with a full lipo ) and therefore its still uncontrollable , ill try a 3s lipo now
unfortunately i dont have another bma so i cannot test that ...

i think ill need some other props ( atm i use 2 bladed 5x3 ) does anyone have an idea where i can get the ones with 3 blades ?
M4d_D is offline Find More Posts by M4d_D
Reply With Quote
Old Dec 30, 2011, 01:43 PM
Registered User
M4d_D's Avatar
Joined Dec 2006
845 Posts
Code:
 #ifdef Y6
    motor[0] = PIDMIX(-1,+1,-1); //REAR_R 3
     motor[1] = PIDMIX(+0,+0,+0); //0
    motor[2] = PIDMIX(+0,+0,+0); //0
   motor[3] = PIDMIX(+1,-1,-1); //FRONT_L  9
    motor[4] = PIDMIX(+1,+1,+1); //FRONT_R A0
    motor[5] = PIDMIX(-1,-1,+1); //REAR_L A1
  #endif
i use hexa code since pins 10 and 11 are somehow connected and i didnt find the problem

Code:
/*******************************/
/****CONFIGURABLE PARAMETERS****/
/*******************************/

/* Set the minimum throttle command sent to the ESC (Electronic Speed Controller)
   This is the minimum value that allow motors to run at a idle speed  */
#define MINTHROTTLE 1290 // for Turnigy Plush ESCs 10A
//#define MINTHROTTLE 1120 // for Super Simple ESCs 10A
//#define MINTHROTTLE 1220
//#define MINTHROTTLE 1150 

/* The type of multicopter */
//#define GIMBAL
//#define BI
//#define TRI
//#define QUADP
//#define QUADX
//#define Y4
#define Y6 // miniquad
//#define HEX6
//#define HEX6X
//#define OCTOX8
//#define OCTOFLATP
//#define OCTOFLATX
//#define FLYING_WING //experimental

#define YAW_DIRECTION 1 // if you want to reverse the yaw correction direction
//#define YAW_DIRECTION -1

#define I2C_SPEED 100000L     //100kHz normal mode, this value must be used for a genuine WMP
//#define I2C_SPEED 400000L   //400kHz fast mode, it works only with some WMP clones

//enable internal I2C pull ups
#define INTERNAL_I2C_PULLUPS


//****** advanced users settings   *************

/* This option should be uncommented if ACC Z is accurate enough when motors are running*/
//#define TRUSTED_ACCZ

/* PIN A0 and A1 instead of PIN D5 & D6 for 6 motors config and promini config
   This mod allow the use of a standard receiver on a pro mini
   (no need to use a PPM sum receiver)
*/
#define A0_A1_PIN_HEX
these are all the current changes in my code , so nothing special really
M4d_D is offline Find More Posts by M4d_D
Reply With Quote
Old Dec 30, 2011, 04:52 PM
Registered User
Joined Dec 2011
21 Posts
Hey you Guys

Depanding on, this is my first MultiWii, it took me a while, but now i
have figured out myself what was wrong.

Now my Flydumini is ready and nearly flying as stable and agile as my MK's.

LiPolice LPA-1705/11T-2275KV
Turnigy Plush 10A
GWS 5x3
Dymond XP-800 30C 2S

The beast has more thrust power as i ever expected.
Flight time: nearly 9 Min.

Wish you all a Happy New Year.
magomora is offline Find More Posts by magomora
Reply With Quote
Old Dec 30, 2011, 05:31 PM
Registered User
Winterswijk, Netherlands
Joined Jun 2007
133 Posts
Quote:
Originally Posted by M4d_D View Post
hi there ...

i have a flydumini which doesnt want to fly ... it always flips when hovering ... i had to change the programming because the gyros dont work when its the correct way up , so i changed the props and it flies upside down but welll ... these sudden flips are weird ...

its built with turnigy 10A escs , 2000kv HK motors , original wm+ and bma020

can anyone help?
if not : does anyone want to buy it , i really dont have any fun with this thing , something like this never happened before , maybe someone else wants to try his / her luck
if so : please pm me :-)
Sounds like there is a orientation problem somewhere.....

The GUI symbol will move slowly, if the ACC data does not match the gyro and/or compass orientation.

If you can post a picture of your sensors, and check what you got in config.h (look for the part where it says :
//if you want to change to orientation of individual sensor
//#define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = Y; accADC[PITCH] = -X; 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;}
)
(or similar, right at the end).
wilco1967 is offline Find More Posts by wilco1967
Reply With Quote
Old Dec 30, 2011, 06:36 PM
Registered User
M4d_D's Avatar
Joined Dec 2006
845 Posts
Quote:
Originally Posted by wilco1967 View Post
Sounds like there is a orientation problem somewhere.....

The GUI symbol will move slowly, if the ACC data does not match the gyro and/or compass orientation.

If you can post a picture of your sensors, and check what you got in config.h (look for the part where it says :
//if you want to change to orientation of individual sensor
//#define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = Y; accADC[PITCH] = -X; 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;}
)
(or similar, right at the end).
i know which part you mean , i didnt change anything there ...
i removed the bma completely and you can almost call it flying... still very instable and i have a really huge delay on my throttle , it takes about a second to react , in the gui it seems to be ok ... any idea here ?
M4d_D is offline Find More Posts by M4d_D
Reply With Quote
Old Dec 30, 2011, 09:05 PM
Registered User
België, Vlaams Gewest, Evergem
Joined Nov 2011
738 Posts
Quote:
Originally Posted by M4d_D View Post
i know which part you mean , i didnt change anything there ...
i removed the bma completely and you can almost call it flying... still very instable and i have a really huge delay on my throttle , it takes about a second to react , in the gui it seems to be ok ... any idea here ?
Maybe it is your Tx & Rx that are doing weird things and not you or the MultiWii. Did you try another Tx or Rx? It's only a suggestion.
Jessestr is offline Find More Posts by Jessestr
Reply With Quote
Old Dec 30, 2011, 10:27 PM
Registered User
België, Vlaams Gewest, Evergem
Joined Nov 2011
738 Posts
I got Debug2 errors, I2C problems!

I got the latest build from 20 december, aduino is powered from 5 volt, every sensor is powered from 5V i'm using an original WM+ and a BMA020 from Paul, now he said I just got to use the internal pullups. So I did, it worked in 1.8p2, but then I tried 1.9 it didnt work, then I saw that use internal pullups was commented in 1.9 so I activated it, it worked !

After that I disconnected everything to try my quadcopter in my room. Connected the battery and the led Of the arduino stayed on.. So I went to my computer to check, and it gave I2C errors again, and a few minutes therefore it worked.. What the!? So I'm stuck with my dirst new quad, reading topics about the problem but no decent solution with photo's or something else, please could you show me how to use the pullups from what point to what point they have to be soldered? Or another working solution?

I spent over 300 euros for this quad so I really dont wan't to just let it go..

Please help, I asked this so much already on different forums! If you need photos ask!
Jessestr is offline Find More Posts by Jessestr
Reply With Quote
Old Dec 30, 2011, 11:17 PM
Registered User
M4d_D's Avatar
Joined Dec 2006
845 Posts
Quote:
Originally Posted by Jessestr View Post
Maybe it is your Tx & Rx that are doing weird things and not you or the MultiWii. Did you try another Tx or Rx? It's only a suggestion.
i thought of that too but it works with other models and in the gui the stick movements are very smoth and exact ... so that shouldnt be the problem .

what about esc timing , high ? i put them on high as i did on my bigger copters , can that be a problem ?
M4d_D is offline Find More Posts by M4d_D
Reply With Quote
Old Dec 31, 2011, 04:36 AM
QuaDreko pilot :)
Drekavac's Avatar
Slovenia, Kamnik
Joined Oct 2010
116 Posts
For all of you, where version 1.8 works OK and 1.9 do not work, try with these pullup resistors (here I use 2K2, on Flydumini I have 4k7).
Drekavac is offline Find More Posts by Drekavac
Reply With Quote
Old Dec 31, 2011, 04:54 AM
Registered MisUser
whiteturbo's Avatar
Bristol UK
Joined Oct 2009
721 Posts
Quote:
Originally Posted by Jessestr View Post
I got Debug2 errors, I2C problems!

I got the latest build from 20 december, aduino is powered from 5 volt, every sensor is powered from 5V i'm using an original WM+ and a BMA020 from Paul, now he said I just got to use the internal pullups. So I did, it worked in 1.8p2, but then I tried 1.9 it didnt work, then I saw that use internal pullups was commented in 1.9 so I activated it, it worked !

After that I disconnected everything to try my quadcopter in my room. Connected the battery and the led Of the arduino stayed on.. So I went to my computer to check, and it gave I2C errors again, and a few minutes therefore it worked.. What the!? So I'm stuck with my dirst new quad, reading topics about the problem but no decent solution with photo's or something else, please could you show me how to use the pullups from what point to what point they have to be soldered? Or another working solution?

I spent over 300 euros for this quad so I really dont wan't to just let it go..

Please help, I asked this so much already on different forums! If you need photos ask!

First, nobody will help you if you SHOUT in red, its rude and not the way to get help.

OK Multiwii v1.9 doesnt like WMP and BMA020 and i have one quad that wont work on v1.9 for that reason. Go back to V1.8patch 2 its the best and most stable version especially if your using WMP and BMA020.
The debug numbers in the Gui are not errors they are what was left in when Alex was debuging it before it was released. This has been documented elswhere.
If your using a genuine WMP and BMA020 then internal pullups are fine, just dont use them if your using anything on 3.3v.
If you had everything working in 1.8patch2 then nothing can be wrong can it? so just go back to it and if you must use the latest version then wait for the next(non dev) version and try again and if you get any problems just go back to what last worked.
By the way 300 euro's is quite cheap for a good quad, but you aint gonna get an MK, you have to do some of the work, its NOT plug and play. If you dont want to get your hands dirty then you will pay a lot more e.g look at hoverfly boards and thats only the board, you still have to buy motors, esc's frame, RX etc,etc so 300 euro's is good value, but you have to read and learn a little to get it working right. to most of us that is half the fun.

Ray
whiteturbo is offline Find More Posts by whiteturbo
Reply With Quote
Old Dec 31, 2011, 05:36 AM
Registered User
Alexinparis's Avatar
Paris, France
Joined Jun 2009
756 Posts
Quote:
Originally Posted by Drekavac View Post
For all of you, where version 1.8 works OK and 1.9 do not work, try with these pullup resistors (here I use 2K2, on Flydumini I have 4k7).
Hi,
with 1.9, could you try to:

- power your BMA+WMP not via D12, but directly via +5V
and after by order if it doesn't work:
1) remove your pullups
2) keep your pullups
3) activate internal pullups
debug2 values should not increase while running

(I've personally a working 1.9 config with flydumini + WMP + BMA020)
Alexinparis is offline Find More Posts by Alexinparis
Reply With Quote
Old Dec 31, 2011, 05:51 AM
Registered User
België, Vlaams Gewest, Evergem
Joined Nov 2011
738 Posts
Quote:
Originally Posted by whiteturbo View Post
First, nobody will help you if you SHOUT in red, its rude and not the way to get help.

OK Multiwii v1.9 doesnt like WMP and BMA020 and i have one quad that wont work on v1.9 for that reason. Go back to V1.8patch 2 its the best and most stable version especially if your using WMP and BMA020.
The debug numbers in the Gui are not errors they are what was left in when Alex was debuging it before it was released. This has been documented elswhere.
If your using a genuine WMP and BMA020 then internal pullups are fine, just dont use them if your using anything on 3.3v.
If you had everything working in 1.8patch2 then nothing can be wrong can it? so just go back to it and if you must use the latest version then wait for the next(non dev) version and try again and if you get any problems just go back to what last worked.
By the way 300 euro's is quite cheap for a good quad, but you aint gonna get an MK, you have to do some of the work, its NOT plug and play. If you dont want to get your hands dirty then you will pay a lot more e.g look at hoverfly boards and thats only the board, you still have to buy motors, esc's frame, RX etc,etc so 300 euro's is good value, but you have to read and learn a little to get it working right. to most of us that is half the fun.

Ray
Sorry for the red and thanks


Quote:
Originally Posted by Alexinparis View Post
Hi,
with 1.9, could you try to:

- power your BMA+WMP not via D12, but directly via +5V
and after by order if it doesn't work:
1) remove your pullups
2) keep your pullups
3) activate internal pullups
debug2 values should not increase while running

(I've personally a working 1.9 config with flydumini + WMP + BMA020)
Could you show me some pictures of the pullups? I don't really know where to solder them? I really want v1.9 working. And my WM+ is soldered to 5V already. I was intended to use the v1.9.

Update: Got the WM+ working with internal pullups enabled, but when I enable the BMA020 (uncomment it) it doesn't work anymore.

Thanks !
Jessestr is offline Find More Posts by Jessestr
Last edited by Jessestr; Dec 31, 2011 at 06:04 AM.
Reply With Quote
Old Dec 31, 2011, 06:17 AM
It wasn't me
r0sewhite's Avatar
Augsburg, Germany
Joined Mar 2010
428 Posts
I really don't understand why you accept this trouble only to get V1.9 running. V1.8_patch2 works pretty good and reliable. Until you don't need new features like GPS, there is no reason to update.
r0sewhite is online now Find More Posts by r0sewhite
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
New Product Please let me introduce myself jimaquo Dock Talk 7 Oct 27, 2010 03:27 AM
Let me introduce the DEMON!!!! (Transparent covering and eliptical wing!!!) modest-master Sport Planes 7 Aug 26, 2002 12:46 AM
Let me introduce Angelis 280/400, Benjamin, Zombi (ARFs) modest-master Parkflyers 17 Mar 14, 2002 02:20 PM
Let me introduce the "NIKE" modest-master Electric Sailplanes 3 Mar 07, 2002 06:20 AM