Quick post, will push full code and instructions when completed.
- Create a USB on the go cable (or just buy one if you don’t have spare cables to cut up)
- Connect it to an Android device (3.1 or above with USB host mode support)
- Plug in an Arduino (or a leostick)
- Arduino should power up
Next step
- Create an Android Serial Logger application (working on that here: https://github.com/dtbaker/android-arduino-usb-serial )
- Create an Arduino application that outputs data via serial
- Connect them together
- Read and process the log file later on
Wait… You can connect an Android?
Is it just TTY0 (or what’s available)?
So, basically, I could run the IDE?
Stupid iPhone: I’m getting a galaxy note 3
In this project the Android application will just read the serial output from the Arduino.
However anything could be possible, yes even running some sort or Arduino IDE and pushing new code to the Arduino. However I have no idea how to do that and will not be attempting it 🙂 I’ll be programming the Arduino from my computer like normal 🙂
Install linux (debian) to your galaxy then install the Arduino IDE to have full mobile development system.
I see your project
https://github.com/dtbaker/android-arduino-usb-serial
your are using the API
usb-serial-for-android-v010.jar
I didn’t see the LeoStick VID & PID as in your xml as API.
How your project could works without that ID?