LibrePilot Forum

General Category => General Discussion => Topic started by: Tonylong1212 on January 06, 2017, 04:02:17 am

Title: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: Tonylong1212 on January 06, 2017, 04:02:17 am
Can anybody help out with an issue I'm having with my cc3d and blheli 16a esc with an fs ia6b? I get through config and calibrate my esc's and it all works fine. I then do the tx setup with pwm and it connects. But once I connect to fly, it seems to power to almost full throttle with any stick given at all. Also I can't figure out how to set up ibus for fsia6b and cc3d. Any help with this would be greatly appreciated.
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: TheOtherCliff on January 06, 2017, 04:07:00 am
Carefully test it with GCS -> config -> output -> test outputs.

If it acts correctly there (low power is low) then you probably have "invisible oscillations" and need to reduce your PID (D term mainly).

If it jumps up there, or your motor min/neutral/max's aren't somewhere around 1000/1064/1900 then you need to recalibrate your ESCs and re-set your motor neutrals.  I would recommend using PWMSync instead of OneShot till you get it working too.
https://librepilot.atlassian.net/wiki/display/LPDOC/ESC+Calibration
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: TheOtherCliff on January 06, 2017, 04:11:17 am
One other thing that can cause the jump up is out of balance props.  It usually causes a roll/pitch though, not all motors higher.
Perhaps you could post a video so we can see what it is doing?
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: Tonylong1212 on January 06, 2017, 04:32:32 am
I will post a video in the morning, I am using pwm mode when that is happening, I get my escs calibrated and the values are all good. Something happens in the rx though. It seems my values act really strange and move a bit on their own. In the program it says it's all working as far as I can tell. So with pwm it does the high throttle right away.
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: Tonylong1212 on January 06, 2017, 04:37:39 am
Thank you very much also, I'm very new to this
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: Tonylong1212 on January 06, 2017, 05:00:10 am
Would you possibly be able to explain a step by step for setting up blheli16a with cc3d fresh outa the box?
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: TheOtherCliff on January 06, 2017, 06:05:53 am
What were the results of the "test outputs"?
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: Tonylong1212 on January 06, 2017, 07:24:23 am
They set up properly, all 4 are spinning consistent at 1030
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: Tonylong1212 on January 06, 2017, 07:28:43 am
Also, since I've started trying to use these blheli esc's my cc3d won't power on from anything but the USB port. That is for both, the cc3d with 15a blheli esc's and fs-ia6b and my cc3d mini with 16a blheli esc's and fs-ia6. Both with pwm. Any thoughts as to why that would be?
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: hwh on January 06, 2017, 08:54:31 am
Are you talking about DYS BL15A and 16A ESCs?   If you are they're OPTO ESCs, they don't provide power for the flight controller. 

Any ESC with only two wires going to the FC doesn't provide power.  You'd need something else with a 5v BEC on it like a PDB.
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: Tonylong1212 on January 07, 2017, 01:50:16 am
Yes, Rw.rc opto blheli 16a esc, those are what I'm using with fs-ia6b pwm mode. When I plug in ubec to cc3d pins it doesn't power the cc3d on but it powers on the reciever through the cc3d. Also, what do I have to do exactly to get the esc's to run properly with cc3d that came from factory. Can you make a to do list of every step needed after opening the package on the esc's and the cc3d. So can you take these esc's new from factory and plug them in to the cc3d and go? Or do you have to do any extra steps before hand. I get through the vehicle setup and tx setup and the throttle seems to be on wide open after moving the stick up a little . And the esc's are all set at 1030 in setup wizard.
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: Tonylong1212 on January 07, 2017, 07:11:06 pm
Any thoughts?
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: hawkview on January 07, 2017, 07:41:52 pm
Sounds like they need calibration,Have you calibrated the ESC? In the wizard? Which ESC in wizard have you chosen pwm or one short?
You will need the battery connected to calibrated ESC in wizard, if blheli ESC you could connect them to blheli suite and you can set throttle points and direction there for the motor.
I do every thing through the wizard in gcs
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: Tonylong1212 on January 07, 2017, 10:12:01 pm
Yes I've calabrated them through wizard, it seems like I really have to adjust my throttle setting too much for it to act ok enough for me to get it in the air. And it has allot of issues when it is in the air. It seems like it's trying too hard or too little to correct itself. And when I initially give it throttle it has allot of weird movement and motor inconsistencies until it's off the ground.
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: dereelmatts on January 08, 2017, 02:35:38 am
<----I have the same problem

STATUS OF PROBLEM: ONGOING...No Solution

Okay let me explain what happens and all my trials/errors (no I haven't fixed it).

First off I'm using these parts (below is a list of contributing factors/parts)
Running ppm (1 cable)
x1 Realacc PDB-XPW 5V 12V Dual BEC PDB Built-in 150A Current Sensor with XT60PW Socket  <----------------------Important               Not a Factor
x1 Revolution Mini (Flight Controller Running Newest Librepilot) <-------------------------------------------------------Important
x1 ZMR250 V2 PCB Frame Kit Carbon Fiber With LED Board NOT USING THIS PCB                                                                         Not a Factor
x4 DYS XM Seris opto XM30A BLHeli mini 30A ESC For High KV Power Electronic Speed Controller  <-------------------------Important

Input voltage: 3-6s Lipo; BEC: NO; Signal frequency: 20-500Hz/ Oneshot125 Ultra high speed; Firmware: BLHeli 14.4<---------------Important

x4 DYS MR2205 2700kv Brushless Motor For Multicopter FPV Racer Quadcopter             Not a Factor
x4 KINGKONG 5040 Propellers CW & CCW 10 Pairs For QAV250 RC Multirotors              Not a Factor
x1 4s 1300mah turnigy graphine (although I use a 3s for testing sometimes)                 Not a Factor


Setup following Painless360's youtube tutorials
(https://www.youtube.com/watch?v=p1EhSYNa0pM&index=4&list=LLg8CO_hWrM5U9K6vtzvgG2w (https://www.youtube.com/watch?v=p1EhSYNa0pM&index=4&list=LLg8CO_hWrM5U9K6vtzvgG2w))


Okay so to let you know, I did calibrate all the esc's in both the librepilot and even separately (got the same calibration) and the motors run fine when testing in the program. The transmitter is also setup perfectly and no problems there. (Oh and I calibrated the flight controller multiple times after different trials and errors)

Problem: When trying to take off/ control the motors without a connection to the pc there is a few problems
#1: I arm the copter just fine and move the throttle to ~10% (very low) to see the motors spool up, but the motors will go to full power (sometimes falling back down to 10% only to spike back up). Keep in mind this is with little throttle input. Maybe it is the copter trying to self right on the ground, but this is also not the case.
If I put props on and hold it, when I apply 10% throttle it tries to go 100% and fly away all while yawing, rolling, and pitching every which way.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Things I've Tried To Isolate the Problem:
It is definitely not the pcd (I have checked connections, and even tried without a pcb).
Not the motors
Not the battery
I tried grounding the esc's (the revolution mini cables only uses the signal wire, leaving off the ground. But doesn't matter cause even grounded still no good) (some esc's need to be grounded in order to boot up ((if your motors are continuously beeping as if no signal, try grounding. But for me this isnt a problem))
I not have disconnected everything but 1 motor/esc arm so it is easier to test. (find the problem with 1 I can fix the rest)
IMPORTANT: I hooked up an arm and the blheli esc just to the receiver (bypassing the flight controller) and it works GREAT (although no stabilization because of lack of flight controller making it more like a plane)
So this^ leads me to believe that the blheli esc's themselves are not the problem but maybe the compatibility between them and the flight controller.
In Librepilot I have tried all 3 esc types (regular, 490hz?, and what I have Oneshot125) still no fix.

My next step is to try a different (non Oneshot125) esc with librepilot and see if it behaves kinda normally. If it does then that means it is a compatibility issue between the esc and flight controller and/or librepilot. If it acts up then it is a problem with the software or Revo itself (NOT THE ESC) <-----------See update (hint: other esc work fine)

I'll try to post a video later (don't expect it)

------------------------------UPDATE-----------------------------------------
I wired up an old esc to the flight controller to see if that worked. Low and behold it did. So this means it is a problem between software compatibility. Im pretty sure there is nothing you can do with the flight controller to get these esc's in their current state to work. Next step is to look at the esc blheli software and try to change somethings.

Please has anyone got blhlei escs to work?
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: Tonylong1212 on January 08, 2017, 06:39:03 am
That sounds exactly the same. When you plug in your esc's do they beep three times only once? i had mine hooked up to 12a esc's with bec before I bought the blheli opto 15a and it worked perfectly. how are you calibrating your esc's individually?
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: dereelmatts on January 08, 2017, 08:04:00 am
The esc's beep correctly I believe. This is the patern: ..._.     (. being short beep and _ being long beep)
They all beep together. Also I calibrate it in librepilot and it all works great under calibration but only then.

I also tried calibrating each esc individually without the flight controller (hooked it directly to the esc as if it was a rc plane.) and the esc's calibrated the same way and there was no difference. But I did notice that the escs act normal when not connected to the revolution flight controller. So it must be a compatibility issue b/t the esc and flight controller.

My next hope is to use the blheli software to look at the esc software and see if I can work something out.
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: TheOtherCliff on January 08, 2017, 10:00:21 am
I bought some cheap SImonK ESCs on eBay one time that were almost uncontrollably jumpy.  The quad would jump up and sometimes I would even have to stop the motors and let it fall to get it lower to the ground.

I finally figured out that it was the ESCs because the problem went away when I flashed them with the latest SimonK.

My procedure now is that I always update the ESC firmware before even using them for one flight.  I buy $3.50 SimonK ESCs and they work well for me with this extra work.
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: Tonylong1212 on January 08, 2017, 06:03:41 pm
How should I go about updating these blheli opto's? And is it possible to post a video on here? I want to post one so you can see first hand from start to finish, and see if maybe you have other thoughts
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: dereelmatts on January 08, 2017, 08:28:28 pm
Yeah how do you update them, you cant use blhelisuite with librepilot I dont think.

All I got is a ftdi adapter and every connector imaginable.

I just ordered http://www.banggood.com/DYS-V2-USB-Linker-For-The-ESC-Programmer-To-Flash-BLHeli-Bootloader-p-1020339.html?rmmds=search (http://www.banggood.com/DYS-V2-USB-Linker-For-The-ESC-Programmer-To-Flash-BLHeli-Bootloader-p-1020339.html?rmmds=search) which will hopefully let me program the escs. Hopefully this works. Now to wait a month for it to get here from china. I'll keep you updated.
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: Tonylong1212 on January 09, 2017, 06:07:58 pm
These esc's and librepilot definitely have some compatibility issues. I turn mine on after properly setting up everything. Im using pwm fsia6 rx and the problem is that every time I give just enough throttle to power the motors it starts high on throttle and accels and decelerates at random. I will make a video as soon as possible and see if anyone has a possible solution. And yes, please keep me updated to any new finding and I will do the same. We WILL figure this out.
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: hwh on January 09, 2017, 08:00:33 pm
These esc's and librepilot definitely have some compatibility issues....

I just re-read this entire thread, there's not a single post that would indicate that.  In fact earlier you posted that they work:

They set up properly, all 4 are spinning consistent at 1030

It they work in the motor test there are no compatibility problems.

While all my ESCs are old and SimonK at least one of the other developers I just checked with has BLHeli ESCs on two of his quads with no problems.

Your problem sounds more like your settings in GCS are wrong.  Did you turn off "zero the integral when throttle is low"?
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: dereelmatts on January 10, 2017, 04:08:48 am
As im experiencing the same problem, I doubt it is a problem in the librepilot gui, but Im always open to suggestions. Although I feel as though ive tried almost everything. Maybe it is only certain blheli oneshot escs? I don't know. I do know that others have got them to work, but there is always the possibility these escs are updated or something. I just have to wait a few weeks to get the usb adapter to check.
Yes the motors and escs work in the motor test. But when you arm the copter and go to any amount of throttle the escs jump around from 100% and have no correlation to your throttle input. Although if you do try banking or yawing it might slow them down a little.
So far no fix :( I have given up until the usb flasher comes in.

These esc's and librepilot definitely have some compatibility issues....

I just re-read this entire thread, there's not a single post that would indicate that.  In fact earlier you posted that they work:

They set up properly, all 4 are spinning consistent at 1030

It they work in the motor test there are no compatibility problems.

While all my ESCs are old and SimonK at least one of the other developers I just checked with has BLHeli ESCs on two of his quads with no problems.

Your problem sounds more like your settings in GCS are wrong.  Did you turn off "zero the integral when throttle is low"?
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: TheOtherCliff on January 10, 2017, 04:41:24 am
I would:
- flash the latest ESC firmware
- set to use PWMSync
- calibrate ESCs and set ESC neutrals according to wiki

Have you done all that?

What motors and props are you using?
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: dereelmatts on January 18, 2017, 12:26:18 am
Guess What? I THINK I FIXED IT


Im literally working on it now, I can't say much but I bought this usb programmer http://www.banggood.com/DYS-V2-USB-Linker-For-The-ESC-Programmer-To-Flash-BLHeli-Bootloader-p-1020339.html?rmmds=myorder (paid $1 for faster shipping and came in like 10 days.

The programmer presented it's own problems but I got it connected to the escs and flashed them with the newest blheli and they dont seem to have the problem any more. Ive only flashed 1 so dont take my word on it but lets hope!
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: TheOtherCliff on January 18, 2017, 07:57:20 pm
Having run into SimonK and BLHeli ESC firmware issues before (the firmware that came on them), I always flash the latest without even test flying what came on it.  Of course I test before flashing, so I can return them if they are defective.

I think that is why these eBay 30A SimonK's are only $3.34 (shipped) each.  I bought some and flashed the latest (using BLHeliSuite and an Arduino that was flashed to be a serial programmer) and they work fine.
http://www.ebay.com/itm/30AMP-30A-SimonK-Firmware-Brushless-ESC-w-3A-5V-BEC-for-RC-Quad-Multi-Copter-V4-/292001619516?hash=item43fca71e3c:g:FAEAAOSw9GhYfILN
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: dereelmatts on January 19, 2017, 08:33:53 pm
Okay so here is what I did.... THAT WORKED

I bought this flasher http://www.banggood.com/DYS-V2-USB-Linker-For-The-ESC-Programmer-To-Flash-BLHeli-Bootloader-p-1020339.html?rmmds=myorder (http://www.banggood.com/DYS-V2-USB-Linker-For-The-ESC-Programmer-To-Flash-BLHeli-Bootloader-p-1020339.html?rmmds=myorder)
says it works for my escs, not sure about others.

I downloaded the newest blhelisuite https://blhelisuite.wordpress.com/ (https://blhelisuite.wordpress.com/) (https://www.mediafire.com/folder/dx6kfaasyo24l/BLHeliSuite (https://www.mediafire.com/folder/dx6kfaasyo24l/BLHeliSuite))

You are suppose to connect the signal wire and ground wire (guess you do need the ground wire fml gotta solder them back on...)to the usb bootloader (I heard not to connect the red power lead if you have a bec esc.

Once you are connected you power up the esc and plug everything in to the pc (order doesnt matter)
Now you go to blhelisuite and with this bootloader go to "Select Atmel/Silabs Interface" and Click  option 1 Atmel Blheli Bootloader (USB/COM)
Many bootloaders apparently use option 4 (maybe 5) but this one NEEDS option 1 (not a).
Now at the very bottom of the program select the com port (it should have a name) and leave the baud rate (I think it is 19200)
Now making sure the esc is powered up click connect and it should take max 10sec. It might show a popup telling you to power on the esc so make sure it is powered up and the wires are correctly plugged into the bootloader.
Then it should connect, MAKE SURE TO CLICK READ to load your default settings.
Then next to com click flashblheli and select the closest software (and the newest one) my esc had 14.4 and I flashed 14.9
Although I have 30a esc I flashed the 20a software (it doesnt matter) just find the most similar esc.
Now click save and change any settings then unplug and repeat for all other escs.


This fixed my problems, but I also noticed that without props on the motors still spool up a little at low throttle, this is the copter trying to stabilize and find out what is level (without props the motor will keep increasing usually) so I threw my props on and trusted it and boom, it works.
Title: Re: Cc3d with 16a blheli opto esc fs-ia6-ia6b
Post by: TheOtherCliff on January 19, 2017, 10:58:47 pm
After flashing you should test with a current limited power supply in case you used the wrong firmware.  You can flash the correct firmware without burning up the ESC.

Also after flashing you should redo ESC calibration and ESC neutrals.  This may not be required with a minor change in firmware version number though.