“Practical Arduino project with this intelligent gesture recognition module equipped with an infrared camera sensor and applied AI algorithm.
Тoday I received the package I ordered from Seed Studio, and it contains the Grove smart IR Gesture sensor. The product is nicely packaged and comes with a basic information sheet.
This is a relatively new module, and this time I will try to make a practical device that will present its possibilities with the help of a microcontroller. During testing and development I will use utilities, libraries, and instructions from the Seed Studio site
As for microcontrollers, I plan to work with an Arduino Nano. Otherwise, the Gesture sensor module on the back side has a microswitch with 4 units, with which combinations can be changed the method of communication between I2C, SPI, and USB mode.
The fastest and easiest way to test the sensor and basic functions is using the provided Windows application Gesture Demo.
For this purpose, the module should be set in USB mode, which means that the four microswitches should be in the OFF position. On the front of the sensor, in the upper left corner, there is a small human shape. If you see the figure standing upright, then you have placed it in the correct position.
Now we need to connect the Grove Gesture Sensor to PC, start Application, and click on RUN button in the top left corner of the software and then select Gesture mode to see the results in real time.
Next, I present to you a way to make an independent device with the help of an Arduino microcontroller. This is the simplest example that will show the recognized gestures on the LCD display in text form, and at the same time will turn on the corresponding LED. LEDs can be replaced by relays that control a process, or execute another command or perform a function according to the user’s needs. In a word, basically with this simple code, and with minimal modifications we can make complex functional devices. Otherwise the basic code is also taken from the Seed Studio site indicated above in the text. Writing code is not my specialty, so I’m sure it could be made much simpler, but the most important thing is that it works flawlessly. If you have knowledge, you can freely modify and simplify it.
The whole device is very simple and contains only a few components:
- Arduino microcontroller
- 16x2 characters I2C LCD Display
- 5 LEDs with suitable resistors for current control
- and Grove Smart IR Gesture Sensor from Seed Studio”