LibrePilot Forum

General Category => General Discussion => Topic started by: Francis on June 13, 2018, 07:05:45 pm

Title: Problem with the engines speed
Post by: Francis on June 13, 2018, 07:05:45 pm
Hi! I´m working with my cc3d and an Arduino. I´m using a potentiometers to simulate the radio controllers sticks. I use a 50Hz PWM with a duty from 1 to 2 ms. The neutral is in 1.5ms of duty. The problem that I have is that the cuadcopter stars when you reach over 1500, and with this duty the motors go too fast and I can´t make them go slower. Because if I go down 1500 they turn off. I tried to set the minimum over 1000 but the librepilot doesn´t allow it. It´s the same if I try to lower the maximum. I wanna know how to make them star slow and then regulate their speed. 
Title: Re: Problem with the engines speed
Post by: TheOtherCliff on June 14, 2018, 02:08:01 am
Talking about Min/Neutral/Max.  Throttle/Thrust Neutral on Input page should be about 1040 (as I recall) if Min is 1000.  On Output page, Each motor Neutral should be about 20 (can be less, but this is good) above the speed that that motor starts to spin, so probably about 1080 for several common protocols.

This is your problem.  Correct it and the problem is fixed.  :)
Title: Re: Problem with the engines speed
Post by: Seven5555 on June 19, 2018, 10:06:03 pm
I'm having a similar problem. The motors are stopped when I arm but are full on when I add a little throttle. I'm having this problem with a hex and a quad. The neural point is set right in the output tab. They are at 1065 and gradually speed up but with the transmitter its all or nothing. Its uncontrollable and flips over every time I try to fly.  How do I get it to gradually speed up?
Title: Re: Problem with the engines speed
Post by: TheOtherCliff on June 20, 2018, 12:47:46 am
Both Input and Output pages must be correct.

Throttle/Thrust Neutral on Input page should be about 1040 (as I recall) if Min is 1000.
Title: Re: Problem with the engines speed
Post by: Seven5555 on June 20, 2018, 06:21:18 am
this is what i have.  Please tell me what I need to adjust. I appreciate you help. setup like this, it is full on when i bearly add throttle
Title: Re: Problem with the engines speed
Post by: Seven5555 on June 20, 2018, 06:38:03 am
i adjusted the update rate from 490 down to 270 and same thing. I arm it and as soon as the motors get signal from the throttle, they are full on and it flips over.
Title: Re: Problem with the engines speed
Post by: TheOtherCliff on June 20, 2018, 07:10:32 am
i adjusted the update rate from 490 down to 270 and same thing. I arm it and as soon as the motors get signal from the throttle, they are full on and it flips over.

That is a stabilization issue.  You have one of:
- FC not mounted arrow forward (ESC / servo connection on righthand side)
- Motors / props not in exact direction as pictured on Vehicle page
- Wrong prop somewhere that blows upward, not downward
- ESCs not plugged in the exact order as on Vehicle page NW=#1, NE=#2, SE=#3 SW=#4

Also make sure that Stabilization->ZeroTheIntegral... is ENABLED.

Or you have adjusted something, maybe thinking it was wrong.
Title: Re: Problem with the engines speed
Post by: Seven5555 on June 20, 2018, 06:13:00 pm
ok the props are in the right plases and spinning the correct diurect but the board orientation is wrong. Is there a way to change that without removing it?

also the zero integral box was not checked. will that help with it going full speed when i give a little throttle?

Thank you very much for the  help
Title: Re: Problem with the engines speed
Post by: Seven5555 on June 20, 2018, 08:31:40 pm
ok it flys but it takes off and falls while trying to hover. Like there's no happy medium. I wish I could get it to gradually throttle up and fly level. its way better than it was. thank you.
Title: Re: Problem with the engines speed
Post by: TheOtherCliff on June 21, 2018, 03:19:25 am
Did you set RotateVirtual... to compensate for the board installation rotation?  You must do this.

Falls while trying to hover sounds like a bad or low battery.  LiPos are very susceptible to damage if discharged too much.

Or wrong prop;  What is motor size and KV and what size prop are you using.  For 2212 (stator size) KV1000 motors (very common) you won't go wrong with a 10x4.[57] prop.