It is easy to add gesture controls to your Arduino or ESP8266 or ESP32 projects using the PAJ7620. It supports up to 15 gestures and needs a simple I2C bus connection.
You could add a function for servo controls left or right, or light on/off, in the example I show you how, the basic functions are already defined, so in my example when I swipe 'right' it called LED_right and so on, but you could use a function called Light_ON for example.
Code example: https://github.com/G6EJD/Gesture-Control
Product: https://www.banggood.com/Wholesale-Ar...