RC India

RC Equipments => Servos, Gyros and All Electronics => Topic started by: Darshan for multirotors on April 02, 2016, 05:19:55 PM



Title: Need Help With the MultiWii Board
Post by: Darshan for multirotors on April 02, 2016, 05:19:55 PM
Hello,
Its been a lot of time and now that my exam is over, I finally decided to come back to my multiwii board to see if it works before I get sick of it and throw it in the bin.
I need a bit help from you guys. I brought this -->  http://www.ebay.in/itm/M312-FT232RL-3-3V-5V-FTDI-USB-to-TTL-Converter-Adapter-Module-for-Arduino-/111937092109?hash=item1a0ff87a0d:g:gr0AAOSwZ8ZW5~14
Now I downloaded the driver and the programmer comes in the device manager under the ports section with the name "USB Serial Port".
When I upload the multiwii program to the board, this error message comes up  -->
Arduino: 1.6.8 (Windows 8), Board: "Arduino Mini, ATmega328"

Sketch uses 12,876 bytes (44%) of program storage space. Maximum is 28,672 bytes.
Global variables use 1,046 bytes (51%) of dynamic memory, leaving 1,002 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xbb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xbb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xbb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xbb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xbb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xbb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xbb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xbb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xbb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xbb
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


I need help in this matter. The board blinks rapidly when I connect the ft232rl to the PC.
I am attaching a pic regarding it. Please see it. Thanks


Title: Re: Need Help With the MultiWii Board
Post by: Balakrishna Reddy on April 02, 2016, 10:12:16 PM
Try to do changing board type to pro mini 328 with 16mhz sometimes there may be problem with wrong board type.


Title: Re: Need Help With the MultiWii Board
Post by: Darshan for multirotors on April 03, 2016, 07:38:27 AM
The board that I have selected IS pro mini 328. The  programmer runs perfectly in gui but while uploading, it shows this error.. What do do? ???


Title: Re: Need Help With the MultiWii Board
Post by: Darshan for multirotors on April 03, 2016, 09:45:11 AM
I got it! I uploaded the bootloader and it was able to upload. Then I calibrated my escs using the multiwii but only one motor starts after calibration and that too at 90% throttle. Can somebody help me figure this out


Title: Re: Need Help With the MultiWii Board
Post by: SK1701 on April 03, 2016, 10:17:20 AM
Which ESCs are they? Did you get the confirmation beeps while calibrating?


Title: Re: Need Help With the MultiWii Board
Post by: Darshan for multirotors on April 03, 2016, 10:32:48 AM
These are simon series simon k escs. There are a few beeps but according to this video(https://www.youtube.com/watch?v=eA8jjCqbKZY), the motors should start spinning but the dont... But I do get some beeps


Title: Re: Need Help With the MultiWii Board
Post by: Balakrishna Reddy on April 03, 2016, 12:05:19 PM
Dont calibrate your esc's with multiwii, but calibrate connecting them to receiver all to single pin of receiver, throttle pin is preferable.
Now try to once again connect to multiwii and check once again.


Title: Re: Need Help With the MultiWii Board
Post by: Darshan for multirotors on April 03, 2016, 12:10:26 PM
I tried both. It doesnt work. In the GUI, all motors have different values at mid throttle.. What to do? ???


Title: Re: Need Help With the MultiWii Board
Post by: Balakrishna Reddy on April 03, 2016, 01:03:49 PM
does all your motors start after increasing throttle?


Title: Re: Need Help With the MultiWii Board
Post by: Darshan for multirotors on April 03, 2016, 01:12:39 PM
No. Thats what the problem is.. I am attaching a pic of full throttle in GUI..


Title: Re: Need Help With the MultiWii Board
Post by: Balakrishna Reddy on April 03, 2016, 01:18:39 PM
This is not a problem when flyingy our quad. Try to tilt you Flight controller FC then you observe the outputs you will notice that they tend to change.
When you suddenly yaw it, it will try to correct it similarly with pitch and roll axis also.
When I first started playing with MW I had similar confusion but on field when it will be correct and your quad flies really well without any problem.


Title: Re: Need Help With the MultiWii Board
Post by: Darshan for multirotors on April 03, 2016, 01:47:54 PM
It is not calibrated! One motor runs at 1428 and one runs at 2000. Even if I tilt it, it wont make much difference. And this is full throttle values...


Title: Re: Need Help With the MultiWii Board
Post by: Balakrishna Reddy on April 03, 2016, 02:01:34 PM
I see the sticks are not centred to 1500 they show different values other than 1500. First check that all sticks are centred to 1500 then try to throttle up.
Which Tx are you using. Is it FS-Ct6B?


Title: Re: Need Help With the MultiWii Board
Post by: Darshan for multirotors on April 03, 2016, 02:06:35 PM
Its fst4b. Its a basic 4 ch controller. I will upgrade to turnigy 9x after I am able to fly this well.
How to center sticks in multiwii. I know how to do it in kk 5.5 board but I dont know how to do in multiwii.


Title: Re: Need Help With the MultiWii Board
Post by: Balakrishna Reddy on April 03, 2016, 04:17:05 PM
Is that default in you tx with outputs higher than 1500 even when stick inputs are centred then connect your tx to pc and set adjust settings such that when they are centred the output is 1500.
When you open it and connect your tx the rest of the things are self explanatory.
you can download it from http://www.rcyachts.com/KitInfo/T6Confg/T6Config.htm
Hope you have a connector from tx to pc.


Title: Re: Need Help With the MultiWii Board
Post by: Darshan for multirotors on April 03, 2016, 04:25:16 PM
I dont have a connector from tx to pc :( Any other way to do it?


Title: Re: Need Help With the MultiWii Board
Post by: Balakrishna Reddy on April 03, 2016, 04:34:26 PM
Did you try to trim gimbals to as close to 1500 using buttons near gimbals.


Title: Re: Need Help With the MultiWii Board
Post by: Darshan for multirotors on April 03, 2016, 04:47:13 PM
Yes I did that. At MINTHROTTLE in code, I PUT IN 800 and trim to about middle and it reached 1480-1490. But now I have another problem.. One motor is constantly jittering instead of spinning freely. No loose connection, no dust or anything stuck, no problem with motor cause it can be spun by hand easily without breaks. I dont think motor is a problem. Esc might be one. I will try to sort this problem out first


Title: Re: Need Help With the MultiWii Board
Post by: Balakrishna Reddy on April 03, 2016, 04:56:32 PM
Once check if there is any problem with motor try connecting them to receiver directly. If they work then motors are fine. Problem with MW FC
Put min throttle to a value where your motors just start not to spin too fast or at stall. It should be at low speed thats it don't let it be at 800.
Min throttle means the throttle after arming motors.So take care that they rotate when armed.


Title: Re: Need Help With the MultiWii Board
Post by: Darshan for multirotors on April 03, 2016, 04:59:05 PM
Its getting stuck when I connect it to the rx. I am totally confused ??? Cant find the error cause the motor worked till yesterday and today suddenly......


Title: Re: Need Help With the MultiWii Board
Post by: Balakrishna Reddy on April 03, 2016, 05:07:08 PM
See sometimes it happens mainly with that tx because sticks doesn't return back to centre and so we cant even arm properly such that yaw come back to 1500. Now explain all your problems what you have now.


Title: Re: Need Help With the MultiWii Board
Post by: Darshan for multirotors on April 03, 2016, 05:20:43 PM
Okay so now I have 2 problems -->
1) First priority is the jittering motor. No problem at all with the motor, windings, bearings, connections. Esc also looks to be fine as it worked earlier. Not sure but I think that esc is the culprit.
2) Motors are not starting at same time. When I fix my motor, I will try calibrating again. If it doesn't work, I would probably do some changes to MINTHROTTLE and MAXTHROTTLE in the code to try to get it to work.


Title: Re: Need Help With the MultiWii Board
Post by: Balakrishna Reddy on April 03, 2016, 05:27:30 PM
First confirm whether the problem is with ESC/motor
Next change min throttle to around 1050(not sure) try it.
Trim all tx channels as close to 1500 except throttle.
When arming make sure you bring yaw input back to 1500.
Motors need not start at same point but they may get corrected by FC during flight if all the remaining inputs are at 1500 only
Max throttle for safety keep at low as ~1850 timely later you can modify when you have no problems.
I think this will solve most of the issues.