KT6368A Bluetooth Chip Add Douyin Page Scrolling, Liking, and Selfie Remote Control Instructions Including AT Commands

 1.1 Introduction

Bluetooth HID (Human Interface Device) refers to device types such as Bluetooth keyboards, Bluetooth mice, Bluetooth remotes, etc., all categorized as human-computer interaction devices. Here, our KT6368A Bluetooth chip emulates these devices. For host devices like Windows, Android, or iOS, HID devices are driver-free, meaning as long as the host device supports Bluetooth, it can establish a connection with the KT6368A and send specific key commands. Taking the commonly used Douyin page-scrolling remote as an example, the functions include:

1. Swipe up and down to scroll through pages.

2. Swipe left and right.

3. Volume up and volume down.

4. Pause, play, and like.

The functionality is essentially the same as commercially available products, as shown in the following image:


Additionally, it features reconnection capability, meaning the Bluetooth device will automatically reconnect to the last paired mobile device upon powering on.

Of course, it is compatible with both Android and iOS (Apple) devices.

 

The KT6368A HID version consumes 15mA at startup for approximately 100ms, then stabilizes at around 5mA thereafter.

 

1.2 Hardware Description

Parameter Description


Details

Parameter Specifications

UART Interface

Standard UART interface with TTL levelBaud rate is configurableA level converter (e.g., CH340G—USB to TTL) is required when connecting to a PC.

Input Voltage

Recommended voltage: 3.3V (operating range: 2.2V–3.4V).

Rated Current

Chip startup current: 20mA.Immediately after startup, the chip enters low-power mode, alternating between 20µA (broadcasting) and 4mA (wake-up).After a successful connection, the current remains constant at 4mA.

Low Power Consumption Current

The chip calculates average current because it continuously alternates between low-power mode and wake-up mode internally.

Operating Temperature

Range: -40°C to 80°C.

Humidity

Range: 5% to 95%.

Main Chip Model

KT6368A [SOP8, shipped in tubes],KT6328A [SOP8, shipped in tubes]

 

Operation Description

Step

Instructions

Step 1

Set up the peripheral circuit for the chip and supply it with 3.3V power. For the Bluetooth antenna, simply solder a wire in place.

Step 2

Check if Pin 2 of the chip outputs a high level for 1 second upon power-on. Connect an indicator light to observe this.

Step 3

Connect to a computer using a serial port assistant tool. Verify if the chip’s TX pin returns data at a baud rate of 115200.

Step 4

Create your actual board and debug it with the MCU.

 

1.3 Setting HID Bluetooth Device Name [BD]

AT+BDSPP-1234\r\n Set the Bluetooth name to "SPP-1234".

1. After setting the Bluetooth name, you need to reset the chip by sending a command or powering it off and on. This will display the new Bluetooth name. The default Bluetooth name is "KT6368A-EDR-KEY". The maximum length for the Bluetooth name is 30 bytes. Please do not exceed this limit.

2. If you modify the Bluetooth name using AT commands, note that your mobile device may not update immediately and may still display the previous name.

(1) This is because you only changed the Bluetooth name, while the Bluetooth MAC address remains unchanged. Therefore, the mobile device will not update the name.

(2) To resolve this, try searching with another mobile device, or delete the pairing information on the original device and search again.

(3) Rest assured that once the Bluetooth name is set, it is definitely updated. The chip will also return the Bluetooth name upon power-up for verification.

 

1.4 Common Douyin Key Commands [CC]

AT+CC00\r\n Previous page

AT+CC01\r\n Next page

AT+CC02\r\n Left page

AT+CC03\r\n Right page

AT+CC04\r\n Play/Pause

AT+CC05\r\n Play/Pause

AT+CC06\r\n Volume + (Combined with selfie function)

AT+CC07\r\n Volume (Combined with selfie function)



评论

此博客中的热门博文

KT148A Voice Chip at Baidu Baike

KT148A Voice Chip Issue: Difficult to Play with Code Sending - Normal Playback After Grounding Pin 4, What’s the Reason?

KT1025A Dual-Mode Bluetooth Audio Chip Layout Description and Design Precautions