Connect with us

Connect Android tablet to Arduino

Discussion in 'Microcontrollers, Programming and IoT' started by Nada, Sep 18, 2014.

Scroll to continue with content
  1. Nada

    Nada

    6
    0
    Sep 18, 2014
    Hey guys,
    I am working on a project where I need to connect my Android tablet (
    Linx Commtiva N700) to my Arduino Leonardo. Can I use any miniUSB (to the tablet) to a female USB (to the android) adapter? What are the things that I should consider for this communication?

    Thankks a lot.
     
  2. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,418
    2,788
    Jan 21, 2010
    unless your android device can act as a USB master device, this is not going to be possible.
     
  3. Nada

    Nada

    6
    0
    Sep 18, 2014
    Thanks for your reply. I don't want my tablet to send anything to the Arduino just receive data from it so why it should be a USB master? should it be a slave here?

    And how can I make sure that my device can act as a USB master?
     
  4. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,418
    2,788
    Jan 21, 2010
    (Sorry, it's known as "host" mode) Does it allow you, for example, to connect a hard drive to the USB port?

    Some android devices support USB-OTG and if yours does, you *may* be able to connect what is essentially an external serial port to your device. See here.

    More specific information is available here.
     
  5. Nada

    Nada

    6
    0
    Sep 18, 2014
    No, it doesn't. There is only miniUSB female connector so can I connect USB-OTG to it. myy android version is 2.2. Please tell me that I can connect the two devices.

    Thanks a lot for your reply.
     
  6. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,418
    2,788
    Jan 21, 2010
    I have no idea. The links I gave you give methods to discover I your device supports this mode. I know no more.
     
  7. Nada

    Nada

    6
    0
    Sep 18, 2014
    Alright thanks for your help. I really appreciate it.
     
  8. DrBwts

    DrBwts

    12
    0
    Dec 7, 2013
  9. Gryd3

    Gryd3

    4,098
    875
    Jun 25, 2014
    Programming on the go... but I don't think this is what the OP is after.

    To quickly recap.
    Android 2.2 is a little aged and is loosing support for many apps on the Play store. I'm assuming the device was purchased with 2.2, in which case at that time USB host features for android were incredibly slim. It may help if we get the model number for the device.
    If you can't use USB for your device you could use the microphone jack and send data into your device, or you could muck around with Bluetooth.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-