[Communication interface]:UART
[Operating frequency]:2.4GHz
[Bluetooth protocol]: BLE 5.0
[Communication distance]:60m
[Product size]:10*14.5mm
[Product weight]:0.5±0.1g
[Introduction]:The EWM104-BT13 series is a Bluetooth proximity switch module designed based on the BLE5.0 version Bluetooth protocol. It is small in size, low in power consumption, and operates in the 2.4GHz frequency band. The Bluetooth module uses common AT commands to set parameters, and the operation is simple and fast. It can be applied to smart door locks, smart car locks, smart homes, consumer electronics, industrial control and other scenarios.
| Serial number | Pin Definition | Pin Direction | illustrate |
| 1 | GND | -- | Power Ground |
| 2 | PD6 | -- | Reserved GPIO, users do not need to worry about |
| 3 | PD7 | enter | Internal pull-up, falling edge, and then keep low level for at least 5 seconds, all parameters are restored to factory settings and the module is automatically restarted. |
| 4 | PA3 | -- | SWS; program download pin; users do not need to care; |
| 5 | PA7 | Output | Connection status indication pin, high level indicates connected, low level indicates disconnected |
| 6 | PB2 | enter | Battery voltage detection pin |
| 7 | RST | enter | Reset pin, low level reset |
| 8 | WKP | enter | Low level low power mode; High level enters working mode |
| 9 | RXD | enter | Serial port input |
| 10 | TXD | Output | Serial port output |
| 11 | GND | -- | |
| 12 | VBAT | -- | Positive power supply, 2.0V~4.2V, 3.3V power supply is recommended |
| 13 | PB7 | Output | The default is low level, and the effective level is high; There are two modes: long-acting and inching; can be set through the serial port or WeChat applet; the pulse width of the inching mode supports the configuration of 10~65535ms |
| 14 | PC0 | Output | The default is low level, and the effective level is high; There are two modes: long-acting and inching; can be set through the serial port or WeChat applet; the pulse width of the inching mode supports the configuration of 10~65535ms |
| 15 | PC1 | Output | Complementary PWM output; can be configured through the serial port or WeChat applet; long-term or electric mode, frequency, duty cycle, (dead time), PWM duration (10~65535ms in inching mode); |
| 16 | PD2 | Output | |
| 17 | PD1 | -- | Reserved GPIO, users do not need to worry about |
| 18 | GND | -- | Power Ground |