Communication using a Bluetooth module


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Communication using a Bluetooth module

    The HC-06 module (if you have the backplane with it too) has a state output...
    This output toggles on and off when not paired and is solid on if it it...
    So, you can write a routing that looks to see if this pin is on or off and waits to see if it's status changes.

    Also, the pic can send an "AT" to the HC-06, if it receives an "OK" then the module is NOT paired...
    However, if the module IS paired and an "AT" is sent then the "AT" is transmitted to the phone where the phone could be programmed to reply with it's own code... or not reply at all... In ether case the pic will know it's paired...

  2. #2
    Join Date
    May 2011
    Location
    Bangalore, India
    Posts
    33


    Did you find this post helpful? Yes | No

    Default Re: Communication using a Bluetooth module

    Thanks a lot, Robert, Amoque and comwarrior for your helpful replies.

    Replies from Robert and comwarrior give me the following idea: Once the device wakes up from sleep, keep checking pin 24 (Status LED) of the BT module for high pulse width. If and when the pin is continuously high, it means that the connection with the phone is established.

    Amoque, I am using Samsung Android phone and the app Tasker (or ITTT) has many uses and I am sure, I will be using it for one of my future projects.

    Bala

Similar Threads

  1. RN41 Bluetooth Module
    By gavo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 30th July 2013, 17:13
  2. Bluetooth module for Ipod?
    By DanPBP in forum Bluetooth
    Replies: 3
    Last Post: - 10th October 2012, 17:16
  3. Bluetooth Module, SKKCA-21, Cytron
    By arson88 in forum Bluetooth
    Replies: 3
    Last Post: - 19th March 2012, 17:44
  4. Bluetooth module @ 3.3 volts
    By ardhuru in forum Bluetooth
    Replies: 9
    Last Post: - 22nd January 2012, 05:09
  5. What bluetooth module to choose?
    By mbox in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 9th November 2009, 00:01

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts