Android external micro USB Wifi Antenna - android

First of all, I want to understand if is possible plug an external micro USB WiFi antenna like this to an android phone and drive it through application to communicate with another android device that have same antenna plugged.
I'm able to detect plugged external antenna in my application using USB Host API of android as specified here and establish an USB connection with it.
In this page there is also a sample that explains how to send commands to an external usb device sending data via connection like "1" "turn left", "2" "turn right".
How can I know what commands (methods/interface/api or data byte stream) I have to send to use device features?
I understand that there is the possibility that I'm saying a lot of stupid things !!! but be patient please!
I also read about this but i cant figure if it is the right way!
I have seen on youtube a Drone driven by an android phone with same antenna plugged through Andropilot application! see video here
There is some guide or tutorial to point me to the right way?

For something like the drone radio you probably saw, you would use the Android Open Accessory protocol to talk to devices over USB. You can prototype and experiment using boards like the Android ADK or the IOIO. Here's a page comparing those boards that has more information: http://forum.xda-developers.com/showthread.php?t=1371750
And here's a simple tutorial showing how to use the ADK to control LEDs via USB: http://www.instructables.com/id/Arduino-ADK-LED-Lighting/

Related

How can I connect Arduino to android over usb with adobe air?

I'm quite knowledgeable of as3 and writing programs/apps in flash cs6. I've also played around with my arduino uno, which I've read is psuedo-java. Very little knowledge of c languages.
I've seen people using Bluetooth to connect to an arduino with adobe air. I have an xbee shield but not the little BT adapter with it. I don't want to rely on BT connection anyway. I want it plugged in directly to my spare android phone's USB port.
I have used a usbhost program to connect thumb drives and game controllers, so I know that USB hosting is possible. Tried it with arduino and i get lights. I want to write a flash/as3 program to control the arduino while taking advantage of the phone's capabilities, such as camera, WiFi, bt and also the graphical interface that I can create flash. How do I go about this? I haven't found an ane for this.
I have tested it and success with Arduino uno using blink example.Check this out if you interested in.
https://github.com/GIGATeam/UsbExtension

How to connect an Apple App to an external device e.g. temperature sensor?

My company wants to develop an Apple or Android app to tackle with an external sensor device, lets say the temperature of milk via a temperature sensor. The external device is tbd and currently under investigation, could be using a connector or WIFI or Bluetooth.
Do we need to apply for Apple MFI program to get access to the protocols used for that?
Since we do not want to implement the external device, i guessMFI license is not needed. But where do we get ressources to learn how to connect?
For Android you could do this using an Arduino Module
You can do this using Bluetooth / WiFi as your need!
Then make an Android app and communicate with the Arduino Module to get your data via Bluetooth / WiFi
For Ios/Apple
A Plus side of using Arduino
You can use Arduino for Iphone As Well as For Android
How? here you go ----> http://www.raywenderlich.com/38841/arduino-tutorial-temperature-sensor
If you really need to Know the temperature of milk via a temperature sensor here is a Full Tutorial
Which uses a Temperature sensor to find the Temperature and Query it to your Iphone
1 All the Requirements are given.
2 Cost Of all the parts with links
3 Source Code is also provided
4 Working
5 Circuit Diagrams
6 Step by Step Guide to code
7.Libraries are provided
8 Everything needed is provided for free (Software part)
Know everything About Arduino http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CCsQFjAA&url=http%3A%2F%2Fwww.arduino.cc%2F&ei=K344UpiFCo2yrgfXi4CACQ&usg=AFQjCNENSvy_VhDmp9YsE0x0X702I5teeQ&sig2=utVrSYYIMBFAFStVGq--RQ&bvm=bv.52164340,d.dGI
Tutorials :-
http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&ved=0CFEQtwIwBA&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DkS5C5Xhsv24&ei=g3w4UrDcLsOQkQWA44DQAQ&usg=AFQjCNHED0FWP8FpK29uEnUzxDeyh6751g&sig2=2rfcYp4Zqx5dt-KVri5sfw&bvm=bv.52164340,d.dGI
http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=6&cad=rja&ved=0CFgQtwIwBQ&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DY9R5O0mbvME&ei=g3w4UrDcLsOQkQWA44DQAQ&usg=AFQjCNHSbk25-B0KJTejgr4QewfK5aNivw&sig2=YZCyYJb_AVmvgmXVoAWLLw&bvm=bv.52164340,d.dGI
http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CCsQFjAA&url=http%3A%2F%2Fblog.arduino.cc%2F2013%2F07%2F09%2Flet-your-arduino-talk-to-your-android-phone-without-any-android-programming%2F&ei=g3w4UrDcLsOQkQWA44DQAQ&usg=AFQjCNHRdHAkS8MBau7hN3Bv5HtN-fvU0A&sig2=lboevloczOpc28XwVM9cmQ&bvm=bv.52164340,d.dGI
http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CDMQFjAB&url=http%3A%2F%2Fforum.arduino.cc%2Findex.php%3Ftopic%3D168329.0&ei=g3w4UrDcLsOQkQWA44DQAQ&usg=AFQjCNGQE5LOB60XfXmuiJdNYbIxqAqgJw&sig2=yk3dGNYeUOitvr6a4S8DkQ&bvm=bv.52164340,d.dGI
Just to expand a little more on Metalhead's answer. If you go the Arduino route, you will need to buy an Ethernet Shield or a Wifi Shield to use Ethernet or WiFi respectively. You can use Bluetooth if you are close enough to the sensor; you will still need to buy a Shield
One advantage of using the Wifi or Ethernet Shields is that you can use MQTT to remotely monitor your sensors over the Internet.
You can also look into a Raspberry Pi. It has more processing power than the Arduino and it comes with a built-in Ethernet card. If you are a Java programmer, you can install Java in a Raspberry Pi; you can't in an Arduino.
Android also gives you the option of using Android Open Accessory if you want to communicate and control the Arduino using USB or Bluetooth. You will have to be connected to the board directly via a USB cable (if using USB to communicate) since it needs the 5V from your phone to operate.

