Gesture Control Method
Gesture Commands
In order to control out Tello drone using the M5Stack module, we will be using gesture detection. 6 basic gestures are considered for the control (idle, takeoff/land, forward, back, left, right).
Idle
No commands are issued when the module is not moving.
Takeoff/Land
A Takeoff or Land command is issued by moving the module up and down as shown in the figure.
Forward
A Forward command is issued by moving and tilting the module to the front as shown in the figure.
Back
A Backward command is issued by moving and tilting the module to the back as shown in the figure.
Left
A Left command is issued by moving and tilting the module to the left as shown in the figure.
Right
A Right command is issued by moving and tilting the module to the right as shown in the figure.
Using accelerometer to recognize various gestures
An accelerator looks like a simple circuit for some larger electronic devices such as our smartphones. Despite its humble appearance, the accelerometer consists of many different parts and works in many ways, two of which are the piezoelectric effect and the capacitance sensor.
The piezoelectric effect is the most common form of accelerometer and uses microscopic crystal structures that become stressed due to accelerative forces. These crystals create a voltage from the stress, and the accelerometer interprets the voltage to determine velocity and orientation.
The capacitance accelerometer senses changes in capacitance between microstructures located next to the device. If an accelerative force moves one of these structures, the capacitance will change and the accelerometer will translate that capacitance to voltage for interpretation.
Typical accelerometers are made up of multiple axes, two to determine most two-dimensional movement with the option of a third for 3D positioning. Most smartphones typically make use of three-axis models, whereas cars simply use only a two-axis to determine the moment of impact. The sensitivity of these devices is quite high as they’re intended to measure even very minute shifts in acceleration. The more sensitive the accelerometer, the more easily it can measure acceleration.
Reference: google
Blog Series:
Gesture Controlled Drone #1 : Introduction
Gesture Controlled Drone #2 : Preperation - Drone
Gesture Controlled Drone #3 : Preperation - M5Stack
Gesture Controlled Drone #4 : Gesture Control
Gesture Controlled Drone #5 : Gesture Recognition using Edge Impulse