The store will not work correctly in the case when cookies are disabled.
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.
We use cookies for optimal website use.We recommend you to allow cookies for a better user experience. Please read our privacy policy. Learn more.
The BMS31M001 is an infrared proximity sensing module that is composed of proximity sensing module, the BM32S2031-1, and a breakout board. It provides a long sensing distance of up to 100 cm and automatic learning of sensing distance.
The BMS31M001 has the same functions and specifications as the proximity sensing module, BM32S2031-1.
The difference between them is that the BMS31M001 breaks out the BM32S2031-1’s pins to match the BMCOM connectors and can directly connect to BMduino development boards, such as BM53A367A.
You can use the product with other development boards, such as Arduino UNO, as well.
BMS31M001 integrates active infrared emission and reception. Once an object is sensed, it detects distance via the infrared reflection changes. You can configure sensing distance according to your application.
Automatic learning of sensing distance (default: 85cm)
Low power consumption
Factory-calibrated
Operation mode: I/O, UART
Interface: UART (baud rate: 9600bps)
Dimension: 27 x 23 x 10 mm
Net weight: 4.2g
PIN DESCRIPTION
Pin
Pin name
Function
1
NC
-
2
RX
IN
UART: RX
I/O: distance learning key input
3
TX
OUT
UART: TX
I/O: output pin
4
VDD
Power supply: 3.0V to 5.5V
5
GND
Ground
HOW TO LEARN THE SENSING DISTANCE
The BMS31M001’s sensing distance is 1 to 100cm (default 85cm), and it is configurable.
Steps for learning the distance in I/O mode:
Connect the BMS31M001 to development board, such as Arduino UNO or BM53A367A.
To change the infrared detection position, place something, such as a sheet of paper, above the infrared sensor of the BMS31M001.
For example, if you want to change the distance to 50cm, place something above the infrared sensor from a height of 50cm.
Pull the IN pin to low level when power-on, keeping it in low level for 0.5 second, and the pull the IN pin to high level.
The distance learning is successful if the status of OUT pin changed.
Steps for learning the distance in UART mode:
Connect the BMS31M001 to development board, such as Arduino UNO or BM53A367A.
To change the infrared detection position, place something, such as a sheet of paper, above the infrared sensor of the BMS31M001.
For example, if you want to change the distance to 50cm, place something above the infrared sensor from a height of 50cm.
Issue the distance learning command via UART interface. You can use the distanceLearning() function in Arduino Library. For more details, please refer to the example sketch in Arduino Library.
Read the return value of distanceLearning() function to make sure if the distance learning is successful.
RESOURCES
Module: BM32S2031-1, proximity sensing module, including datasheet, example program, etc.