How to get raw data from serial port device into android tablet

I have a android tablet, i need to read raw data from any device(which supports rs 232) into my android tablet and display it in a rich text box inside my app. My android device should act as the host.
Thanks
http://blog.350nice.com/wp/
managed to run the ADK in an Arduino with a USB Host Shield controlling a servo or LED
im posting some good links u can refer..i personally found interesting..
http://code.google.com/p/android-serialport-api/wiki/android_to_rs232_guideline
http://sven.killig.de/android/N1/2.2/usb_host/
http://www.engadget.com/2011/05/10/google-announces-android-open-accessory-standard-arduino-based/
http://www.arduino.cc/
http://blog.makezine.com/2011/06/19/adventures-in-android-adk-development-hardware/
You need to get "FlexSerial" cable., getting the Tab to communicate with the RS232 cables in the right way may be tricky. The flex serial cable is certainly a start but the function you are looking for is probably very specific to the device you want to control so finding the right Android app will not be easy. Just out of curiousity, what device is it?

Is it possible to connect an Android phone to LMX9838 via Bluetooth?

I'm working on a course project. We are making a circuit board, which has a LMX9838 chip connected to a ARM-based MCU. I want to make an application on Android to connect the smartphone to our board using bluetooth featured on the smartphone and LMX9838 Bluetooth controller. My app will be able to send command from the smartphone to the MCU via LMX9838 and it will be able to transfer data (e.g files) between the phone and the MCU too.
That's what I want to do. But I wonder if it is possible to connect bluetooth on the smartphone and the LMX9838 bluetooth controller? And if it is possible, how can I make it? I know my question is very unspecific but you guys could give me some hints about the basic step, please. Because I've never worked with bluetooth technology so my experience in it is nearly zero.
Anyone have any suggestion? Thanks in advance!

How to generate a video signal from Android device via USB?

Is it possible to create an application for Android, which can generate a video signal (HDMI or VGA) via USB?
Any Android device has miniUSB port. Theoretically it's possible to create a small commutator device on microcontroller or microscheme, which will be a USB-host for Android device. You'll connect Android device with commutator and then connect commutator with monitor.
For example, the scheme looks like: Android phone -> commutator (USB-host) -> TV/Monitor.
Summary, I need to connect android phone with TV via miniUSB port. I found soft which can use miniUSB -> HDMI cable, but those apps only for Motorolla Droid and HTC Evo.
I'll glad to get links to existing apps or projects on that theme, to info about software generation HDMI-signal and connecting Android devices with another devices.
Thank you and sorry for my bad english!
Not much chance of that working out: lacking an appropriate converter chip there is no way you will be able to generate an HDMI or DVI signal using only the 4 pins on a standard USB or mini-USB port. You will need to look into building a converter box that does the right thing: something like http://wiki.chumby.com/index.php/What_is_NeTV.
Those cables are not doing 'HDMI' generation - basically, some phones use the extended standard which has more than just USB in the socket.
Specifically, OMAP3/OMAP4 based phones (Droid, Evo) have an onboard HDMI/DVI chip - the cable just breaks out the pins.
I'd look at Open Accessory Development Kit for inspirations about what can be done in hardware.

Categories

Resources