Summary/Overview
In this lab, we finalised the calibration and setup of the DATX and flight controller system. We were finally able to validate our mapping and control parameters in the real world/with real hardware, as we attached servos and a brushless motor and ESC to our flight controller and were able to verify that our parameters were set up correctly and corresponded to the expected real-world actions.
Calibration
The process for DATX calibration involves setting the bounds or limits of the control sticks. To calibrate the sticks, you put them at the ends of each position so the software knows the limits of your inputs. Once calibration was done, we connected the DATX to the cube using the RX. This process ensures that each part of the system is able to properly read from and communicate with the other parts of the system instead of “guessing” or “estimating” based on generic parameters.]
These tables represent the channels used for different control inputs and how they correspond to the transmitter’s axis or “channel” or to the servo rail’s physical outputs - the servo rail uses a PWM-type signal to communicate with different components - with SERVO1 being the port labelled 1 in the servo rail, and so on.
This view visualises the servo output corresponding to the transmitter’s inputs over time
This image show that the DATX is connected to the reciever/flight controller.
This table is essentially a combination of the RC Map and Servo Function tables from above, with the addition of text to link stick movements to the channels.
The final step of this lab was getting to validate our work - controlling a micro servo and motor/esc on a test stand. We were able to verify that the DATX inputs corresponded to the motor’s outputs, as well as powering the entire system off of a power supply instead of over USB for the first time since starting this process.
Reflection:
This lab was the most interesting one we’ve done in a while, to me, as it represents the culmination of our work from past labs, as well as the application of what we had learned from lecture earlier in the semester, finally visualised. It’s always satisfying to see something work, especially since most of the configuration of these systems has been troubleshooting or things not working as expected/ intended. This has certainly been the most fulfilling of the labs thus far.