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

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.

Comments

author
LukášT20 (author)2017-07-13

How to connect OVC3860 to PC through Arduino? I didn't understand it.

author
LukášT20 (author)LukášT202017-07-13

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?

author
krissko (author)LukášT202017-07-15

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

author
UtkarshVerma (author)2017-06-19

My XS3868 module doesn't connect to the RevD tool. Also please repost the tool link.

author
krissko (author)UtkarshVerma2017-06-21

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

author
UtkarshVerma (author)krissko2017-06-21

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?

author
krissko (author)UtkarshVerma2017-06-22

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!

author
UtkarshVerma (author)krissko2017-06-23

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.

author
damien2524 (author)2017-02-21

Pin 33 and 35. what is it for, and what is the 10k for?

author
krissko (author)damien25242017-02-24

Look at attached pdf in step 1

author
kennyheng (author)2016-12-24

Lol ... i fry dis board during my test.

author
krissko (author)kennyheng2016-12-25

I'm sorry for your module.Be careful with pinouts and tx/rx conversation!

author
kennyheng (author)krissko2016-12-27

its ok, i going try it next time

About This Instructable

1,349views

16favorites

License:

Bio: I'm student in The University of Sofia (St. Kliment Ohridski) in Bulgaria. I have a lot of interests, most of them are related with ... More »
More by krissko:XS/OVC3868 ConfigurationIR wireless temperature sensor with ATtiny85
Add instructable to: