Rename Bluetooth Audio Device Using AT Commands
by Tremito in Circuits > Audio
284 Views, 2 Favorites, 0 Comments
Rename Bluetooth Audio Device Using AT Commands
In this project, you will be able to have a Bluetooth audio device with you own custom name displayed when pairing your audio device. For this we are going to use the JDY-67 Bluetooth audio module.
Supplies
- JDY 67 module: Aliexpress link
- FTDI module: Aliexpress link
- Arduino IDE and basic knowledge on how to use it
- Basic knowledge on UART communication
IMPORTANT: The TXD and RXD (In RED box) pins at the bottom of the JDY 67 module is wrongly labeled in this specific module, you can use them interchanged as shown in the above connection diagram. The pins in green box are correctly labeled, you can use them normally.
Pin connection is the usual way to connect the UART connection, but in this case if you are using RED pins which are wrongly labeled, connect TXD to TXD and RXD to RXD
IMPORTANT: set the voltage jumper of the FTDI module to 3.3V
Connection Diagram:
1st make sure your FTDI module drivers are properly installed and the device is detected.
A serial monitor is required. I used Arduino IDE 1.8.19 to do this.
- Open Arduino ide
- Select the correct COM port
- Open serial monitor
- Make sure “BOTH NL & CR” is selected as highlighted in the following image. Baud rate should be 9600
- Check if the device is responding by returning the mac address when AT command “AT+MAC” is sent as shown in the above image.
To rename the Bluetooth audio device, use AT command “AT+NAMA<new name>”
Eg: AT+NAMAMyname
By default, two devices will be shown on you Bluetooth device list when trying to pair with the JDY 67. The JDY-67-BLE and JDY-67-AUDIO. If you only want the audio device, use the AT command “AT+ROLE0” to disable the BLE device
The above AT command sheet was given by the Ali express seller in the description
complete description is available in this JDY 67.pdf. The data sheet of the SOC is available in BK3266.pdf