Saturday, July 7, 2012

Windows: Communicating with a HC-06 bluetooth module

On this post, I'll cover the PC-side configuration needed to communicate with a HC-06 bluetooth module. For more information about the HC-06 module per se (pinout, recommended electrical connection, AT commands and more) check this post.

The process is straightforward in Windows.

Discovery


Double click the Bluetooth icon in your taskbar. Or alternatively, go to Control Panel > Hardware and Sound > Devices and Printers > Add a device.

On this new window, click on the "Add a device" button in the menu.

Discovery of bluetooth devices.

Windows will start searching for nearby bluetooth devices (your HC-06 module should be powered by now).

Pairing


From the list of discovered devices, select your HC-06 module. You should be able to see it's name (linvor is the default name) and it should be listed under the Other category.

On the new window, select the "Pair without using a code" option.

Pairing with the HC-06 module

Checking


You should see the "Installing device driver software" bubble by now. When the installation is done, we'll be able to check the properties of the HC-06 module. Right click on the device and select properties. The important information is under the "Services" tab of the properties window.

Checking the HC-06 module properties.

Communication


After pairing with the HC-06 module, it will be registered as a "COM" port, and you'll be able to communicate with it, using any serial port emulator (e.g. qSerialTerm)

On the first connection to the module, you'll be asked for the pin (the default pin is 1234).

Inserting the pin on the first connection.

Enjoy


That's all, go ahead and play with your bluetooth module.

Testing the bluetooth module.


39 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
    Replies
    1. Embedded Programmer: Windows: Communicating With A Hc-06 Bluetooth Module >>>>> Download Now

      >>>>> Download Full

      Embedded Programmer: Windows: Communicating With A Hc-06 Bluetooth Module >>>>> Download LINK

      >>>>> Download Now

      Embedded Programmer: Windows: Communicating With A Hc-06 Bluetooth Module >>>>> Download Full

      >>>>> Download LINK HS

      Delete
  2. Hi, Do I need a BT Device already attached with my PC. or HC-06 will connect PC via serial port?

    ReplyDelete
    Replies
    1. Hello Chulla,

      Your PC must have bluetooth (either built internally or via a Bluetooth dongle). This is because the HC-06 is a slave Bluetooth device, so your PC must start the communication.

      On the HC-06 side, you can connect a microcontroller or any other UART capable device. You can configure the HC-06 module before linking the module with your PC.

      See this post for more information about the HC-06.

      Delete
  3. Hi, I'm not sure if you will be able to help but its worth a try:

    I am making a project where I (for now) just trying to get the PC to send commands to a microcontroller via bluetooth using the HC-06 module.

    My supervisor for uni has already tested it out and it works for him. I am having problems getting the hc-06 to talk to the microcontroller. The connection to the PC seems fine for now.

    I know theres no communication because after programming the mc to configure the hc-06 module to my own settings, the PC does not pick up these changes.

    By this I mean, I changed the default name linvor and password 1234 to my own but my customised name is not coming up neither does the customised password work.

    I hope you can help

    Thank you

    Hana

    ReplyDelete
    Replies
    1. Hello Hana,

      I strongly advise you check this post:
      http://embeddedprogrammer.blogspot.com/2012/06/ubuntu-hacking-hc-06-bluetooth-module.html
      It contains general information about the HC-06, you'll find it useful whether you are using Windows or Ubuntu.

      About your issue, does the HC-06 retains its default configuration (name: linvor and pin:1234)? If the answer is yes, then this means you are not correctly configuring the HC-06.

      Consider the following:

      + The HC-06 stores its configuration in non-volatile memory. This means the HC-06 will remember its last configuration (e.g. you changed its name) even if you power it off.
      + The HC-06 can only be configured when it's unpaired.
      + The HC-06 will "reply" after receiving a configuration command, be sure to check that you are receiving a correct reply.
      + Be sure to use the correct baud rate (the last you configured, which is not necessarily the default 9600).

      Good Luck.

      Delete
  4. Am curious why you pair without the code? Having tried a number of different things, my experience is, for some reason, the connection / PIN popup is for some reason hidden, and never appears. Eventually the connection attempt times out, and the connection fails.

    Pairing with the code hasn't made any difference - the HC)6's simply won't connect as virtual com ports regardless, but was curious all the same.

    This has been a frustrating struggle.

    ReplyDelete
  5. Wow, it really helped me to pair my bluetooth adapter with pc. Thanks

    ReplyDelete
  6. Hi is it possible to connect an HC-06 to my serial printer and connect my laptop with Bluetooth to the printer to make it a wireless printer?
    Thanks
    Bill

    ReplyDelete
  7. Can I use the HC-06 to connect an old device that uses a 9 pin serial port? Right now I have the old device connected with a 9 pin serial to USB adapter. If it is possible to do this, how would I connect it up? I am very electronic savvy, I just don't know much about PC communication ports. Thank you!

    ReplyDelete
  8. Selling USA FRESH SPAMMED SSN Leads/Fullz, along with Driving License/ID Number with EXCELLENT connectivity.

    **PRICE**
    >>1$ FOR EACH FULLZ WITHOUT DL NUMBER
    >>2$ FOR EACH LEAD/FULLZ/PROFILE
    >>5$ FOR EACH PREMIUM LEAD/FULLZ/PROFILE

    **DETAILS IN EACH LEAD/FULLZ**

    ->FULL NAME
    ->SSN
    ->DATE OF BIRTH
    ->DRIVING LICENSE NUMBER WITH EXPIRY DATE
    ->ADDRESS WITH ZIP
    ->PHONE NUMBER, EMAIL, I.P ADDRESS
    ->EMPLOYEE DETAILS
    ->REALTIONSHIP DETAILS
    ->MORTGAGE INFO
    ->BANK ACCOUNT DETAILS

    >All Leads are Tested & Verified.
    >Invalid info found, will be replaced.
    >Serious buyers will be welcome & I will give discounts on bulk orders.
    >Fresh spammed data of USA Credit Bureau
    >Good credit Scores, 700 minimum scores
    >Bulk order will be preferable
    >Minimum order 20 leads/fullz
    >Hope for the long term business
    >You can asked for samples, specific states & zips (if needed)
    >Payment mode BTC, ETH, LTC, Paypal & PERFECT MONEY

    Email > leads.sellers1212@gmail.com
    Telegram > @leadsupplier
    ICQ > 752822040

    ''OTHER GADGETS PROVIDING''

    >SSN Fullz
    >CC fullz
    >Dead Fullz
    >Carding Tutorials
    >Hacking Tutorials
    >SMTP Linux Root
    >DUMPS with pins track 1 and 2
    >Sock Tools
    >Server I.P's
    >USA emails with passwords (bulk order preferable)

    **Contact 24/7**

    Email > leads.sellers1212@gmail.com
    Telegram > @leadsupplier
    ICQ > 752822040

    ReplyDelete
  9. **SELLING SSN+DOB FULLZ**

    CONTACT
    Telegram > @leadsupplier
    ICQ > 752822040
    Email > leads.sellers1212@gmail.com

    >>1$ each without DL/ID number
    >>2$ each with DL
    >>5$ each for premium (also included relative info)

    *Will reduce price if buying in bulk
    *Hope for a long term business

    FORMAT OF LEADS/FULLZ/PROS

    ->FULL NAME
    ->SSN
    ->DATE OF BIRTH
    ->DRIVING LICENSE NUMBER WITH EXPIRY DATE
    ->COMPLETE ADDRESS
    ->PHONE NUMBER, EMAIL, I.P ADDRESS
    ->EMPLOYMENT DETAILS
    ->REALTIONSHIP DETAILS
    ->MORTGAGE INFO
    ->BANK ACCOUNT DETAILS

    >Fresh Leads for tax returns & w-2 form filling
    >Payment mode BTC, ETH, LTC, PayPal, USDT & PERFECT MONEY

    ''OTHER GADGETS PROVIDING''

    >SSN+DOB Fullz
    >CC with CVV
    >Photo ID's
    >Dead Fullz
    >Carding Tutorials
    >Hacking Tutorials
    >SMTP Linux Root
    >DUMPS with pins track 1 and 2
    >Sock Tools
    >Server I.P's
    >HQ Emails with passwords

    Email > leads.sellers1212@gmail.com
    Telegram > @leadsupplier
    ICQ > 752822040

    THANK YOU

    ReplyDelete

  10. So nice I am enjoying for that post as for u latest version of this Security tool Available
    windows-crack

    ReplyDelete
  11. Embedded Programmer: Windows: Communicating With A Hc-06 Bluetooth Module >>>>> Download Now

    >>>>> Download Full

    Embedded Programmer: Windows: Communicating With A Hc-06 Bluetooth Module >>>>> Download LINK

    >>>>> Download Now

    Embedded Programmer: Windows: Communicating With A Hc-06 Bluetooth Module >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete
  12. TeraCopy Pro 2022download360.net/teracopy-pro-crack/ will overwrite all files. You can delete data from the disk or send them to a processing container. You can use CRC values ​​to compare an object in the source with an object created, and you can specify an automatic end

    ReplyDelete
  13. Nice Blog. Thanks for sharing with us. Keep Sharing!!

    Do you want to buy Windows Embedded Panel PCs Online?

    Buy Windows Embedded Panel PCs Online

    ReplyDelete