How to wire up the MadFlight FC3V1 (Rpi) to a 4-in-1 ESC with DShot motor control (preferably bidirectional)? #88
Replies: 2 comments 9 replies
-
|
Also, additional information, I am using the Arduino IDE to program the FCV3. My reason for wanting to use DShot is that I think it is needed for the motors to eventually be set up for bidirectional operation. I want these motors to be able to push or pull. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @KernelKlinq by coincidence I was working exactly on this topic today, and pushed an update which fixes dshot and bidir dshot. (Note: bidir refers to telemetry here, not to bidirectional motor operation.) To try it out, clone or download this repository and unpack it in your arduino libraries folder (i.e. overwrite the existing libraries/madflight folder) After compiling you should see v2.2.2-DEV as version number. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently trying to bring up a new aircraft with a MadFlight FC3V1 flight controller.
I can get out.setupMotors to work with the following code:
bool success = out.setupMotors(4, motor_idxs, motor_pins, 400, 950, 2000);However, I cannot get the DShot options to work by uncommenting one of either of the following code lines:
//bool success = out.setupDshot(4, motor_idxs, motor_pins, 300); // Dshot300 without telemetry //bool success = out.setupDshotBidir(4, motor_idxs, motor_pins, 300); // Dshot300 Bi-DirectionalI know the ESC supports DShot. ESC is a Lumenier Siege 55A NDAA 4 in 1. I can see its configuration and change it via connection through another FC and the AM32 configuration tools (web and standalone).
Any suggestions for software troubleshooting or hardware wiring are appreciated very much. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions