Arduino to Phone Bluetooth Module

I have a project where I want to connect my Arduino to my phone (HTC Desire C) over bluetooth. I have never tried using bluetooth on Arduino before so I want to make sure that I buy something that will work.

I am trying to send sensor data from the Arduino to the phone. Pairing should be as easy as possible. Would either of these work properly for this and if so, where could I find a tutorial on using it? Or, is there something simpler to use?

http://www.ittgroup.ee/et/e-shop/detail/22-juhtmevaba-side-moodulid/flypage/223-bluetooth-btbee-moodul?sef=hcfp

shiznatix:
Or, is there something simpler to use?

Yes. Try this basic information

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf

http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino

Nick_Pyner:
Yes. Try this basic information

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf

http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino

Thanks, seams simplier than I was fearing. I wasn't able to find anything on sparkfun but I found this:
http://dx.com/p/hc-05-wireless-bluetooth-serial-pass-through-module-for-arduino-green-240417
Will that one work for this nice and easily? If so, how do I know what the pin configuration is on the module? Is this datasheet reliable: http://www.exp-tech.de/service/datasheet/HC-Serial-Bluetooth-Products.pdf?

Edit:
After looking at those, shouldn't this one work just as easily as the HC-05 models?
http://www.ittgroup.ee/en/e-shop/detail/22-wireless-modules/flypage/387-bluetooth-40-serial-module?sef=hcfp

shiznatix:

Nick_Pyner:
Yes. Try this basic information

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf

http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino

Thanks, seams simplier than I was fearing. I wasn't able to find anything on sparkfun but I found this:
http://dx.com/p/hc-05-wireless-bluetooth-serial-pass-through-module-for-arduino-green-240417
Will that one work for this nice and easily?

No. Look closely you will see that it is bare module, the same as on a shield or a JYT-MCU backboard. Another $2 will see you with the full bottle and it is best to stay way from these.

Is this datasheet reliable: http://www.exp-tech.de/service/datasheet/HC-Serial-Bluetooth-Products.pdf?

It's reliable but not nice to read and only covers the bare module. Other data sheets aren't any better.

Edit:
After looking at those, shouldn't this one work just as easily as the HC-05 models?
http://www.ittgroup.ee/en/e-shop/detail/22-wireless-modules/flypage/387-bluetooth-40-serial-module?sef=hcfp

Again that is a bare module and the same comment applies. It is hard to see where the HM-10 is going. It may be the way of the future, but I don't think its time has come. I understand they keep changing the protocols etc., and it's probably not worth the trouble for an Android user.

A standard JY-MCU is just a few dollars on eBay and is all you need

Can you elaborate on what you mean by a "bare module"?

Sadly ebay almost always gives me trouble with shipping to Estonia. Can you give me a link to something that would work and I can try to find it on sparkfun or dx.com?

Look closely at the link you have posted. You will see that the board is a single board with the contacts around the edges like a postage stamp. Check the original lint to ITT eesti. Its the same module but on a shield. Check the JY-MCU on eBay. it is the same module HC-05 or HC-06 but on a little backing board like a sandwich. This enables you to make ordinary 2.54mm pin connections and all the level shifting is done for you. Trust me, stay away from bare boards!

So by "bare module" you mean not to get a module that doesn't have headers soldered on it yet? While I have never soldered headers onto a postage-stamp style module like this, I can't see it being much more difficult than soldering headers onto a regular component. Or, am I missing something?

I found this on ebay:
http://www.ebay.co.uk/itm/1-2-3-4x-Arduino-JY-MCU-HC-06-Wireless-Bluetooth-Serial-RF-5V-Transeiver-Module-/400627762519?pt=UK_BOI_Electrical_Components_Supplies_ET&var=&hash=item5d47468557
But this just seams like the same component soldered to a shiled with 4 headers. Why would it be unwise to just buy one without the headers and solder them on myself?

If I am not mistaken though, they are all basically the same thing though but with just different ways of getting the header pins out.

Also, what issues could I run into if I used the HM-10 module from the ITTGroup website? Since this is the only one available in a shop near me, it would be easist to grab and for only 10eur its not bad. I just dont want to buy it and find out that it doesn't work with certain Android phones or is broken in some way.

shiznatix:
So by "bare module" you mean not to get a module that doesn't have headers soldered on it yet? While I have never soldered headers onto a postage-stamp style module like this, I can't see it being much more difficult than soldering headers onto a regular component. Or, am I missing something?

Well, that depends on your soldering skills, but one thing you are missing is the price difference - $2. Why would you do it when you can get it ready to go for $2 extra? Not only that, but for the $2 you get the LED and level shifting circuitry as well. Look closely. It isn't just the header soldered onto the bare module. As I said, it is a sandwich.

Also, what issues could I run into if I used the HM-10 module from the ITTGroup website? Since this is the only one available in a shop near me, it would be easist to grab and for only 10eur its not bad. I just dont want to buy it and find out that it doesn't work with certain Android phones or is broken in some way.

You have to make your own decision on that. Google letsmakerobots hm-10. I just think they are too much trouble and too expensive. They claim to be a direct replacement for the HC-05. I won't believe that until I see one on a JY-MCU board.

Nick_Pyner:
Well, that depends on your soldering skills, but one thing you are missing is the price difference - $2. Why would you do it when you can get it ready to go for $2 extra? Not only that, but for the $2 you get the LED and level shifting circuitry as well. Look closely. It isn't just the header soldered onto the bare module. As I said, it is a sandwich.

Well for me I have to pay shipping and wait usually around 2 weeks for stuff to get over to Estonia. Since I can pick one of these things up tomorrow, the extra 30 minutes of work to get the headers on neatly and everything isn't such a big deal.

Also, is this one pretty much what you were thinking? I was thinking of just ordering this since I dont need the master abilities and this seams quite nicely packaged:
http://dx.com/p/jy-mcu-arduino-bluetooth-wireless-serial-port-module-104299

shiznatix:
Well for me I have to pay shipping and wait usually around 2 weeks for stuff to get over to Estonia. Since I can pick one of these things up tomorrow, the extra 30 minutes of work to get the headers on neatly and everything isn't such a big deal.

You will regret it.

[/quote]
Also, is this one pretty much what you were thinking? I was thinking of just ordering this since I dont need the master abilities and this seams quite nicely packaged:
[/quote]

That's exactly it. The price is right and you get the cable too. With Android phone, the Android is always the master and the HC-06 should be fine. I have had trouble with my tablet. It won't look at the HC-06 but it is fine with an HC-05. I blame the tablet, it's pretty clunky. Buy the HC-06 or a similar HC-05 for a similar price, and if they have a blank JY-MCU board, buy that too.

i'll repeat it because i don't think you quite understood.

it's NOT Just a case of soldering the headers - there's EXTRA components as well, the "sandwich" being referred to.

retronet_RIMBA1ZO:
i'll repeat it because i don't think you quite understood.

it's NOT Just a case of soldering the headers - there's EXTRA components as well, the "sandwich" being referred to.

Can you elaborate on that? What extra components are found in this "sandwich" other than the headers?

shiznatix:

retronet_RIMBA1ZO:
i'll repeat it because i don't think you quite understood.

it's NOT Just a case of soldering the headers - there's EXTRA components as well, the "sandwich" being referred to.

Can you elaborate on that? What extra components are found in this "sandwich" other than the headers?

i'm too new to know, but just have a look at it yourself;

the JY-MCU board (incl. HC-05 Bluetooth module)

and just the HC-05 Bluetooth module

Aye I understand that, but if anyone could shed some light on exactly what the JY-MCU board includes that would be nice.

I have ordered the ones from dx.com with the JY-MCU board so hopefully they will be shipped and arrive soon so I can continue on this project.

I have already told you. It carries the LED and the level shifting circuitry. In case you miss the significance of that, the HC-0x is a 3.3v device and the level shifting circuits mean you can use it with confidence in the 5v world. The peripheral circui9try is on the data sheet.

I understand the JY-MCU also plays a part in the antenna performance, but I don't know how that works, or if it really does.

And in case you have not actually seen one, the smd pads are spaced at 1.5mm, as also clearly outlined on the data sheet, not 2.54 as you would expect, thereby further complicating its installation in the familiar world.

When I say trust me, I mean it. When I say you will regret it, I mean you surely will. This is the voice of experience speaking. If you don't trust me and you think I'm lying when I say you will regret it, at least pop the $3-50 on a blank JY-MCU board as soon as you can, because that will lessen the chances of me saying "I told you so".

Correct me if I'm wrong, but I don't believe it has the level conversions for the tx/rx pins. They are 3.3v. Arduino can accept 3.3v on a pin and it will treat it as if it had been 5v, but it won't work the other way around, you can't pump 5v into the rx pin on the bluetooth modual. A simple 1k/2k voltage divider will fix that

No worries, I trust you :slight_smile:

I was just trying to get everything clear in my head and now I believe I have it. I went with this one:

and I expect it to be a fairly simple setup.

Anyway, thanks for the last piece of info, just wanted to make sure that was what it was. As for the voltage regulation, I have some spare logic level converters laying about so thats not a worry for me.

Displacer:
Correct me if I'm wrong,

You are.

shiznatix:
No worries, I trust you :slight_smile:

That's OK then....
I don't think you can go wrong with that choice. I have one the same. It's the right price and it even comes with a cable. Somewhere along I believe it was wrongly identified as an HC-05, but it is an HC-06. You don't need an HC-05 for what you want anyway. Indeed, I have yet to find when an HC-05 will fulfill a perceived need, perhaps when used with a game controller. And don't bother about voltage levels. It's all baloney.

I have been running mine for months, using Bluetooth Terminal Graphics. I can't tell you how pleased I am with that little gem of an app. It was recently upgraded to support floating point.

Nick_Pyner:
...
...
I have yet to find when an HC-05 will fulfill a perceived need, perhaps when used with a game controller. And don't bother about voltage levels. It's all baloney.
...
...

i haven't gotten there yet either, but perhaps when the Arduino has to be the master, in which case you might have to go into AT mode to enter the pairing code.