
Test
We tried to figure out how to correctly connect the component, and then continued with refining of the results.
Our experiments with the LOLIN board payed off, we had some idea what to do when we have begun our work with the HUZZAH board.
Initially, the task involved connecting the sensor to the power source and feeding it with a square wave from the oscilloscope.
We split each frame of the gimbal by color splitting, then do the corners detection and get details about corners’ coordinates by OpenCV functions. Through calculation about the coordinates, we will get motion details.
We split each frame of the gimbal by color splitting, then do the corners detection and get details about corners’ coordinates by OpenCV functions. Through calculation about the coordinates, we will get motion details.
Use rotary encoder connected to wifi board, read value of angle in time and write down data as a file.
The main technique used for image correction is perspective transformation.
By rotating the encoder, we get the angle data by reading instantly. WiFi board helps us transfer data wireless to the laptop and save the data as a txt file. Use Matlab to plot the graph, and use the derivative relationship to find the acceleration.