Search found 252 matches

by doughboy
Thu Sep 20, 2012 7:56 pm
Forum: ESCs, propellers , servos and radios
Topic: One motor quits on me
Replies: 11
Views: 1335

Re: One motor quits on me

I havent understood this about setting your ESC to NIMH even though using li-po, whats the point? I always wondered about that as well, until I read this thread m the first thing they tell you to do is reprogram the esc to nimh from lipo. lipo will cause esc to shut down the motor at a certain vota...
by doughboy
Thu Sep 20, 2012 7:46 pm
Forum: Software development
Topic: [PATCH] Verify EEPROM integrity
Replies: 51
Views: 3521

Re: [PATCH] Verify EEPROM integrity

thanks for the patch. I was wondering what was wrong with my setup until I figured out the eeprom layout changes everytime a feature is enabled/disabled. :0 I used to use ICSP programmer and that always wipe out the eeprom. then switched to ftdi and uploading via bootloader, which does not clear the...
by doughboy
Wed Sep 19, 2012 4:57 pm
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

by doughboy
Wed Sep 19, 2012 4:53 pm
Forum: Software development
Topic: SOLVED: motor value drifting due to errorGyroI accumulation
Replies: 20
Views: 3121

SOLVED bug: motor value drifting due to errorGyroI accumulat

Since I never got a satisfactory explanation of the cause of motor speed dropping and the corresponding solution (sebhi explained most quite well though), I studied the code and it turns out the explanation and solution is quite simple. Motors change speed due to mainly 2 inputs, the sticks and the ...
by doughboy
Tue Sep 18, 2012 6:54 pm
Forum: Software development
Topic: SOLVED: motor value drifting due to errorGyroI accumulation
Replies: 20
Views: 3121

Re: bug: motor value drifting due to errorGyroI accumulation

Just a quick reply: I noticed this too, the values drift a lot because the bias (0-level of the gyros) is calibrated on integer values. If MultiWii calibrates the gyros to 512, but in reality it's oscillating between 512 and 513 (and would be 512,5) then the "error" accumulates and the co...
by doughboy
Tue Sep 18, 2012 6:36 pm
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

After reading all of this, im curious if you have tried flying it yet. you see post after post of motor levels not matching on ground, with and without props, but once they get the bird leveled and in air they see little problem. get it 4 feet in the air and see if it will level. I use a deadband o...
by doughboy
Tue Sep 18, 2012 6:19 pm
Forum: Ideas
Topic: wishlist for v2.2 - CLOSED
Replies: 150
Views: 17390

Re: wishlist for v2.2

it will not be possible to control everything in config.h like that. the defines used there control the compiling of huge code segments. the only way to achieve yoir goal would be to compile everything and enable/disable it afterwards.that would lead to huge code an a massive memory load. the confi...
by doughboy
Tue Sep 18, 2012 10:52 am
Forum: Software development
Topic: SOLVED: motor value drifting due to errorGyroI accumulation
Replies: 20
Views: 3121

Re: bug: motor value drifting due to errorGyroI accumulation

I saw the same whilst hunting level drift issue. Less than perfect gyros is cause. Rather than zero, average tends to be a little to one side. And it sums up as you say. The code is working correctly - it gets data saying it is slightly turning all the time, so it gradually increases/decrease motor...
by doughboy
Tue Sep 18, 2012 10:29 am
Forum: Software development
Topic: SOLVED: motor value drifting due to errorGyroI accumulation
Replies: 20
Views: 3121

Re: bug: motor value drifting due to errorGyroI accumulation

Somehow, the gyro value displayed in the GUI are all 0 all the time. Is the GUI filtering the value of gyro data? My gyro is the 6050.
by doughboy
Tue Sep 18, 2012 8:58 am
Forum: Software development
Topic: SOLVED: motor value drifting due to errorGyroI accumulation
Replies: 20
Views: 3121

Re: bug: motor value drifting due to errorGyroI accumulation

