Introduction: XS/OVC3868 Configuration
Recently I found that little bluetooth audio module for a reasonable price.It was not very well documented but with a bit of patience and a lot of searching on the Internet I found a lot of cool stuff about this module.In this instructable we will learn about AT commands and how to configure on board eeprom settings without desoldering!
Step 1: Pinouts and Circuit
So I found the pinouts and simple circuit for powering it up and buttons control.
Here you can find some mods for less noisy sound.
http://www.penguin.cz/~utx/hardware/Bluetooth_receiver_Enjoy_BT-AU01/#hack_to_silence_idle_noise
Attachments
Step 2: AT Commands
Cool now we can listen some music through our phone but where is the fun if you can't hack it?Attached file shows all AT commands that XS3868 supports.Some of the AT commands in the provided pdf are messed up, but hey they are at least there.
Step 3: Let's Hack!
Ok, we have AT commands which kinda works, let's go deeper!With attached configuration program we can change persistent store key settings in on board eeprom.
What is the procedure and what you need?
1. USB to Serial cable/adapter(you can use Arduino board)
2. Power supply for powering BT module it requires 3.3v - 4.2v
3. * TX/RX level shifter if needed
1. You must connect corresponding TX/RX pins on both boards
2. Connect your USB to serial adapter.
3. Change your newly usb serial port to be COM1.
4. This can be done under Device Manager->your usb to serial->Properties->Port Settings->Advanced
5. Open attached program.It will say "Not connected"
6. Restart or power off/on bluetooth module and voala you're in!
7. Change what ever you want (id, auto-off, auto-pair etc) but be careful, read provided datasheet before writing values!
How to:
Disable deep-sleep feature:
1.lowpow_clk: default: 0x1e
That translate to binary: 0001 1110
Change it to:0001 0010 -->HEX value -->12 (I'm disabling 2 and 3 bit see datasheet for clarification)
2.app_to_autooff default value: 0x05
To disable auto off feature change it to: 0x00
When you finish with editing your settings just close the program and restart the module.
23 Comments
2 years ago
Just to state it:
This module's V_Bat pin is 5V tolerant.
This means it can be used easily in combination with an arduino.
In addition to that:
The serial interface is also 5V tolerant. So theres no level shifting needed.
Cheers
3 years ago
I have one with 26 pins!??? Same thing but 26 pins.
4 years ago
Hello guys,
can you advise me? I have OVC3868 and I can not play the sound from my laptop. Everything works over my phone, but not over the laptop. When I bought a cheap audio bluetooth device from Aliexpress, the sound from my laptop worked great (only functionally - the sound was shit). I think something needs to be done through the development tool, but I do not know what. Could you advise me what, please?
I hope I have written it understandably ...
Thank you
Josip Moti
Question 4 years ago
1.disculpa a que te refieres con desabilitar 2 y 3 bits ,,para que?
Answer 4 years ago
Making it zero as I showed in the example so I can enable/disable features. Look at the attached datasheets
5 years ago
how to change the pairing/unpairing music?
Reply 4 years ago
Sorry for the late response. The music is stored as arrays I think. So u can dive with the tool to find it.
5 years ago
How to connect OVC3860 to PC through Arduino? I didn't understand it.
Reply 5 years ago
If I understood it correctly, I need to remove ATmega/connect RESET pin to GND and connect Rx&Tx of XS3868 to the Arduino's Rx&Tx?
Reply 5 years ago
If you want to use arduino as usb to serial with the chip in you must to
connect capacitor between reset and gnd pins.Otherwise just connect rx/tx
pins
Reply 5 years ago
And which voltage should i use for uart communication? 5v, 3.3v or 1.8v?
Reply 5 years ago
It's 5v tolerant
5 years ago
I have written a a whole, detailed instructable on this topic. Hope it helps you all.
Here it is:
https://www.instructables.com/id/Change-Bluetooth-HeadsetSpeakerAdapters-Name-or-Ot/
5 years ago
My XS3868 module doesn't connect to the RevD tool. Also please repost the tool link.
Reply 5 years ago
All links are working.Check your rx/tx pins try swapping them.Also your module must be turned off when connecting and opening the RevE tool
Reply 5 years ago
i did that...no results....Also, I'd like to add that when I send commands to the module using Arduino with RESET pin of Arduino connected to GND. The commands do work but I don't receive any response from the module like "OK" or other responses. What might be the problem?
Reply 5 years ago
Check receiving line.When I use arduino for such purpose I completely remove the chip.Can't remember if there was any response like OK, but as you said that commands works you should be on the right way!
Reply 5 years ago
Figured it out. I think the module, instead of responding in terms of OK, simply returns the commands sent to it. Somewhat like a loopback. That is why I think the RevE tool fails to detect the module when it's connected.
6 years ago
Pin 33 and 35. what is it for, and what is the 10k for?
Reply 6 years ago
Look at attached pdf in step 1