utorok, 26. januára 2016

OVC3860 how to change name

recently MBT28 contact me on github about OVC3860 based BT modules [1], we have some chat about configuration of this modules, and mbt pointed to microcontroller.net where someone put link to pdf with instruction how to configure OVC3860 based modules (I put it on my github [2] including executable you need).

I personally tested it, and it works. I try to change baud-rate, name, reconfigure module class, sound settings ....

tested on winXP,win7 and wine on ubuntu



so, how to change name? start software, then connect  serial port to module and start module, it should connect to module automaticaly if you connect your module before starting SW, simply restart module by connecting reset pin to ground. Then push "Read All" button, next find key named  "localname" and change his "value" to  new name of you module, hit "Write selected" Button and you are done.  For other keys take a look at documentation pdf at github [2].


I try to sniff communication, to make it configurable from arduino, to be able set BT name by user on final product ....

[1] https://github.com/tomaskovacik/hw/issues/1
[2] https://github.com/tomaskovacik/kicad-library/tree/master/library/datasheet

21 komentárov:

  1. Hi, I coudn't not setup connection with program, i have red light and message "not connected". Mine setup is UART cabloe on COM1 and baud rate 115200. Terminal program work fine. Can you help me with this ?

    Regards Pawel

    OdpovedaťOdstrániť
    Odpovede
    1. start program and then restart module by shorting reset pin to ground. also do not use CH340 based modules, they do not are capable of 115200.

      Odstrániť
    2. Thanks, works like a charm ! I'm able to change name, PIN ant other. Also i changed btsys_mode flag to CARKIT (0x04), so I can recieve and dial calls. But commands to sync phone book (AT#PA) or list last recieved calls (AT#PM) are not work (zero respononses). But registers recievedCallHistory in config tool are updated. Maybe some additional configuration are needed ?

      Odstrániť
    3. I do not no why, but alsoni do not remember reading about this module has support fir adressbook, this is why i buy soyo-bT24g module ... But it doesnt support control over uart by default, it must be programed by soyo, and they do jot do it for free ....

      Odstrániť
    4. ok, I see,

      Sync Phone Book by SIM
      AT#PA
      Sync Phone Book by Phone
      AT#PB
      Sync Phone Book by Dialed call
      AT#PH
      Sync Phone Book by Received call
      AT#PI
      Sync Phone Book by missed call
      AT#PJ
      Sync Phone Book by last call
      AT#PK

      It did not work on my module also ... but also change name or pin is not supported anymore :( (AT#MN/MM)

      Odstrániť
    5. and then, I look at [1] and there is no AT#P* commands mentioned :(

      [1]: https://github.com/tomaskovacik/hw/blob/master/kicad/library/datasheet/BLK-MD-SPK-B_AT_Commands_OVC3860_List.pdf

      Odstrániť
    6. Yes, you're right, those commands are precise for those module. I found solution for Phone Book access in ovc3860 but not straight, PDF above help with that. I saw command AT#ST - SPP data transmit. So mine conclusion is ... great ! module has Serial Port Profile. I've tried connect in SPP mode with simple Android Bluetooth terminal app, but connection was refused. After that i review again PSKeys PDF [1] for any SPP entries and voila ! In register 430 we can enable SPP channel - change value to 0x01. After that we have full bi-directional data communication in ovc3860 module !
      Mine next step is compose program in Android Studio to send contact name to module via SPP channel on incoming calls :]

      Thank you for help ! Now i have low cost CAR KIT solution, that is fully customizable !

      Best Regards Pawel

      [1] https://github.com/tomaskovacik/hw/blob/master/kicad/library/datasheet/OVC3860_RevE_PSKeys_Setting_v1.2.pdf

      Odstrániť
    7. Will be nice to see same open source implementation, or at least something i can hack in arduino so i can use it in future prejects, also for car. What car so ypu have?

      Odstrániť
  2. I have Fiat Panda. Mine goal is to do Car Kit with contact display on dashboard like on this movie [1]. I've done similar dashboard CAN hack on Fiat Panda. Buttons on steering wheel will be used as controller and audio output from ovc3860 will go to AUX input (or phone input if available) on car radio.

    I have all parts to finish project, i need few days to write android application and another few days for tests.
    My work will be published on web, i don't have blog yet, but this project is worth publish, so stay tuned ! I will let you know when I finish.

    [1] https://www.youtube.com/watch?v=NtkmyAz1vjg

    OdpovedaťOdstrániť
  3. oh and do not forget about audio part, 0,9V on common audio pin, I tested this preamp and its works: https://github.com/tomaskovacik/hw/tree/master/kicad/differencial_audio_amplifier

    OdpovedaťOdstrániť
  4. The link https://github.com/tomaskovacik/hw/blob/master/kicad/library/datasheet/ is broken. Can you point me to the tool? I just need to change the name and PIN on a commodity OV3860 model. can I do this from the tool without manually reprogramming the EEPROM? It sounds like this tool can do that?

    OdpovedaťOdstrániť
    Odpovede
    1. https://github.com/tomaskovacik/kicad-library/

      Odstrániť
    2. Thank you so much! I was able to write up my own experience at https://lab.remaker.com/2017/10/i-link-bluetooth-change-bluetooth-name.html, mostly thanks to you and your help, as well as the writeup at https://hackaday.io/project/9729-raspberry-pi-portable-workbenchproject-christoph/log/33720-reflashing-i2c-eeproms-while-hacking-an-ovc3860-bluetooth-adapter

      Odstrániť
  5. I have successfully changed my XS3868's baudrate to 9600 but I want to revert back to the 115200 baudrate. Please tell me how to do it. The RevD tool is not responding to 9600 baudrate.

    OdpovedaťOdstrániť
    Odpovede
    1. tool does not depend on settings on this, simply start app and connect module, or if you connect module before starting app, simply restart module

      Odstrániť
  6. Thanks for the quick response. I tried it out and it did work! Also, please tell me if there's any way to change my Module's name. I can't seem to find it.

    OdpovedaťOdstrániť
    Odpovede
    1. are you really placing this question under the blog post named "OVC3860 how to change name" ? :D

      Odstrániť
  7. Haha, I am aware of that. It's just that I couldn't find the steps to modify the name of the BT module in the tool. Also, I'm documenting all of the things in an instructable therefore I must know about everything regarding this.

    OdpovedaťOdstrániť
  8. Please tell me how to do it. I'm a bit confused. Do I only have to connect RESET and GND and then open the tool?

    OdpovedaťOdstrániť
    Odpovede
    1. start software, then connect serial port to module and start module, it should connect to module automaticaly if you connect your module before starting SW, simply restart module by connecting reset pin to ground. Then push "Read All" button, next find key named "localname" and change his "value" to new name of you module, hit "Write selected" Button and you are done. For other keys take a look at documentation pdf at github

      and check datasheets at github link at bottom of blog

      Odstrániť
    2. 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/

      Odstrániť