it is not possible. if I set it exactly to 1500, all I need to do is move it up and down and let go and it will land say at 1495, then next time maybe 1500. I see the RX filters +/-3us, but my TX stick usually lands outside of that range. I have defined a deadband of 15, and that takes care of keepi...
by doughboy
Tue Sep 18, 2012 7:51 am
Forum: Software development
Topic: SOLVED: motor value drifting due to errorGyroI accumulation
Replies: 20
Views: 3121

SOLVED: motor value drifting due to errorGyroI accumulation

how to reproduce disconnect battery from FC and only connect USB/serial for GUI connection. connect the gui. arm the motors. put throttle say at 70-80% watch the motor speed, one of the motors will slowly drift away. in theory, with no input, the motor speed should remain the same. with deadband def...
by doughboy
Tue Sep 18, 2012 6:02 am
Forum: Ideas
Topic: wishlist for v2.2 - CLOSED
Replies: 150
Views: 17390

Re: wishlist for v2.2

Some of us we are facing problem to align all motors to the same power level during the setup. so i think that it would be great , if it's possible , to make an "auto level motor function" !!! you need to make sticks min 1000, mid 1500, max 2000 (or as close as possible) and use the DEADB...
by doughboy
Tue Sep 18, 2012 5:24 am
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

one more thing besides trimming min-mid-max you must set #define DEADBAND 6 in your config.h. the value is based on how much your sticks fluctuate from 1500 when it is at midpoint. I had to set mine to 24, and the motor speeds are now super stable. man these things should be in the wiki, or if they ...
by doughboy
Tue Sep 18, 2012 3:40 am
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

motors all same speed, pitch, roll, yaw values at about 1500. so it really all goes back to bill's instructions to set the transmistter min max and mid to 1000-1500-2000. who would have thought a difference of 4us would matter a lot. if you look at my first picture, my roll is below 1500, and that w...
by doughboy
Tue Sep 18, 2012 3:31 am
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

ok, I found the problem. your roll, pitch, yaw center value MUST be exactly 1500 in order to have no error accumulating.
this kinda suck. I think it should have some margin of error, say +/-10 or 20.
by doughboy
Tue Sep 18, 2012 3:11 am
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

the error is introduced by the gyro reading fluctuating between 0 and 1, and accumulates over time. if it is always 0, then this problem won't exist. enabling gyro smoothing does nothing.
by doughboy
Tue Sep 18, 2012 1:26 am
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

I changed the YAW direction in config and the opposite happens, my front_r is now drifting to a ridiculously high value. the debug function is really nice. I enabled #define DEBUG and added this line debug[0]=rcCommand[THROTTLE];debug[1]=axisPID[ROLL];debug[2]=axisPID[PITCH];debug[3]=axisPID[YAW]; a...
by doughboy
Tue Sep 18, 2012 1:19 am
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

I don't think its a problem with your quad. I have the exact problem. and I just flew my quad yesterday and it was fine.

Image
by doughboy
Tue Sep 18, 2012 1:06 am
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

the more I look into this, the more I think this is a software bug. First of all, ESC and motor has nothing to do with this, as my esc is completely disconnected. So only thing running is FC and receiver. Second, my gyro reading is always 0, so only stick values should come into play. Yet I just now...
by doughboy
Mon Sep 17, 2012 9:28 pm
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

if your REAR_L is always low, #ifdef QUADX motor[0] = PIDMIX(-1,+1,-1); //REAR_R motor[1] = PIDMIX(-1,-1,+1); //FRONT_R motor[2] = PIDMIX(+1,+1,+1); //REAR_L motor[3] = PIDMIX(+1,-1,-1); //FRONT_L #endif from that, you see it adds PID term for all axis for rear_l since PIDMIX(X,Y,Z) rcCommand[THROTT...
by doughboy
Mon Sep 17, 2012 9:18 pm
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

Thats what this say's ! The i term is actually cumilating the error over time & tries to compensate for that but the copter is in hand or fixxed on table ( sitting on floor with props off is like fixed on table ) ok, go back to the code. axisPID[axis] = PTerm + ITerm - DTerm; PTerm is the actua...
by doughboy
Mon Sep 17, 2012 6:58 pm
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

Bill, your posts should be in sticky or wiki. Yes, I had to figure out how to get my darned tx sticks to go min 1000 max 2000 and mid 1500. As I have mentioned in my earlier post, when I went through the math, it appears the stick values are the main contributors hence it is important to get then al...
by doughboy
Mon Sep 17, 2012 6:47 pm
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

One more thing you can try. Load the latest "shared" code from trunk. You have to do an SVN checkout of trunk branch to get the file. Then add the multiwii shared folder into your arduino sketch folder and rename the multiwii_shared folder to just multiwii and load that to your flight cont...
by doughboy
Mon Sep 17, 2012 5:29 pm
Forum: Getting Started - MultiWii config and setup
Topic: Accelerometer not calibrating
Replies: 8
Views: 1608

Re: Accelerometer not calibrating

It looks like I had a bad IMU, or I just damaged it, grrrr. Waiting for my alternative. unless you see it smoke, I don't think the imu can be damaged easily, so its likely a connection (like pullup resistors) issue. as someone else asked, if you see I2C errors, then your connection is bad. You shou...
by doughboy
Mon Sep 17, 2012 5:08 pm
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

The motor output on the GUI is not equal on both sides with a neutral RC input This is the normal PID loop behaviour, the I-term is actually cumulating the error over time & tries to compensate for that but the copter is hand-held or fixed on the table. When the I-term is zeroed, the this will ...
by doughboy
Mon Sep 17, 2012 5:05 pm
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

regarding trimming, after thinking more about it, its like a rubiks cube puzzle. say hypothetically the motor speed are as follows (midway throttle) 1500 1500 1400 1500 pitch down to make front motors lower by 100 (pitch down may not be the correct term, but you know what I mean) 1400 1400 1400 1500...
by doughboy
Mon Sep 17, 2012 1:22 am
Forum: Software development
Topic: r1119 vbatmin not honoring NO_VBAT
Replies: 2
Views: 235

Re: r1119 vbatmin not honoring NO_VBAT

I modified alarms code to #if defined(VBAT) if ( ( (vbat>conf.vbatlevel1_3s) #if defined(POWERMETER) && ( (pMeter[PMOTOR_SUM] < pAlarm) || (pAlarm == 0) ) #endif ) || (conf.no_vbat > vbat) ) // ToLuSe { // VBAT ok AND powermeter ok, alarm off warn_vbat = 0; #if defined(POWERMETER) } else if ...
by doughboy
Mon Sep 17, 2012 12:59 am
Forum: Software development
Topic: r1119 vbatmin not honoring NO_VBAT
Replies: 2
Views: 235

r1119 vbatmin not honoring NO_VBAT

before I updated to r1119, if my battery is not connected, my alarm does not go crazy. Now with r1119, with battery not connected, I get alarms, perhaps due to this. I believe the test for conf.no_vbat > vbat should always be the first test in the if else chain. #if defined(VBAT) if (vbatMin < conf....
by doughboy
Sun Sep 16, 2012 11:41 pm
Forum: Software development
Topic: 64 bit mw configurator does not work with windows 7 64 bit
Replies: 3
Views: 434

Re: 64 bit mw configurator does not work with windows 7 64 b

I tried running the sketch in processing 64 bit and got a runtime error saying serial does not work in 64 bit.
by doughboy
Sun Sep 16, 2012 10:54 pm
Forum: Software development
Topic: 64 bit mw configurator does not work with windows 7 64 bit
Replies: 3
Views: 434

Re: 64 bit mw configurator does not work with windows 7 64 b

ok, I see it is not a java program per se, but using processing language.
by doughboy
Sun Sep 16, 2012 10:37 pm
Forum: Software development
Topic: 64 bit mw configurator does not work with windows 7 64 bit
Replies: 3
Views: 434

64 bit mw configurator does not work with windows 7 64 bit

any ideas why the 64 bit windows version of multiwii configurator does not work with windows 7 64 bit? I am currently just using the 32 bit. I know I have 64 bit java installed. also, once in a while the program runs 100% CPU. is there a way to get the java thread dump to find out what is going on? ...
by doughboy
Sun Sep 16, 2012 10:27 pm
Forum: Software development
Topic: New Multiwii Serial Protocol
Replies: 409
Views: 115484

Re: New Multiwii Serial Protocol

is there any document that describes the old serial protocol? I wanted to use LCD_Config (works with UNO with LCD kaypad shield) but it is not compatible with the new serial protocol. I don't think that software is actively maintained anymore so I want to see how much work is needed to update it to ...
by doughboy
Sun Sep 16, 2012 10:04 pm
Forum: Software development
Topic: bug in 2.1 shared r1119 MultiWii.ino on passthru and infligh
Replies: 3
Views: 323

Re: bug in 2.1 shared r1119 MultiWii.ino on passthru and inf

ok, I see the compile error got fixed in r1110 on sept 12.
by doughboy
Sun Sep 16, 2012 10:01 pm
Forum: Software development
Topic: bug in 2.1 shared r1119 MultiWii.ino on passthru and infligh
Replies: 3
Views: 323

Re: bug in 2.1 shared r1119 MultiWii.ino on passthru and inf

ok, I downloaded my code before r1119 so I should have used the revision I downloaded it from, probably within the last week or so. so that fix must have been done recently. as for the fix, I was thinking since by design, a define was added to enable passthru only for fixed wing and helicopter, henc...
by doughboy
Sun Sep 16, 2012 8:54 pm
Forum: Software development
Topic: bug in 2.1 shared r1119 MultiWii.ino on passthru and infligh
Replies: 3
Views: 323

bug in 2.1 shared r1119 MultiWii.ino on passthru and infligh

if you enable inflight_acc_calibration, you get a compile error due to passthru not defined. in line 843, it should have if defined check for fixedwing and helicopter #if defined(FIXEDWING) || defined(HELICOPTER) if (rcOptions[BOXPASSTHRU]) { // Use the Passthru Option to activate : Passthru = TRUE ...
by doughboy
Sun Sep 16, 2012 8:12 pm
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

in 2.1 if I enable INFLIGHT_ACC_CALIBRATION I get this error during compile MultiWii.cpp: In function 'void loop()': MultiWii:834: error: 'BOXPASSTHRU' was not declared in this scope and since PASSTHRU cannot be enabled unless you are using fixedwing or helicopter,so it seems inflight acc calibratio...
by doughboy
Sun Sep 16, 2012 7:29 pm
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

Re: one motor less power

each motors value is determined by this #define PIDMIX(X,Y,Z) rcCommand[THROTTLE] + axisPID[ROLL]*X + axisPID[PITCH]*Y + YAW_DIRECTION * axisPID[YAW]*Z #ifdef QUADX motor[0] = PIDMIX(-1,+1,-1); //REAR_R motor[1] = PIDMIX(-1,-1,+1); //FRONT_R motor[2] = PIDMIX(+1,+1,+1); //REAR_L motor[3] = PIDMIX(+1...
by doughboy
Sun Sep 16, 2012 5:37 pm
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

one motor less power

Basics on trim. When you move a trim in one direction it has the opposite effect on the other side, i.e. left motor low, right motor high, trim to reduce high motor will also increase left motor so that they will both match at one point I did try this and seems easier said than done because speed i...
by doughboy
Sun Sep 16, 2012 5:29 pm
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

one motor less power

This info should be in sticky or wiki documentation. If I am not mistaken, I don't see an option to turn on pass thru mode anymore in 2.1, so in flight calibration is not possible? I just checked the code, #if defined(FIXEDWING) || defined(HELICOPTER) BOXPASSTHRU, #endif as such passthru option is a...
by doughboy
Sun Sep 16, 2012 10:46 am
Forum: General discussions
Topic: one motor less power
Replies: 48
Views: 6222

one motor less power

What exactly do you mean by flying hands off? Also, how exactly do you make the motors all have the same power using trims? I also have this problem, and seems like many others do also, so it seems to be a software issue. Let's just use the example here. Only the rear left motor is low. How do you t...
by doughboy
Fri Sep 14, 2012 6:31 pm
Forum: Getting Started - MultiWii config and setup
Topic: telemetry with Xbee
Replies: 48
Views: 8694

