EDIT:
Arduino library for this module with support of change module name even if AT commands did not works.
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
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 ?
ReplyDeleteRegards Pawel
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.
DeleteThanks, 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 ?
DeleteI 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 ....
Deleteok, I see,
DeleteSync 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)
and then, I look at [1] and there is no AT#P* commands mentioned :(
Delete[1]: https://github.com/tomaskovacik/hw/blob/master/kicad/library/datasheet/BLK-MD-SPK-B_AT_Commands_OVC3860_List.pdf
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 !
DeleteMine 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
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?
DeleteI 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.
ReplyDeleteI 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
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
ReplyDeleteThe 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?
ReplyDeletehttps://github.com/tomaskovacik/kicad-library/
DeleteThank 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
DeleteI 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.
ReplyDeletetool does not depend on settings on this, simply start app and connect module, or if you connect module before starting app, simply restart module
DeleteThanks 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.
ReplyDeleteare you really placing this question under the blog post named "OVC3860 how to change name" ? :D
DeleteHaha, 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.
ReplyDeletePlease 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?
ReplyDeletestart 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
Deleteand check datasheets at github link at bottom of blog
I have written a a whole, detailed instructable on this topic. Hope it helps you all.
DeleteHere it is:
https://www.instructables.com/id/Change-Bluetooth-HeadsetSpeakerAdapters-Name-or-Ot/
Outstanding instructable, Utkarsh. Thanks for linking to my blog post.
DeleteYour article helped a lot and I didn't feel like stealing credit. :)
Deletecan anyone help me with the btsys_mode settings?
DeleteHi Kovo,
ReplyDeleteNice work !!!
I do have an USB BT dongle with the AVC3960 chipset and want to change localname. So I tried to connect with the program you provided but sadly, no connection possible.
Would you have any elements for me in order to progress ?
Regards
Hi Kovo,
ReplyDeleteNice work !!!
I do have an USB BT dongle with the AVC3960 chipset and want to change localname. So I tried to connect with the program you provided but sadly, no connection possible.
Would you have any elements for me in order to progress ?
Regards
Sorry I meant OVC3960.
ReplyDeleteI'm able to communication through AT commands but no idea how to set the LocalName...
Hi Kovo,
ReplyDeleteThanks for this precious howto.
I managed to change the localname and all these annoying sounds on every changes.
Now, I'm looking for a way for "disabling" the horrific buzz heared after 5 sec while the music is paused (whereas it disappears while playing music).
I think the audio amplifier part should be pushed in low power state, opening the audio circuit and letting the noise be amplified.
I have tried to modify (separately) many settings by adding a 2 multiplication factor of each default value and testing the effect, but I did no hear any changes.
Here are the tested settings :
waketime, sbc_max_mute_num, mute_opt_flag, sleep_delay_count, idle_waketime, idle_wakecount, sleep_intcount.
If any one has an idea ?
Thanks
I do not know, but using MUTE signal should take care of this, at least based on module datasheet this signal should controle mute on poweramp
DeleteYou can connect laudio and raudio via 470ohm resistors to analog ground. The noise will disappear immediately after pausing the playback.
DeleteHi Clikd,
ReplyDeleteWhat kind of help do you need regarding this setting ?
Real protocol:
ReplyDeleteFrom OVC: 2018-09-15 15:55:00,6266275 +5,4945292
04 0F 04 00 01 00 00 .......
From PC: 2018-09-15 15:55:00,9013496 +0,0000120
C5 C7 C7 C9 D0 D7 C9 D1 CD ЕЗЗЙРЧЙСН
Answer from OVC: 2018-09-15 15:55:00,9032590 +0,0018052
04 0F 04 01 01 00 00 .......
----------------------------------------------------------------
From PC (read NAME): 2018-09-15 15:55:34,3838654 +33,4730967
11 C7 00 10 .З..
Answer from OVC (NAME is “LPAIS_blue”): 2018-09-15 15:55:34,3914584 +0,0000377
21 C7 00 10 4C 50 41 49 53 5F 62 6C 75 65 00 FF !З..LPAIS_blue.я
FF FF FF FF яяяя
----------------------------------------------------------------
From PC (write NAME “LpaisBlue”): 2018-09-15 16:09:58,9552702 +43,6714309
31 C7 00 10 4C 70 61 69 73 42 6C 75 65 00 FF FF 1З..LpaisBlue.яя
FF FF FF яяя
Answer from OVC: 2018-09-15 16:09:58,9779393 +0,0053315
41 C7 00 10 AЗ..
----------------------------------------------------------------
From PC (read PASSWORD): 2018-09-15 15:55:59,8614883 +25,4570789
11 BF 00 08 .ї..
Answer from OVC (PASSWORD is “0000”): 2018-09-15 15:55:59,8689466 +0,0000080
21 BF 00 08 30 30 30 30 00 FF FF FF !ї..0000.яяя
----------------------------------------------------------------
From PC (write PASSWORD “1234”): 2018-09-15 15:56:29,8251861 +29,9446977
31 BF 00 08 31 32 33 34 00 FF FF FF 1ї..1234.яяя
Answer from OVC: 2018-09-15 15:56:29,8446201 +0,0140072
41 BF 00 08 Aї..
----------------------------------------------------------------
From PC (read PASSWORD): 000071: 2018-09-15 15:56:43,4235981 +13,5768873
11 BF 00 08 .ї..
Answer from OVC (PASSWORD is “1234”): 2018-09-15 15:56:43,4288520 +0,0000031
21 BF 00 08 31 32 33 34 00 FF FF FF !ї..1234.яяя
https://github.com/tomaskovacik/OVC3860/wiki
Delete;)
Some description to the transfer protocol descibed above. I send AT#MX commads and there was no reply. Then I used OVC3860 Programming tool. First of all this programm works only with COM1. It didn't work with any adapters - so only straight COM1. I haked transfer protocol (see it above). The point is that device send
ReplyDelete<04 0F 04 00 01 00 00> and waiting for some miliseconds (IMPORTANT!! - U cannot do it by hands - delay will be very big and device will skip enterening programm mode) for reply from PC . Then it enters programming mode and time is no matter after that. Now U can change NAME, PASSWORD, and all other parameters. Transfer speed is 115200.
Or use library from my githib which use config mode
Delete