LibrePilot Forum
General Category => General Discussion => Topic started by: mihai.arald on May 29, 2017, 06:53:39 am
-
Hello guys, since i'm new to this forum, please excuse me if i post this in the wrong thread.
I'm currently trying to do the PIDs on my Eachine Racer 250 with the FlySky I6.On LibrePilot, after i set my quadcopter and go to Transmitter settings, i assign the Accesory 0 and Accesory 1 to VRA and VRB(the 2 potentiometers) to CH5 and CH6. I also assign CH5 and CH6 to VRA and VRB on the transmitter itself.
When i try to configure TxPID, after i check the box and plug out lipo and usb cable and replug them back, in the Stabilisation Tab, when i move the pots for VRA and VRB it is suppose to change the values for PIDs, but it is NOT doing anything.
GUys, could you please help me figure this out or to send me some pids for stable flight please, i would appreciate that very much.
-
Two things I recall:
- you must reboot the FC after enabling the module
- there are things on down the page that keep it from running, like it must be armed and throttle must be above some percentage
-
Did you look here ?
https://librepilot.atlassian.net/wiki/display/LPDOC/EasyTune
or to send me some pids for stable flight please, i would appreciate that very much.
Tools > Export / Import vehicle template > Import template tab
(https://forum.librepilot.org/index.php?action=dlattach;topic=3494.0;attach=6084)
-
Hello and thank you for your reply, i did restart the FC after enabling the TxPID checkbox, i did check some box which sayd "Always" as in always do the TxPID modifications wether the quad is armed or not.Are there any other settings i should know about?
-
Post your config file:
File > Export UAV settings while the board is connected
Is the receiver powered ?
Do you see Accessory0 and 1 moving in Input tab ?
-
The receiver is powered on, i can see the sticks and the pots movin and i followed the easytune instruction in that picture and i've selected the Racer250 model in vehicle setup wizard.I'll send to you in 30 min the config file.Thanks a lot.
-
Here are the settings exported from LibrePilot, do you have also some starting PIDs, with the stock PIDs is has some weird minor oscillations.Thank you.
-
Tools > Export / Import vehicle template > Import template tab
Will import some PID already tested with your model if your select the Eachine Racer and hit the Import button
-
I know that but, with the stock PIDs (that come with the model shown in LibrePilot) i get some oscillations.I was thinking that i could tune them "on the run" if i had managed to get EasyTune runnning.
-
Some comments about your config file:
- TxPID module is not enabled and configured so if didn't work, that normal.
- Because the PWM as input you cannot use Accessory0 and 1 at same time (only one accessory left with PWM input6)
This mean you need to fine tune the Pitch with "EasyTuneRatePitch", land and change Txpid config to "EasyTuneRateRoll"
https://librepilot.atlassian.net/wiki/display/LPDOC/EasyTune
-
Okay, so if i choose PPM will i be able to use VRA and VRB to tune my pitch and roll at the same time using CH5 and CH6? I will come back this evening with an update.Thanks.
-
If you set PPM you can use all the accessory you want. This assumes your receiver can output PPM stream with only one wire using the Pin8 as input.
Look the pictures to the right column:
https://librepilot.atlassian.net/wiki/display/LPDOC/CC+Hardware+Configuration#CCHardwareConfiguration-ReceiverPort
PPM also allow you to configure the outputs as PWMSync and maybe show no oscillations with PID from template.
-
The FlySky I6 is PPM capable, i'll rewire everything later today and try once again and come back with a feedback.
-
The PPM capability depends on the Receiver you use, not the radio.
If you have the FS-iA6 receiver, no PPM output
FS-iA6B receiver will allow PPM output
In all cases not sure the radio FlySky I6 will output more than 6 channels.
-
It is the FS-iA6B receiver.
-
Hy guys, i'm back with an update.
First of all, i bought this quad from a guy, he didn't fly it very often so he decided to sell it.when i bought it, i've flown it, very good, no oscillation whatsoever, nice fly, it had PPM configured.
As i got more and more fly time i've decided to tinker with the pids and the cc3d atom board.
I've tried several times to reconfigured it to PPM, when i get to the page with esc calibration, after i plug the battery they just beep normaly(they don't make that special sound), i press stop and they should do another special sound and they don't.And at the tab output calibration, when i move the slider the motors won't start.
I'm lost with this guys, i use cc3d atom.
-
What ESC signal protocol are you trying to use? There are some restrictions on using this with that on CC3D.
https://librepilot.atlassian.net/wiki/display/LPDOC/PWM%2C+PWMSync%2C+Oneshot+Output
-
I am trying to use PPM on the cc3d atom.As i said, i bought the quad from another guy and he had PPM wired, then i tried to reflash the board, to modify the pids to more aggresive ones, and now i can't seem to get ppm working again, only PWM .
I would like to use PPM in order to set the 2 pots from the FlySky 6ch transmitter with Easytune and modify the roll and pitch pids as i fly.
-
LP has some additional restrictions over OP when it comes to CC3D if it was previously working with OP. Details about the restrictions are scattered through the link I posted.
-
I've made a video with the problem with my Eachine Racer 250.
Currently i have a micro CC3D on it, i tried swapping the atom ioth this one, same issue.My ESCs are KingKong BLHeli 12A and the motors i don't know, some 2300kv i think.
What do you think guys, maybe it's an ESC problem?
Video link:
https://youtu.be/WoTzIQTFLvM
Thank you.
-
"I already updated&erased the board"
Really ?
How about the config alarm and input/outputs already configured ?
(https://forum.librepilot.org/index.php?action=dlattach;topic=3494.0;attach=6097)
Try using the vehicle wizard from scratch.
Reflash Esc with BLHeli firmware and check if PWM calibration is enabled.
-
How can i reflash with BLheli i saw some video with bl heli and cleanflight or betaflight.Should i install those softwares also?
-
Google for BLHeliSuite. Download and use it.
This looks like a good description that I found with Google...
http://dronehitech.com/en/blheli-passthrough-easy-esc-flashing/
It used to be that you couldn't flash new firmware on BLHeli ESCs unless they were running a SimonK bootloader. I understand that has changed, maybe in early 2016, so it depends on how old your BLHeli firmware is as to whether you can flash through the servo connector or whether you must cut the heat shrink to get to the flashing connections.
You will need a way of connecting your USB port to the ESC. I use an Arduino with an Arduino sketch that is designed to do this. I understand that CleanFlight, etc allow you to use your FC for this, but beware that changing FC firmwares back and forth will trip you up the first time you do it. Perhaps better yet, I understand there is a developer (@mr_w?) that has done this "BLHeli Passthrough" for LP code. If you use his code you won't have to switch firmwares / bootloaders and that can avoid some big learning headaches. I don't know much more about it.
I like the Arduino because I can put code on it to use it for any of several different tasks: SimonK flashing via servo connector, BLHeli flashing/settings via servo connector, BLHeli flashing via internal flashing connection (must use this to update old firmwares).
If you need to cut the heat shrink and you know where the flashing connections are, you can just cut 3 sides of a little flap and not remove the whole heat shrink. Of course removing the heat shrink means you must buy new heat shrink of the correct size and maybe wait for delivery. You might find a picture of the ESC with the heat shrink off if you Google.