Re: telemetry with Xbee

viewtopic.php?f=7&t=1364

I'm sure it can be done. I'll experiment with it some more as I want to use my xbee.
by doughboy
Fri Sep 14, 2012 3:57 pm
Forum: Getting Started - MultiWii config and setup
Topic: calibrating transmitter
Replies: 4
Views: 918

calibrating transmitter

Someone listed instructions on making the sticks go exactly from 1000 to 2000 and 1500 midway as displayed in multiwii configuration software or win GUI.. That's the instructions I am looking for. Open9x is same as er9x, I like the user interface a little better.
by doughboy
Fri Sep 14, 2012 8:48 am
Forum: Getting Started - MultiWii config and setup
Topic: calibrating transmitter
Replies: 4
Views: 918

calibrating transmitter

I saw a post here a few days ago detailing steps on how to calibrate transmitter with multiwii but can't seem to find it now. can anyone help me find that post or a link to steps on calibrating transmitter? I am using turnigy9x flashed with open9x firmware.

thanks
by doughboy
Thu Sep 13, 2012 8:27 pm
Forum: Connecting elements
Topic: When Tilt front , Roll goes left ?!?!
Replies: 10
Views: 1274

Re: When Tilt front , Roll goes left ?!?!

I use the exact same sensor. I incorrectly set it so Y arrow is pointing to front. I think you are correct to make the X arrow point to the front. I had to switch the X and Y in the sensor orientation define to make pitch and roll as shown in win-gui right. I think X arrow points to the front, and t...
by doughboy
Thu Sep 13, 2012 2:22 pm
Forum: Shields, boards and sensors
Topic: HobbyKing MultiWii SE v2.0 FC. (I am a newbie to MultiWii)
Replies: 25
Views: 14898

HobbyKing MultiWii SE v2.0 FC. (I am a newbie to MultiWii)

You can download the original firmware as a .hex file using AvrDude program. That is what arduino software uses to upload new firmware then "download" it again to verify. Search the Arduino forum for exact command option to use. It's a good idea to save the original firmware as you mention...
by doughboy
Wed Sep 12, 2012 9:11 pm
Forum: Getting Started - MultiWii config and setup
Topic: telemetry with Xbee
Replies: 48
Views: 8694

Re: telemetry with Xbee

I tested xbee on multiwii yesterday and could not get it to work as well xbee works on arduino as is, even without using software serial. I have been using xbee on my aeroquad board and it works fine. I know they set baud rate on the arduino to 111111 but keep it at 115200 on the configurator. So I ...
by doughboy
Tue Sep 11, 2012 7:42 pm
Forum: Getting Started - MultiWii config and setup
Topic: telemetry with Xbee
Replies: 48
Views: 8694

Re: telemetry with Xbee

first, make sure your xbee is working by running the range text in xctu. use 115200 baud rate if it is not already set to that baud rate.
then it should work transparently (as if it is a wired conneciton) when you hook it up to the FC.
by doughboy
Tue Sep 04, 2012 8:05 pm
Forum: Software development
Topic: Patch: LED Flasher
Replies: 35
Views: 10683

Re: Patch: LED Flasher

what LED light do you use for the flasher?

thanks
by doughboy
Tue Sep 04, 2012 7:04 pm
Forum: ESCs, propellers , servos and radios
Topic: Has anyone used these cheap HK ESCs?
Replies: 3
Views: 905

Re: Has anyone used these cheap HK ESCs?

reply may be late, but if you get the hk esc that says "card programmable", they are exactly the same as turnigy plush esc. they cost a little more than the SS non programmable one, but less than getting the original turnigy plush.
by doughboy
Tue Sep 04, 2012 5:50 pm
Forum: Frames
Topic: my X525 frame
Replies: 6
Views: 3245

Re: my X525 frame

that's quite creative.

did you just use double sided tape to mount the motor?