Shop OBEX P1 Docs P2 Docs Learn Events
connect bluetooth module with mobile phone — Parallax Forums

connect bluetooth module with mobile phone

jihyeonjihyeon Posts: 6
edited 2009-11-13 06:44 in General Discussion
i'm currently doing a project.

we're now stuck at this step, which is to connect the easy bluetooth module with a mobile phone.
the bluetooth module is inserted into board of education board. so we use the PBASIC code to run it.

after the mobile phone paired up with bluetooth module, how to make them communicate with each other?
Example, the bluetooth module sent a signal then the mobile phone receive it.
does anyone have any ideas or sample codes?

It will be much appreciated if someone explains how the bluetooth works because we have absolutely no knowledge of it.
Thanks very much.

Comments

  • FranklinFranklin Posts: 4,747
    edited 2009-09-15 03:55
    You need to teach your phone to understand serial communications. Once you do that you can write code to send and receive serial strings between the two. We can show you how to do the stamp side of things.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • jihyeonjihyeon Posts: 6
    edited 2009-09-17 08:29
    we using board of education board.

    so is there a way or sample code to configure the bluetooth module to be on or off using basic stamp?

    Post Edited (jihyeon) : 9/17/2009 8:38:12 AM GMT
  • FranklinFranklin Posts: 4,747
    edited 2009-09-19 02:28
    http://www.parallax.com/Store/Accessories/Communication/tabid/161/CategoryID/36/List/0/Level/a/ProductID/550/Default.aspx?SortField=ProductName%2cProductName
    In the downloads and resources section

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • jihyeonjihyeon Posts: 6
    edited 2009-11-10 14:02
    hey thanks steven, we can now on n off the bluetooth mod.

    we now still stuck on the serial comm thing. can anyone help us out? thanks.
  • Mike GreenMike Green Posts: 23,101
    edited 2009-11-10 14:22
    This question has come up before (same class project?) It is very very dependent on the specific mobile phone used and on the phone's operating system. Very few phones even have the capability of communicating with a Bluetooth device using this serial comm protocol. You will have to do your own investigating of the phone's SDK to see if it's possible and how to do it. There's no sample code available here. The Easy Bluetooth module provides a standard Bluetooth serial comm link and any device that provides the same at the other end of the link should work with it.
  • TumblerTumbler Posts: 323
    edited 2009-11-10 18:34
    Last week i experimented with bluetooth and a nokia 5200.
    I posted a little 'howto' at·savagacircuits forum

    Maybe this will help you further.

    http://forums.savagecircuits.com/index.php?topic=105.0

    regards
    T·
  • jihyeonjihyeon Posts: 6
    edited 2009-11-13 06:44
    thank u guys for the reply. =)

    thanks Tumbler, we can work that out. but now we have to use bluetooth module to communicate instead.
    is there a way to program the basic stamp to ask bluetooth module to output on the hyperterminal?

    and anyone know how to set the baud rate of bluetooth module to 115200 Baud?

    thanks again.
Sign In or Register to comment.