Posts: 7 Threads: 1 Likes Received: 0 in 0 posts Likes Given: 8 Joined: Jun 2019 Reputation: 0 Hi guys, i'm actually building a drone for a school project, but i am stuck since i have a problem with my motors. Actually the are going at different speed when i increase the power and it's impossible for me to balance the drone. One of the 4 motor for example seems to be twice as faster than the others at the same amount of given power. Things i have already tried: - The propellers are set up correctly: CW for CW motors etc... - The motors are running at their correct direction - Changing battery - Calibrate them: actually i calibrate them by powering on the drone, give the 4 motors the maximum output (2000) and then the minimum (1000). I also tried by calibrating each one of them separately - Running a motor at a time Actually i'm using: -ESC: crazepony DYS DS 30A BLHeli -Motor: crazepony DX2205 2300KV I'm pretty sure it's not a communication since to send commands i use a bluetooth receiver. Can it be that the motors or the esc are faulty? They were pretty cheap and i'm really running out of ideas • Posts: 21,203 Threads: 583 Likes Received: 8,941 in 6,616 posts Likes Given: 1,425 Joined: Jun 2018 Reputation: 786 I guess the first question has to be what flight controller and firmware are you running on this setup? Posts: 12,099 Threads: 125 Likes Received: 3,739 in 2,836 posts Likes Given: 99 Joined: Feb 2017 Reputation: 388 Is your quad flipping on take off? Have you checked FC orientation? Posts: 1,013 Threads: 11 Likes Received: 452 in 349 posts Likes Given: 372 Joined: Dec 2017 Reputation: 16 Quote - "Calibrate them: actually i calibrate them by powering on the drone, give the 4 motors the maximum output (2000) and then the minimum (1000). I also tried by calibrating each one of them separately" Calibration is done with throttle at maximum BEFORE you plug in a lipo. After the two beeps you then pull the throttle to minimum and you will hear a confirmation beep. The way you worded it doesn't sound like you did it this way. Just confirming Posts: 1,773 Threads: 30 Likes Received: 1,199 in 755 posts Likes Given: 714 Joined: Oct 2016 Reputation: 45 Change your ESC protocol to DShot600 (I'm assuming that as you're doing ESC calibration, that you're using Oneshot?) If the problem persists, it's probably a hardware issue Dude, where's my quad? Posts: 7 Threads: 1 Likes Received: 0 in 0 posts Likes Given: 8 Joined: Jun 2019 Reputation: 0 05-Jun-2019, 02:09 PM (This post was last modified: 05-Jun-2019, 02:09 PM by DragoSupremo.) (04-Jun-2019, 10:37 PM)SnowLeopardFPV Wrote: I guess the first question has to be what flight controller and firmware are you running on this setup? Actually i am using an Arduino Nano with a custom code for the balancement and the controls. I also tried to check if that could be a coding problem, but that shouldn't be the case because all the programme does is to calibrate it and then setting the power of the motor to 1050. • Posts: 7 Threads: 1 Likes Received: 0 in 0 posts Likes Given: 8 Joined: Jun 2019 Reputation: 0 (05-Jun-2019, 01:49 AM)Sugs Wrote: Quote - "Calibrate them: actually i calibrate them by powering on the drone, give the 4 motors the maximum output (2000) and then the minimum (1000). I also tried by calibrating each one of them separately" Calibration is done with throttle at maximum BEFORE you plug in a lipo. After the two beeps you then pull the throttle to minimum and you will hear a confirmation beep. The way you worded it doesn't sound like you did it this way. Just confirming Yea i also tried that but the motors are still running with different speed. I also tried calibrating them separately before connecting the lipo, but nothing changed. • Posts: 7 Threads: 1 Likes Received: 0 in 0 posts Likes Given: 8 Joined: Jun 2019 Reputation: 0 (05-Jun-2019, 01:25 AM)voodoo614 Wrote: Is your quad flipping on take off? Have you checked FC orientation? Yea the quad can't even take off actually, the gyroscope should be oriented correctly. The fact is that even with the gyroscope (and the PID) not active, which should mean motors running at the same speed, they are clearly going at different speed, also holding with my hands. • Posts: 21,203 Threads: 583 Likes Received: 8,941 in 6,616 posts Likes Given: 1,425 Joined: Jun 2018 Reputation: 786 (05-Jun-2019, 02:09 PM)DragoSupremo Wrote: Actually i am using an Arduino Nano with a custom code for the balancement and the controls. I also tried to check if that could be a coding problem, but that shouldn't be the case because all the programme does is to calibrate it and then setting the power of the motor to 1050. Your comment about Bluetooth communication gave me suspicions that you weren't running a STM32 / Betaflight equipped FC. I'm afraid I have no knowledge or experience of the setup you're using so am not going to be of any help to you. Sorry. Posts: 7 Threads: 1 Likes Received: 0 in 0 posts Likes Given: 8 Joined: Jun 2019 Reputation: 0 05-Jun-2019, 07:07 PM (This post was last modified: 05-Jun-2019, 07:08 PM by DragoSupremo.) (05-Jun-2019, 01:45 PM)RENOV8R Wrote: Change your ESC protocol to DShot600 (I'm assuming that as you're doing ESC calibration, that you're using Oneshot?) If the problem persists, it's probably a hardware issue Do i have to do that with a particular software or tool? (05-Jun-2019, 02:37 PM)SnowLeopardFPV Wrote: Your comment about Bluetooth communication gave me suspicions that you weren't running a STM32 / Betaflight equipped FC. I'm afraid I have no knowledge or experience of the setup you're using so am not going to be of any help to you. Sorry. Ok no problem thank you anyway for your time • Posts: 21,203 Threads: 583 Likes Received: 8,941 in 6,616 posts Likes Given: 1,425 Joined: Jun 2018 Reputation: 786 05-Jun-2019, 07:27 PM (This post was last modified: 05-Jun-2019, 07:27 PM by SnowLeopardFPV.) (05-Jun-2019, 07:07 PM)DragoSupremo Wrote: Do i have to do that with a particular software or tool? The flight controller software needs to be DSHOT capable. You don't say what software you're running on your Arduino but if it's the Multiwii software then even the latest version of that (v2.4) is too old to support the DSHOT protocol. Posts: 7 Threads: 1 Likes Received: 0 in 0 posts Likes Given: 8 Joined: Jun 2019 Reputation: 0 05-Jun-2019, 08:54 PM (This post was last modified: 05-Jun-2019, 08:57 PM by DragoSupremo.) (05-Jun-2019, 07:27 PM)SnowLeopardFPV Wrote: The flight controller software needs to be DSHOT capable. You don't say what software you're running on your Arduino but if it's the Multiwii software then even the latest version of that (v2.4) is too old to support the DSHOT protocol. Oh i see the ESC are signed as DSHOT so could that be the problem? I used the ONESHOT method so far so maybe i calibrated them incorrectly since now... The problem is that i can't find anything about controlling DSHOT escs with Arduino. If even Multiwiii doesen't support it could it be a good idea to change esc and use ONESHOT ones or connecting another flight controller to Arduino? • Posts: 21,203 Threads: 583 Likes Received: 8,941 in 6,616 posts Likes Given: 1,425 Joined: Jun 2018 Reputation: 786 05-Jun-2019, 09:13 PM (This post was last modified: 05-Jun-2019, 11:15 PM by SnowLeopardFPV.) (05-Jun-2019, 08:54 PM)DragoSupremo Wrote: Oh i see the ESC are signed as DSHOT so could that be the problem? I used the ONESHOT method so far so maybe i calibrated them incorrectly since now... The problem is that i can't find anything about controlling DSHOT escs with Arduino. If even Multiwiii doesen't support it could it be a good idea to change esc and use ONESHOT ones or connecting another flight controller to Arduino? Any ESCs that support DSHOT generally also support the older ONESHOT, MULTISHOT and PWM protocols (i.e. they are backward compatible). This means that the ESCs themselves can "talk" any of those protocols. Whichever protocol you want to use requires the flight controller to also be able to "talk" that protocol as well. So you need to use a protocol that both the flight controller and the ESCs are able to "talk". The ESCs you have ( HERE) can talk all of the following protocols:- - PWM
- ONESHOT125
- ONESHOT42
- MULTISHOT
- DSHOT150
- DSHOT300
- DSHOT600
So you just need to select one of the above protocols in the Multiwii configuration (however you do that). As Multiwii doesn't support DSHOT it will need to be one of the others. The order in the list above is slowest protocol to fastest, so I suggest you start off with choosing the fastest one that Multiwii supports. Posts: 12,099 Threads: 125 Likes Received: 3,739 in 2,836 posts Likes Given: 99 Joined: Feb 2017 Reputation: 388 If you are using custom built firmware, I don't think you can even use oneshot without implementation into the firmware. I would switch to PWM, recalibrate and see. Posts: 7 Threads: 1 Likes Received: 0 in 0 posts Likes Given: 8 Joined: Jun 2019 Reputation: 0 (05-Jun-2019, 09:13 PM)SnowLeopardFPV Wrote: Any ESCs that support DSHOT generally also support the older ONESHOT, MULTISHOT and PWM protocols (i.e. they are backward compatible). This means that the ESCs themselves can "talk" any of those protocols. Whichever protocol you want to use requires the flight controller to also be able to "talk" that protocol as well. So you need to use a protocol that both the flight controller and the ESCs are able to "talk". The ESCs you have (HERE) can talk all of the following protocols:-- PWM
- ONESHOT125
- ONESHOT42
- MULTISHOT
- DSHOT150
- DSHOT300
- DSHOT600
So you just need to select one of the above protocols in the Multiwii configuration (however you do that). As Multiwii doesn't support DSHOT it will need to be one of the others. The order in the list above is slowest protocol to fastest, so I suggest you start off with choosing the fastest one that Multiwii supports. First of all sorry for the late answer but i wasn't at home until now. Today i am gonna try to calibrate them with an external tool that a friend of mine usually uses to calibrate his escs. If that doesn't work can i assume the motors or the escs are faulty? • |