Go Down

Topic: Communicating betweeen Android device and Arduino (sketch uploading) (Read 1 time) previous topic - next topic

4ntoine

I'm working over sketch uploading from Android device to Arduino board and it works for Duemilanove (FTDI-based) and Uno (ATMega-based) when testing for pc/arduino using rxtx (pure java).
But it does not work if using usb-android lib (https://code.google.com/p/usb-serial-for-android/) as setDTR/setRTS methods are not implemented yet.
FTDI android drivers (http://www.ftdichip.com/Android.htm) allow to send setDTR/setRTS signals but fail to send/read data after it.

So the problem is in USB API and i can't figure out what's wrong..

Does anybody know what happens for FTDI-based arduino boards after DTR/RTS are toggled?
I belive that device is reset and wait for bootloader commands (stk500) for ~50-250 ms. Am i right?

4ntoine

Solved myself:
http://stackoverflow.com/questions/15518214/official-ftdi-android-drivers-read-is-not-working


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy