Here is wiki page with some modules I tested from ali: https://github.com/tomaskovacik/BK3254/wiki/modules-from-ali
This library suppors only BK3266 based module with BT name HY5066 form HYT, it is only receiver module and it is using "ASCI" mode of comunication (AT+,COM+,BT+ commands). This library do not support HY5066SR module (tranmiter/receiver), library for this module is this epository.
Supported commands based on this datasheet translate by www.onlinedoctranslator.com are on this wiki page.
https://github.com/tomaskovacik/kicad-library/blob/master/library/datasheet/F-6888_bk3254/
https://github.com/tomaskovacik/kicad-library/tree/master/library/datasheet/F-6988_BK3266
Here is a wiki page with test result and links to functional modules.
Follow this link to arduino.cc: https://www.arduino.cc/en/Guide/Libraries#toc5
this is for testing if your module has serial interface enabled:
BK3254 | computer(USB2serial for example) |
---|---|
RX | TX |
TX | RX |
GND | GND |
VBAT | via diode to 5V (input for li-ion batery so 4.2V max! ) |
BK3254 | computer(USB2serial for example) |
---|---|
RX | 7 (1st parameter of SoftwareSerial in example) |
TX | 6 (2nd parameter of SoftwareSerial in example) |
RESET | 5 (defined as resetBTpin in example) |
GND | GND |
VBAT | via diode to 5V |
BK3254 | computer(USB2serial for example) |
---|---|
RX | TX1 (if using Serial1) |
TX | RX1 (if using Serial1) |
RESET | 5 (defined as resetBTpin in example) |
GND | GND |
VBAT | via diode to 5V |
For supported commands and events chek this wiki.
For supported functions chek this wiki or check example.
On this this wiki page is list and variables which are set by librarie when event is received from module.