Glitches with IMU drive me crazy - closed

Post Reply
User avatar
wareck
Posts: 36
Joined: Tue May 22, 2012 10:14 pm
Location: Charleville-Mezieres
Contact:

Glitches with IMU drive me crazy - closed

Post by wareck »

Hi everyone...
I'm using 10 DoF drotek with LLC
When I fly, there is some small glitches and sometime major glitches make my copter flip...

I had double check wiring, configuration, and no interference with the magneto...
I'm boring and don't have anymore idea...

If someone can help me...
Last edited by wareck on Wed Aug 15, 2012 8:21 pm, edited 1 time in total.

tovrin
Posts: 705
Joined: Tue Sep 20, 2011 4:08 pm

Re: Glitches with IMU drive me crazy

Post by tovrin »

what is your configuration? give us some more details, and possibly pictures of your setup from top down.

mon_lolo_fr
Posts: 40
Joined: Tue Nov 15, 2011 9:50 am

Re: Glitches with IMU drive me crazy

Post by mon_lolo_fr »

Salut Olivier,

ça roule ?

For this kind of issue, I'm also using a 10DOF from Drotek without any problem.

I had fried an ITG3200 on a Drotek 6DOF V2 last week, gyro was not working anymore, it was still addressable through the I2C bus, but no data were sent back from the sensor to the MCU :-(

Have you tried a sketch for the arduino called "I2C scanner" ? just to see if you're in the same situation than me.

At the time my copter was flyable the first 5 minutes then it became very blur on all sticks, and afterward 30 seconds more, it was flipping (dangerous situation !), and no take off was possible !

Laurent

User avatar
wareck
Posts: 36
Joined: Tue May 22, 2012 10:14 pm
Location: Charleville-Mezieres
Contact:

Re: Glitches with IMU drive me crazy

Post by wareck »

My configuration is:
-home made board (alexinparis like, this is the five's one I build, work very well with WMP, the problem is no here)
-arduino mini pro
-ESC SimonK modded
-Motor Keda 2026 950Kv
-Lipo 3S 2200mAh 40c

-software Multiwii 2.1

#define QUADX

#define I2C_SPEED 100000L //100kHz normal mode, this value must be used for a genuine WMP
(I tryed 400khz, but no see any difference)

#define DROTEK_10DOF_MS // Drotek 10DOF with ITG3200, BMA180, HMC5883, MS5611, LLC
(I have this one)

// #define INTERNAL_I2C_PULLUPS

the other setup are almost near factory
I'm using with this board an other home made board based on the work of eosbandy (arduino + P6AC GPS and LLC) but for finding a solution to my issue, I don't use it and is not soledered now...

Ah, I'm also using a ppm serializer so I'm using the PPM_Spektrum option...
I don't try to fly without the serializer, maybe there is a problem with the ppm sum in the multiwii 2.1
I don't try to fly with another version of multiwii, I've this idea while I'm writing this answer...

At this time, I try to fly there is almost 15 minutes...Flip and one of my motor burn :| no have anymore motor for testing today...

Thanks for your help

Olivier

chris ables
Posts: 317
Joined: Wed Feb 08, 2012 8:42 pm
Location: United states

Re: Glitches with IMU drive me crazy

Post by chris ables »

Are you using motor connectors between esc and motors ? If so i will make a bet that they are the problem ! Take them off and solder the wires together if you have them !

tovrin
Posts: 705
Joined: Tue Sep 20, 2011 4:08 pm

Re: Glitches with IMU drive me crazy

Post by tovrin »

1. i would enable 400khz, since your not using a wmp, the reduced cycle time would be better, regardless.
2. not sure about your board, but are you sure you need i2c pullups disabled?

User avatar
wareck
Posts: 36
Joined: Tue May 22, 2012 10:14 pm
Location: Charleville-Mezieres
Contact:

Re: Glitches with IMU drive me crazy

Post by wareck »

Ok I'll check motor plugs...

For tovrin, If I disable internal pullups (normaly with 10dof drotek internal pullups are disabled), with my GPS board, there are lot of I2c error, and copter is not flyable...
ACC / MAG calibration don't work...
Maybe there is something to investigate here, pullups or not...

chris ables
Posts: 317
Joined: Wed Feb 08, 2012 8:42 pm
Location: United states

Re: Glitches with IMU drive me crazy

Post by chris ables »

Motor plugs may look fine but also be bad ! Best to solder wires and eliminate the possibility ! :D

User avatar
wareck
Posts: 36
Joined: Tue May 22, 2012 10:14 pm
Location: Charleville-Mezieres
Contact:

Re: Glitches with IMU drive me crazy

Post by wareck »

Hi , I maybe find somethink.
On the IMU bord, if i touch near R1/R2 there is massive glitche.
I have resold R1 and R2, now I need to wait new motor for testing in fly.

Scotth72
Posts: 23
Joined: Sat Jan 21, 2012 4:11 am

Re: Glitches with IMU drive me crazy

Post by Scotth72 »

Sounds like you need to enable ppm sum, not spektrum in the sketch. Spektrum is for for specktrum satellite rx's, not ppm sum.

User avatar
wareck
Posts: 36
Joined: Tue May 22, 2012 10:14 pm
Location: Charleville-Mezieres
Contact:

Re: Glitches with IMU drive me crazy

Post by wareck »

Yes I know about PPM sum
no...I 'm using a "PPM SUM box" so I need to enable this line

#define SERIAL_SUM_PPM PITCH,YAW,THROTTLE,ROLL,AUX1,AUX2,AUX3,AUX4 //For Graupner/Spektrum

This box follow me in this third aircraft, and work great with multiwii 1.9 , 2.0 and 2.1...

By the way, I think I have found...

On my PPM Sum, there is a bad plug. during flight, I lost one channel, but the PPM Serializer need about 1 or 2 second to adjust signal...
(8 channel, then 7 channel)
Glitch seem the be there....

I need to wait new motor for real fly...
Thanks all for your help

Olivier

Post Reply