XS/OVC3868 Configuration

5,008

17

21

About: 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 electronics,pc and programming.

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.

Share

    Recommendations

    • Plastics Contest

      Plastics Contest
    • Optics Contest

      Optics Contest
    • Make it Glow Contest 2018

      Make it Glow Contest 2018

    21 Discussions

    0
    None
    JosipM5

    22 days 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

    0
    None
    SergioA135

    Question 3 months ago

    1.disculpa a que te refieres con desabilitar 2 y 3 bits ,,para que?

    1 more answer
    0
    None
    krisskoSergioA135

    Answer 3 months ago

    Making it zero as I showed in the example so I can enable/disable features. Look at the attached datasheets

    0
    None
    krisskojafariqbal007

    Reply 3 months ago

    Sorry for the late response. The music is stored as arrays I think. So u can dive with the tool to find it.

    0
    None
    lukastesar03

    1 year ago

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

    4 replies
    0
    None
    lukastesar03lukastesar03

    Reply 1 year 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?

    0
    None
    krisskolukastesar03

    Reply 1 year 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

    0
    None
    lukastesar03krissko

    Reply 1 year ago

    And which voltage should i use for uart communication? 5v, 3.3v or 1.8v?

    0
    None
    UtkarshVerma

    1 year ago

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

    4 replies
    0
    None
    krisskoUtkarshVerma

    Reply 1 year 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

    0
    None
    UtkarshVermakrissko

    Reply 1 year 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?

    0
    None
    krisskoUtkarshVerma

    Reply 1 year 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!

    0
    None
    UtkarshVermakrissko

    Reply 1 year 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.

    0
    None
    damien2524

    1 year ago

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

    1 reply
    0
    None
    krisskokennyheng

    Reply 1 year ago

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