Showing posts with label Android USB Host. Show all posts
Showing posts with label Android USB Host. Show all posts

Wednesday, September 24, 2014

Communication between Android and Arduino Uno in USB Host Mode

It's Bi-directional communication between Android and Arduino in USB Host Mode.

Example 1:
Single byte is sent between Android and Arduino to control LED on Arduino Uno borad and set SeekBar on Android screen according to potentiometer on Arduino. ~ http://android-er.blogspot.com/2014/09/bi-directional-communication-between.html



Example 2:
Communication sent as commands form, to set Arduino LED, and send string of text from Android to Arduino LCD, and echo back. ~ http://android-er.blogspot.com/2014/09/bi-directional-communication-between_24.html


Tuesday, September 2, 2014

Communication between Android and Arduino Uno, in USB Host Mode

It's a example to implement communication between Android and Arduino Uno. Here Android is running in USB Host Mode. String received in Arduino Uno is displayed on 2x16 LCD Module.

Android side, refer to the post "Send data from Android to Arduino Uno, in USB Host Mode" of my Android blog.

Arduino Uno side, refer to last post "Read from Arduino Serial port, and write to 2x16 LCD".


Monday, March 31, 2014

Send string command from Android to Arduino in USB Host Mode

This is a example in my another blog show how Android send command to Arduino in USB Host mode. When user toggle the LED by clicking on the button, or change the screen color by slideing the bars, the commands will be add in a command queue, and then send to Arduino in background.

The code in Arduino Esplora is same as the previous example of Node.js + Arduino, running on PC.


Thursday, February 20, 2014

Send data from Android to Arduino Esplora in USB Host Mode

It's a exercise in my another blog "Android-er: Send Hello to Arduino from Android in USB Host Mode". The post show how to detect attached Arduino Esplora board on Android, run in USB Host Mode, and send data to it.