Skip to content

arduino library for A2DP bluetooth module based on BK3254 chip from Beken Corp (F-6888) and BK3266 based module F-6988 from HYT named HY5066 (not HY5066SR)

License

Notifications You must be signed in to change notification settings

tomaskovacik/BK3254

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here is wiki page with some modules I tested from ali: https://github.com/tomaskovacik/BK3254/wiki/modules-from-ali

Library for BK3254/BK3266 based bluetooth audio module (F-6888/F6988)

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

Tested modules

Here is a wiki page with test result and links to functional modules.

How to install

Follow this link to arduino.cc: https://www.arduino.cc/en/Guide/Libraries#toc5

how to connect BK3254

directly to computer

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! )

arduino using software serial (UNO, nano..)

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

arduino using harware serial (mega ..)

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

Supported commands and event

For supported commands and events chek this wiki.

Supported functions

For supported functions chek this wiki or check example.

Library variables

On this this wiki page is list and variables which are set by librarie when event is received from module.

About

arduino library for A2DP bluetooth module based on BK3254 chip from Beken Corp (F-6888) and BK3266 based module F-6988 from HYT named HY5066 (not HY5066SR)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages