The HLK-LD2411 is a human distance sensing and gesture recognition module. it can recognise the user's gesture lifting and releasing movements, as well as detecting the user's movement into and away from the toilet, and outputting GPIO signals through the detected movements to allow the manufacturer's microcontroller to control the opening or closing of the toilet lid.
The module uses a 5V supply and the radar beam is designed in a wide and narrow way, with a horizontal angle (4 patch) of approximately ±20° and a vertical angle of ±40°, with adjustments made to the antenna placement direction depending on the scenario. For toilet applications, a narrow horizontal beam is recommended to avoid false triggering of the human body passing by.
Module Features
* Plug and play, easy assembly method
* Sensing distance up to 2 metres, gesture recognition distance up to 1 metre
* Detection angle coverage up to ±30 degrees
* Distance sensing distance can be adjusted via Bluetooth
* The ultimate value for money choice
Pin definition
Use for gesture and distance sensor
1. Gesture Recognition
With the module as the center, the person stands facing the radar and the hand drops naturally before swinging. Swing with palm up and open palm, lift arm to 45 degrees diagonally upwards in a normal direction, and then keeping the palm up the arm falls back naturally, swinging once from bottom to top and then again from top to bottom.
When a gesture is recognized, the OUT pin of the module will output a high level for about 1~2s or so. It is necessary to wait for 1~2s before the next set of gestures can be recognized.
Note 2: Hand gestures are required at a distance of 0.5 to 1m
2. Distance sensor
Walk in: with the module as the center, the human body facing the module, walk to reach the lower threshold setting distance, RX pin output high level, TX low level, lasting about 1~2s
Away: The body faces the module and walks backwards, after reaching the upper threshold setting distance, the TX pin outputs a high level and the RX low level for about 1~2s