Arduino Projects DISCUSSION

Android tablet with Arduino UNO communication over USB - basic program

Started by syedzainnasir Android tablet with Arduino UNO communication over USB - basic program
1 replies 248 views 2 participants
Latest activity · 24 Feb 2017

Android tablet with Arduino UNO communication over USB - basic program

syedzainnasir Arduino Projects Forum
#1
Hello,
I just bought Arduino UNO and i would like to switch on and off LED 13 from Android tablet (Nexus 7). Can someone gime me some tutorial how to set up USB communication from both sides (Arduino-Android) where Android tablet is host.

Thanks for help

Community replies 1

Re: Android tablet with Arduino UNO communication over USB - basic program

#2
[quote=Timothy post_id=162 time=1487946000 user_id=79] Hello,
I just bought Arduino UNO and i would like to switch on and off LED 13 from Android tablet (Nexus 7). Can someone gime me some tutorial how to set up USB communication from both sides (Arduino-Android) where Android tablet is host.

Thanks for help [/quote]
Unless you have the USB shield (which turns the Uno into a host as well) or use the Arduino Leonardo or the Arduino MEGA ADK, you can't simply connect the 2 devices via USB and expect them to work.

Your PC doesn't seem the UNO's USB port. What it sees is a serial port that the UNO emulates through USB. That is called a "Virtual COM Port", and part of the magic is done through drivers. Unless you have those drivers written and compiled for Android (they have to be very specific to your android and kernel versions), what you want can't be done.
Recommended: [url=http://www.theengineeringprojects.com/2015/10/usb-communication-between-android-and-arduino.html]USB Communication between Android and Arduino[/url]
TEP COMMUNITY