In this activity I’ve used the Arduino USB Host Shield to send sensor data from Arduino to an Android Device. The communication is full duplex, Arduino send data to Android and Android send data to Arduino.
The USB Host Shield is a board that uses the USB host controlled chip MAX3421E. I’ve used the SparkFun board [1]. This version takes its power from the ‘Vin’ pin on your Arduino. Power from that pin is regulated to both 5V and 3.3V on the shield. For this reason, it is necessary an extra charger.
There are several libraries for USB Host Shield, I know two: “Adb.h” and “AndroidAccessory.h”. In [2], there are explained a lot of examples with the Abd library but the drawback of use it is that you need Android programming knowledge for developing your application. In this case I’ve used the AndroidAccessory library because I wanted to program the Android App with Processing. In [3], you can download a tool for Processing to compile code for the latest Android OS and upload it to phones and tablets.
You can use [bigcommerce link=”/usb-host-shield/” target=”_blank”]LinkSprite USB Host Shield[/bigcommerce] to do this too.
For more information, please refer to http://vellamy.blogspot.com/p/v-behaviorurldefaultvmlo_29.html
Leave a Reply
You must be logged in to post a comment.