Product Data Sheet
Table Of Contents
Product Data Sheet
BM021
3.2 Pin Description
P1 Pin Define
Pin No
Pin name Type Description
1 3.3V
Power
Power Source
2 GND GND
Ground
3 PWM1/A3 or B7
I/O
PWM1,GPIO_PA3(PB7), I2C_SCK(by soft)
4 PWM5/B6 I/O
PWM5,GPIO_PB6, I2C_SDA(by soft)
5 PWM4/B4 I/O
PWM4,GPIO_PB4
6 PWM3/C3 I/O
PWM3,GPIO_PC3,UART_RX
7 PWM2/C2 I/O
PWM2,GPIO_PC2,UART_TX
Mesh Lighting Application Table
Pin
Application
LED Lighting
Switch/Sensor
Product type Single
CW/WW
RGB RGBW
RGB/
WW_CW
CW_WW
ADJ
I2C/W
UART
Switch
Sensor
Type Code
01
02
03
04
05
06
07
08
09
0A
1
3.3V
3.3V 3.3V 3.3V 3.3V 3.3V 3.3V 3.3V 3.3V 3.3V 3.3V
2
GND
GND GND GND GND GND GND GND GND GND GND
3 PWM1/A3/B7
Lum WW
R
R R
SCK SCK
OFF
LED
SCK
4
PWM5/B6
CW
G
G
G
SDA SDA SDA
5 PWM4/B4
On/Off
DI_Lo Act
B
B B
CW
Mode
DI
DO
Hi Act
6
PWM3/C3
W WW
URX
On LED
Reset
Hi Act
7
PWM2/C2
On/Off
Rly hi Act
CW
UTX
On/Off
Relay
DI
Hi=error
P2 Pin Define
Pin No
Pin name Type Description
1 3.3V
Power
Power Source
2 SWS
I/O
GPIO_PB0,PWM2,Single Wire Slave
3
GND GND
Ground
4 DM I/O
GPIO_PE2,USB Date Minus
5 DP I/O
GPIO_PE3,USB Date Positive
P3 Pin Define
Pin No
Pin name Type Description
1 B5
I/O
GPIO_PB5
Version : 1.3 - 9 - 01/31/2019