Android phone doesn't recognize Arduino board - android

I have a Samsung Galaxy Gio and want to connect it to an Arduino Leonardo. I use the Stackable Bluetooth Shield 2.1 from ITead Studio.
It works with a Windows PC (I can send and receive strings with PuTTY), but my phone doesn't even recognize it - the Bluetooth device list is empty.
The strange thing is that a Galaxy S recognizes the Arduino immediately. And my phone can see all other Bluetooth devices - except the Arduino.
Why can't my Gio recognize the board, when all other devices work?

Well, I finally found the problem!
Apparently the Galaxy Gio with Android v2.3.6 has some problems with "special" Bluetooth devices - like Arduino boards.
I installed CyanogenMod (I think it's Version 7.1 or 7.2) on the phone and after that it had no problems recognizing the board. That's because CyanogenMod contains many fixes for Bluetooth and other problems.
Now I'm using ITEAD BT Debugging Assistant to send and receive strings from/to my board.

Related

ATD command not working on android phone (SAMSUNG S8) bluetooth modem

I am developing a C# Windows app with feet32 library that is suppossed to initiate phone calls on a cell phone (in my case SAMSUNG S8) through bluetooth by passing ATD command. I have spent days trying to make it work. Unfortunately, I keep getting CME error message code 4 (operation not supported). I have tried different Bluetooth services including HandsFree etc. No success. What could be the reason? I am new to Bluetooth or AT commands topics and I got lost a little bit.

Android Studio Bluetooth LE gatt sample scan finds RN4871 on samsung galaxy 3 & alcatel fierce XL, but cannot on both of my HTC 's

I have compiled and signed the sample and it scans and connects flawlessly to the Microchip RN4871 on the Samsung Galaxy 3 & Alcatel Fierce XL. However, the scan does not find the RN4871 on either of my HTC's.
The HTC's can see the RN4871 in the settings -> Bluetooth menu, and will pair.
Even after this, the app still fails to find the device when it scans.
I plan on trying to get the mac address from the list of paired devices and trying to connect that way.
What kind of device specific issue could I be running into?
ANSWER: wow that was fast, but I had to turn on location services under setting->apps->"app name" then turn on location services

Arduino Mega ADK not recognized by Samsung Galaxy S3

I have been using the Arduino board successfully, uploading sketches without any problem. I've got most of my project running - Stepper Motor shield and motor, IR LED, everything. I just can't get my Galaxy S3 to recognize that it is connected to the board so that I can complete my project.
I am using a 9Volt battery as logic power for the board and to provide power to the G S3. I have uploaded the proper drivers to the board using the demokit sketch distributed by Google.
I have the ADK 2012 App installed from the Play Store on my G S3.
When I plug in the usb cable from my Arduino ADK to the phone the phone acts like nothing is plugged in. When I execute the ADK 2012 app on my phone I get a message stating "Your ADK is not connected".
This is both with the stock Samsung microUSB cord and with a USB OTG cord.
This is a Model SCH-I535 Verizon Phone. Not Rooted. Running Android 4.1.2
I understand that there are potentially 2 problems with my combination of board and phone:
adequate power to supply both board and phone.
using the proper cord.
I think I've addressed both issues. I have searched for months for an answer to this problem. I'd hate to break down and get a tablet as I really want to get this to work with my phone.
Has anyone found a solution to this problem?

Android device acting as an accessory

I have 2 Android devices, which I would like to connect with a USB OTG cable and have back-and-forth communication between the two devices. From what I understand, one Android device will act as the USB Host (Nexus 7 running 4.4) and the other Android device will act as a USB Accessory (Galaxy Nexus running 4.2.2). I've tried googling around for an answer, but I can only seem to find articles explaining how to connect an Android device to a USB accessory (like a USB mouse or keyboard), not how to treat an Android device as the USB accessory itself.
So, following this page, I have configured an app on the Nexus 7 to be the USB Host. I can find the connected Galaxy Nexus based on its product id & vendor id, form a connection to the Android Open Accessory Protocol and successfully connect over USB. From what I can tell, the Nexus 7 can successfully send bytes to the Galaxy Nexus.
My question is how to access this connection on the Galaxy Nexus side. I have added permissions and the USB filter into the manifest, so the desired app opens on the Galaxy Nexus once the USB connection is established, but I can't figure out how to receive the data coming in from the Nexus 7 or how to send data from the Galaxy Nexus back to the Nexus 7.
Any help would be greatly appreciated! Thanks!
See my SO answer here.
If you want the Galaxy Nexus to act as the USB Accessory, then it must implement the Android Open Accessory protocol. An Android Accessory is a usb host, so technically you would have two hosts (assuming you managed to implement correctly the AOA protocol on the Galaxy Nexus), which is clearly a deviation of the USB spec.

Galaxy s3 not charging while connecting to Arduino mega ADK

i have an Ardunio mega ADK R3 and Samsung Galaxy S3 , i'am trying to control the LED at pin 13 using an application on galaxy using this tutorial:
http://allaboutee.com/2011/12/31/arduino-adk-board-blink-an-led-with-your-phone-code-and-explanation/
I've uploaded the Ardunio sketch , installed the application on galaxy , but when i connecting the galaxy to the Ardunio nothing happens and i'm not promoted to open the application on the galaxy , it's not even charging the phone ?
my question , if the phone not charging by Ardunio does it mean that there is a problem on the Ardunio board or this is an ordinary since the application on the phone not started?
i other words , if i connected the ardunio to the computer and then connected the galaxy to the ardunio without uploading or installing any sketch or application to android or ardunio and the galaxy not started to charge does this mean that there is a problem on the ardunio board?
I've tested the Ardunio ADK with Google Nexuses and the Ardunio works fine without any problem ,so there is no problem in the Ardunio board ,but after referring to "Beginning Arduino Programming" page 51>>
http://www.amazon.com/Beginning-Arduino-Programming-Apress/dp/1430237775
""
If you are experiencing that
nothing happens after you connected your device, check if your filter matches the values you defined in
the Arduino sketch. Another error source is that your board can’t deliver enough power to power the
Android device properly. As this is a requirement for the Open Accessory standard, make sure to power
the board with an external power source, if necessary.
"""
so it's seems that the Galaxy S3 consume a lot of power and Ardunio can't deliver enough power to it.

Categories

Resources