HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Jul 06, 2010, 12:03 PM
Brushless
cdi3d's Avatar
Joined Mar 2009
2,027 Posts
okay making more progress - increased all to 125% - all motors spin with left yaw - once throttle is applied oscillation is so bad it crashes - How do I adjust the gain settings? Thanks!!!

Mike
cdi3d is offline Find More Posts by cdi3d
Reply With Quote
Sign up now
to remove ads between posts
Old Jul 06, 2010, 12:17 PM
Registered User
Alexinparis's Avatar
Paris, France
Joined Jun 2009
756 Posts
Quote:
Originally Posted by cdi3d View Post
okay making more progress - increased all to 125% - all motors spin with left yaw - once throttle is applied oscillation is so bad it crashes - How do I adjust the gain settings? Thanks!!!

Mike
Did you try to "feel" it in your hand to see if it corrects movement in the good direction ?
Alexinparis is offline Find More Posts by Alexinparis
Reply With Quote
Old Jul 06, 2010, 12:44 PM
Brushless
cdi3d's Avatar
Joined Mar 2009
2,027 Posts
It flys!!!!!! After getting all the esc wires in the correct location - it is flying - The only thing I am seeing now if that the yaw is twitching to the left during flight - very stable - I will post a video soon!!!

Mike
cdi3d is offline Find More Posts by cdi3d
Reply With Quote
Old Jul 06, 2010, 12:57 PM
Registered User
Alexinparis's Avatar
Paris, France
Joined Jun 2009
756 Posts
Quote:
Originally Posted by cdi3d View Post
It flys!!!!!! After getting all the esc wires in the correct location - it is flying - The only thing I am seeing now if that the yaw is twitching to the left during flight - very stable - I will post a video soon!!!

Mike
good news,
note it could be even more stable if you tune your PID values
Alexinparis is offline Find More Posts by Alexinparis
Reply With Quote
Old Jul 06, 2010, 01:33 PM
Ready to fly MRs
Sid3ways's Avatar
Swanton, OH
Joined Jul 2007
4,985 Posts
Great to hear cdi3d. I'll be starting my build tonight.
Sid3ways is offline Find More Posts by Sid3ways
Reply With Quote
Old Jul 06, 2010, 02:20 PM
Brushless
cdi3d's Avatar
Joined Mar 2009
2,027 Posts
Here is the video - Nothing to exciting since yaw is acting strange -
triWIIcopter - maiden (2 min 14 sec)


Mike -
cdi3d is offline Find More Posts by cdi3d
Last edited by cdi3d; Jul 06, 2010 at 04:21 PM.
Reply With Quote
Old Jul 06, 2010, 03:47 PM
Registered User
Alexinparis's Avatar
Paris, France
Joined Jun 2009
756 Posts
Quote:
Originally Posted by cdi3d View Post
Here is the video - Nothing to exciting since yaw is acting strange - http://www.vimeo.com/13133022

Mike -
The video on vimeo is solid black. But it is possible to see it after a download.
The flight seems to be pretty stable
What is exactly the problem with yaw ?
Alexinparis is offline Find More Posts by Alexinparis
Reply With Quote
Old Jul 06, 2010, 04:24 PM
Brushless
cdi3d's Avatar
Joined Mar 2009
2,027 Posts
I am reloading the video - not sure why it was black - where do I change the PID settings in the sketch?


Thanks
Mike
cdi3d is offline Find More Posts by cdi3d
Reply With Quote
Old Jul 06, 2010, 04:34 PM
Registered User
Alexinparis's Avatar
Paris, France
Joined Jun 2009
756 Posts
Quote:
Originally Posted by cdi3d View Post
I am reloading the video - not sure why it was black - where do I change the PID settings in the sketch?


Thanks
Mike

you can do it like this:
edit the code, and insert this after checkFirstTime():
Code:
...
  checkFirstTime();
  configureReceiver();
...
=>
Code:
...
  checkFirstTime();
    P = 3.5; // <= your param here
    I = 0.03; // <= your param here
    D = -13; // <= your param here
    PYAW = 8.0; // <= your param here
  configureReceiver();
...
recompile and re-upload the sketch each time you want to change the values.

Your frame is quite big, you should be able to increase P to 5 or 5.5.
It will improve a lot the stabilization.
Alexinparis is offline Find More Posts by Alexinparis
Reply With Quote
Old Jul 07, 2010, 03:34 AM
FPV Junkie
tazdevil's Avatar
somewhere in space
Joined Aug 2006
671 Posts
Quote:
Originally Posted by Alexinparis View Post
Ok, good news.
several things to try:
- increase your ATV on all channels (125% for spektrum should be good)
- you'll maybe have to reverse some channels in your radio
I confirm that

any news in the soft alex ?
tazdevil is offline Find More Posts by tazdevil
Reply With Quote
Old Jul 07, 2010, 10:53 AM
Brushless
cdi3d's Avatar
Joined Mar 2009
2,027 Posts
Just a little heads up - I was trying to figure out why the green light wasnt on the arduino and accidentally unplugged a wire from a header pin - Once I plugged it back in the thing went nuts - mangled thumb and leg - it would be nice to remove the 1 second max motor setting - ouch -

Mike
cdi3d is offline Find More Posts by cdi3d
Reply With Quote
Old Jul 07, 2010, 11:08 AM
Brushless
cdi3d's Avatar
Joined Mar 2009
2,027 Posts
Now I am getting something weird - No green light at all on the arduino - Have tried reloading the sketch and everything - Any ideas Alex?

Mike
cdi3d is offline Find More Posts by cdi3d
Reply With Quote
Old Jul 07, 2010, 10:36 PM
Registered User
Alexinparis's Avatar
Paris, France
Joined Jun 2009
756 Posts
Quote:
Originally Posted by tazdevil View Post
any news in the soft alex ?
I'm currently exploring 2 things:
- playing with processing interface (processing.org) to make a graphical tool
- integrating a nunchuk. I just got a good one from a local store.

Quote:
it would be nice to remove the 1 second max motor setting
It's done for calibration purpose, but it maybe not useful for all ESC.
A simple way to avoid it is to comment the 2 lines:
Code:
  writeAllMotors(2000); //max motor command is maintained for 700ms at the initialization
  delay(700); //it's a way to calibrate the ESCs
Quote:
Now I am getting something weird - No green light at all on the arduino - Have tried reloading the sketch and everything - Any ideas Alex?
No green light => I2C communication problem. maybe a bad solder.
Alexinparis is offline Find More Posts by Alexinparis
Reply With Quote
Old Jul 07, 2010, 10:57 PM
Registered User
South korea
Joined Dec 2003
209 Posts
Quote:
Originally Posted by Alexinparis View Post
I'm currently exploring 2 things:
- playing with processing interface (processing.org) to make a graphical tool
- integrating a nunchuk. I just got a good one from a local store.
Good news!! Alex
I'm still wating for another WMP.
wland is offline Find More Posts by wland
Reply With Quote
Old Jul 08, 2010, 11:01 AM
FPV Junkie
tazdevil's Avatar
somewhere in space
Joined Aug 2006
671 Posts
Alex , I've got probleme since I change my wmp

this is an original one but it 's not the same pcb color

the rool gain is not the same than the nick like you mention before

is there a procedure in the I2C to calibrate gyro at high level or reset it ?

if not

what about PID setting different on nick and roll prog ?

have you working to on the accel, I'heve now aswer (maybe you waiting for your nunchunk ?

thanks in advance

maybe we can cominicate in french by mail , sent me a pm

tazdevil is offline Find More Posts by tazdevil
Reply With Quote
Reply


Thread Tools