Best Modules will be closed from Apr. 3nd to Apr. 6th in observance of Tomb Sweeping Day.
Please be informed that any orders placed after 15:00 PM Apr. 1st (Taiwan time, UTC+8) will be processed on Apr. 7th.

Shopping Cart 0
US$0.00

2D Gesture Recognition Module BM32S4021-1

US$3.90
In stock
Quantity
38 pieces
Product ID
BM32S4021-1

The product is an infrared gesture recognition module integrated with algorithms capable of recognizing 7 gestures, including swipe left, swipe right, swipe up, swipe down, move forward, move backward, and hover. The sensing distance for the X-axis and Y-axis is greater than ±4.0cm, while the sensing distance for the Z-axis can reach up to 25cm. This makes it suitable for applications in smart light controllers, stereo systems, game controllers, and other related products.

Quantity Discounts refresh image
Select Quantity Discount Unit price
1-9 - US$3.90
10+ 5% US$3.71
For more quantity discounts please contact us
Follow Us for More Updates!
PRODUCT FEATURES
  1. Operating voltage: 3.0V~5.5V
  2. Operating current: 4.5mA @3.3V
  3. Sleep mode current: 85μA @3.3V (senses every 128ms, configurable)
  4. Recognizable gestures: swipe left, swipe right, swipe up, swipe down, move forward, move backward, and hover
  5. Sensing range:
    - X-axis: ± 4.0cm
    - Y-axis: ± 4.0cm
    - Z-axis: 1~25cm
  6. Interface: UART (baud rate: 9600bps) / INT pin
  7. Dimension: 20 x 20 x 12.05 mm
  8. Net weight: 3.1g
DESCRIPTION

The product has built-in two infrared transmit LEDs and two sensors. Upon being powered on, it will enter sleep mode and sense for proximity every 128ms (configurable).
When proximity is detected, the product will wake up and measure changes in light reflectance at each of the infrared transmit LEDs over time, translating those changes into gestures. If no proximity or gesture is detected within 4 seconds (configurable), the product will return to sleep mode.

When the product is in sleep mode, it is recommended that you first bring your hand close to the product to wake it up before starting to wave.

The product offers two methods for reading gestures:

Active Sending Mode (default)
In this mode, the product continuously polls for detected gestures. If a gesture is detected, the recognized gesture is automatically sent to the host. After sending, the gesture detection status is automatically cleared.

Passive Sending Mode
The INT pin is used to monitor if a gesture is detected. When a gesture is detected, the INT pin changes to the low level and the gesture status will be sent to the host via UART. The gesture detection status will automatically clear after 200ms (default).

Distance learning

The maximum sensing distance of the product is 25cm. You can issue the command to configure the distance.
Steps for distance learning:

  1. Issue the command to enter the distance learning mode.
  2. To change the infrared detection position, place something, such as a sheet of paper, in front of the infrared sensor. For example, if you want to change the distance to 15cm, place something in front of the infrared sensor from a distance of 15cm.
  3. Returns distance learning result.

⬥ Refer to the "Special Commands" paragraph on page 8 of the datasheet for more information.

PIN DESCRIPTION

Rear side of the product

Pin Pin name Function
1 VDD Power supply: 3.0V~5.5V
2 VSS Ground
3 DO UART: TX
4 DI UART: RX
5 INT Gestures detection pin
⬥ Detected: low level
⬥ Non-detected: high level
COMPARISON
BM32S3031-1 BM32S4021-1
Gesture 1D gesture
Left, Right, Hover
2D gesture
Up, Down, Left, Right,
Forward, Backward, Hover
Operating voltage 3.0V~5.5V 3.0V~5.5V
Operating current 1.8mA @3.3V 4.5mA @3.3V
Z-axis sensing range 1cm~25cm 1cm~25cm
X-axis sensing range ± 7.5cm ± 4cm
Y-axis sensing range ± 4cm
Interface UART (9600bps) UART (9600bps)
INT pin X O
More Information
HS Code (reference) 8517.79.00.00-6
Datasheet V1.00 (948.95 kB)
Arduino sketch (382.55 kB)
Demo code (27.27 kB)
Youtube
Contact Us