Skip to content

Lab 11 - Motors and Controls

For this week’s lab, me and my group started working on calibration and the modification of the DATX controller via set parameters from the previous labs. First, we recalibrated the sticks in the Hardware menu so the DATX could read the correct data. Then we used the Multi Bind in the Tracer settings so the controller would connect to the receiver without binding more than once. These were the modifications done to the DATX. The importance of these modifications was to make sure the DATX was given the proper inputs to the Cube so that the RCMAP_X and SERVO#_FUNCTION parameters would respond correctly.
e772c712e58ede43c6aad03a49a3c3c5eda4f4eac5f70118f04681d1f4e356534ce3826f3bb3329c30c3567f896c0fbb35759c67a79632df048ff0392a010a93e7fe7ed4108c2e746650d1ed60c40c51c6fff20b12791af83cdfde34646047b8894ffc02.avif
Image 1: Shows the correct channel selected after using Multi Bind feature
For the ESC and motor, they were connected using the selected bus on the CubePilot. I connected the ESC to the main bus on the CubePilot located on the side, and the motor wires were connected directly to the ESC’s three output pins. The ESC also supplied 5 volts to the servo rail, which is why the servo didn’t work at first until the ESC was powered. After powering everything on and putting the ESC and CubePilot into Manual mode, we moved the sticks so the ESC could read the full throttle range. This step was important because the ESC needs the correct throttle calibration in order to control the motor smoothly.

In addition to the ESC, all we did was perform a throttle calibration for the correct throttle values. It is important to test the ESC because we want tof find the correct throttle max and min readings before we install it in the aircraft.

bf241d72869b2cd5cc7cd6fd8c1af8ac29bd6e7d6014c3bb98d9d37babb7558307d41febfdf922999bcb639023c912f24e552269b53024cbf8026f3917e05f26a935353ed315c6524a0b94fa151bafc68670641dab76aaadf3adfedfab4b216eb6b03154.avif
Image 2: Shows the GPS, servo, ESC, and Cube pilot all hooked up bfroe connecting to throttle


For the next section of the lab, we hooked the ESC, servos, GPS, to the motor and turned on the voltage regulator to provide proper current. After sucessfully connecting all the components to the Cube Pilot, we hooked the components to a motor that is used for the believer.

f24891200aa2133bb6e556633358fc267cff6a74636f458e8a73dd8b7dd8fdac60f072e54d1dff1b1abefccfe0c2e9e7a3f028f1466c8a7778afb06edf2b9c7bd2b412549763a7a261bae9c3e861228ba1d08b42080a5e4b1ddc620b5f887e87cf2c11c1.avif
Image 3: Shows the components connected to the thorttle motor and voltage regulator


Overall, we focused on calibrating and modifying the controller, set the controll parameters, and wiring all the required component for the CubePilot. Using our wiring diagram from our previous posts, we were able to find the correct servo rail for the ESC and understood how its important to find the correct voltage for different components. Overall, this lab helped me get a better understanding of how the control inputs from the DATX travel through the Cube and into the servos and ESC.







Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.