ITead Bluetooth v2.2 Shield Arduino Android Help Needed

Hello,

I'm new to this forum. So first things first, hello!

I am trying to interface my Arduino Uno with a bluetooth shield that I just purchased. The bluetooth shield can be found at the following link. I've been able to set the shield up to communicate with info I've found online at…

http://iteadstudio.com/store/index.php?main_page=product_info&cPath=18&products_id=468

I'm able to setup the shield with the following commands...

set as slave

AT+ROLE=0

set uart baud rate with stopbit, no parity

AT+UART=38400,1,0

connect to any address

AT+CMODE=1

The issue is that I can't get my HTC Thunderbolt to recognize the ITEAD BT shield.

My macbook air finds the shield just fine. With my Mac I can use coolTerm to connect to the shield via bluetooth. What I then send via bluetooth is transmitted on the serial and displayed again on my mac in the arduino serial port monitor.

I am using ITead's bluetooth app for Android. The app can be found here...
http://iteadstudio.com/application-note/make-arduino-talk-with-android-by-bluetooth/

If anyone has any experience with this shield, a similar one, or any thoughts on what could be going wrong help would be greatly appreciated. I can't figure out why my mac can see the shield but my android can't!

Thanks!

Has anyone had issues with this shield?

Hi!

Welcome to the forum!

I have seen this problem before where a Android doesn't seen the bluetooth device. Especially on the cheap devices etc HC-05 and HC-06.

I found that somehow not all Android apps can detect them.

Have you tried a different app? I use BlueTerm and it works almost every time. Is it available on Google Play Market...

Hope it works for you.

Maybe this will help..

It is my page.

Have a look at the BennyBlue robot. It have a app made be me. Although the robot uses the RN-42 module, it should work for you.

kucza83:
Hi!

Welcome to the forum!

I have seen this problem before where a Android doesn't seen the bluetooth device. Especially on the cheap devices etc HC-05 and HC-06.

I found that somehow not all Android apps can detect them.

Have you tried a different app? I use BlueTerm and it works almost every time. Is it available on Google Play Market...

Hope it works for you.

Hello, thanks for the advice. I tried downloading BlueTerm and didn't have success. I also tried downloading your BennyBlue file but it seems to say that the zip archive is invalid when I go to extract the file. I am wondering if it is still something with the shield possibly? I have tried two different HTC Thunderbolts and an HTC EVO. None of the phones detect them. The phones do not detect the shield from within the bluetooth monitoring app. Also, I think one thing that is probably important to note is that the device itself does not show up when you scan for devices in the Android settings themselves (Outside the app...In Wireless and Networks). Any thoughts?

BennyBlue file but it seems to say that the zip archive is invalid when I go to extract the file.

ill fix it...

I am wondering if it is still something with the shield possibly?

I dont think so...

Can i have a look and your Arduino code?

... And your module is in DATA mode... right.... :stuck_out_tongue:

kucza83:
... And your module is in DATA mode... right.... :stuck_out_tongue:

Yes the switch is in the data position. I've power cycled it numerous times. As for the code I am just using the BLINK example that comes with Arduino. I've seen commands before like AT+INQ before. Should I be using that command? Are there any commands that you can think of that I might need that I haven't used?

When you power up the device what is the status of the LED??

From the data sheet:

When disconnected LED blinks 1time/2sec
When connected LED blinks 2times/1sec

Have you ever had the bluetooth device turned on and your computer off at the same time?

Im suspecting the bluetooth device is automatically pairing with your computer....

kucza83:
When you power up the device what is the status of the LED??

From the data sheet:

When disconnected LED blinks 1time/2sec
When connected LED blinks 2times/1sec

Have you ever had the bluetooth device turned on and your computer off at the same time?

Im suspecting the bluetooth device is automatically pairing with your computer....

Yes I believe I have tried this all as well. I've spent countless hours of just hopefully guessing. Anyway I just turned the bluetooth off on my laptop. I then disconnected power to my arduino with shield. Plugged it into the wall. The switch is in data mode. The status LED is blinking fast. It should be the 2times/sec setting. I can't find the shield when scanning from my phone OS settings or the app. :frowning:

The status LED is blinking fast. It should be the 2times/sec setting.

Then it is connected to something.... :astonished:

Maybe use the AT+ STATE? to confirm...

kucza83:

The status LED is blinking fast. It should be the 2times/sec setting.

Then it is connected to something.... :astonished:

Maybe use the AT+ STATE? to confirm...

It blinks fast when I power it up with the switch in DATA mode. It blinks slow when I power it up in CMD mode. I powere it up in CMD mode and did an AT+ STATE? request. I got INITIALIZED as the state. I have the jumpers such that the RX on the shield connects to RX on the arduino (pin0) and tx of shield is hooked to tx of arduino (pin2).

Any thoughts? What exactly does the blinking mean? The datasheet is difficult to follow. What connection are we talking about is established? A bluetooth connection?

Anyone seen a similar issue to this? Still struggling with this one. No reply from several emails and posts to ITead either.

Wow. I finally figured it out after lots and lots of wasted hours searching. It looks like some BT modules aren't found by certain phones. Anyway below is a link that can help.

In particular the following text...

Some android devices can't see Bluetooth devices that have a device class of 0 (which is the bluetooth bee default). I'd suggest setting the device class, in my case the command looks like: "AT+CLASS=0x8C080C\r\n". You can generate a device class numbers from this CoD Generator

NOTE: I did not enter the 0x in the AT Command for it to work though. Upon entering 0x and then requesting the CLASS state I'd get a 0. So get rid of that 0x!

Hi.

I'm back from a little holiday 8)

Cool you got it working, sorry i couldn't help that much! :drooling_face:

Happy building!

dcel22:
Wow. I finally figured it out after lots and lots of wasted hours searching. It looks like some BT modules aren't found by certain phones. Anyway below is a link that can help.

Robotic Recreation: Android Arduino communication

In particular the following text...

Some android devices can't see Bluetooth devices that have a device class of 0 (which is the bluetooth bee default). I'd suggest setting the device class, in my case the command looks like: "AT+CLASS=0x8C080C\r\n". You can generate a device class numbers from this CoD Generator

NOTE: I did not enter the 0x in the AT Command for it to work though. Upon entering 0x and then requesting the CLASS state I'd get a 0. So get rid of that 0x!

i have followed this tutorial but the problem still the same. My android cannot detect the BT Shield...any solution for this ?
thanks.