Ver1.8 Patch 2 Default PID Values

This forum is dedicated to all issues and questions related to your individual setups and configurations
Post Reply
glmccready
Posts: 8
Joined: Mon Oct 10, 2011 4:57 pm

Ver1.8 Patch 2 Default PID Values

Post by glmccready »

I have downloaded the Patch 2 ver of 1.8 three times on two different computers. The default PID values
are always Zero (0). I was told the defaults should load but couldn't figure out why they are not.
I just copied my PIDs from 1.7 BUT apparently the defaults for 1.8p2 are different.
Can some please post them or post a screen shot of the defaults.
Thanks, Gary

zviratko
Posts: 50
Joined: Sat Oct 15, 2011 4:49 pm

Re: Ver1.8 Patch 2 Default PID Values

Post by zviratko »

I was searching for default PID values as well but didn't find them

Ended up clearing EEPROM just to get them back :/

I think the first three were 8/0.0.33/15 but I'm not sure... If you haven't setup anything then maybe clearing EEPROM may be an option to get to them (open arduiono, file -> examples -> eeprom -> eeprom_clear)

Maybe somebody who knows them could add them to the wiki?
Btw I'm not sure if default PIDs are the same for all configurations (tri/quad...)

glmccready
Posts: 8
Joined: Mon Oct 10, 2011 4:57 pm

Re: Ver1.8 Patch 2 Default PID Values

Post by glmccready »

zviratko: Thanks, but i hate to clear and start again. I just got it really dialed in, so I must be close. I'm just having a lot of trouble with Baro and Mag.

mr.rc-cam
Posts: 457
Joined: Wed Jul 27, 2011 11:36 pm

Re: Ver1.8 Patch 2 Default PID Values

Post by mr.rc-cam »

I'm just having a lot of trouble with Baro and Mag.

Before you use the MAG you must carefully perform the special MAG sensor calibration dance. If you don't do it correctly the MAG's performance will be unreliable. If you continue to have poor MAG performance then it may be due to nearby items that are affecting the local magnetic field. That is to say, do your best to keep the sensor away from high current wiring, motors, ESC's, buzzers, metal parts, etc.

Edit:
Here are the defaults, as extracted from V1.8p2's EEPROM file:
P8[ROLL] = 4.0; I8[ROLL] = 30; D8[ROLL] = 17;
P8[PITCH] = 4.0; I8[PITCH] = 30; D8[PITCH] = 17;
P8[YAW] = 8.5; I8[YAW] = 0; D8[YAW] = 0;
P8[PIDALT] = 4.7; I8[PIDALT] = 0; D8[PIDALT] = 0;
P8[PIDVEL] = 0; I8[PIDVEL] = 0; D8[PIDVEL] = 0;
P8[PIDLEVEL] = 9.0; I8[PIDLEVEL] = 45;
P8[PIDMAG] = 4.0;
rcRate8 = 0.9
rcExpo8 = 65;

glmccready
Posts: 8
Joined: Mon Oct 10, 2011 4:57 pm

Re: Ver1.8 Patch 2 Default PID Values

Post by glmccready »

Mr rc-cam: THANKS! Now that I know where to look, I can find them in the future (teach a man to fish.....) I used the Ardino and uploaded the compiled file to the board, but didn't ever see those values? Don't know where I went wrong but I've got it now!
Re Baro: I did find out I didn't tilt through all three axis (XYZ) but fixed that today. It is better but still not very steady. The Baro is right about in the middle of my Quadrino board, so I think it is fairly isolated. I did change my Alt P = 6.5 and D= 15 per another post here. I'll test it out again tomorrow. I now realize I had my level P=14 which I mistakenly thought was default (I think from ver 1.7) and changed it to 9. I had already gotten it down to 11, by experimentation today.
Much appreciated!
Gary in Salisbury, MD, USA

Post Reply