This entry was posted in Tutorials and tagged Arduino, Shield, Sparkfun, Tutorials, USB Host shield on Septemby Sudar.
![arduino usb host shield 2.0 flight stick arduino usb host shield 2.0 flight stick](https://i.stack.imgur.com/1jh69.jpg)
#Arduino usb host shield 2.0 flight stick android#
Make Android phone interact with Arduino using Android Open Accessory protocol.The following are examples which I have built using the shield.
![arduino usb host shield 2.0 flight stick arduino usb host shield 2.0 flight stick](https://www.deltakit.net/wp-content/uploads/2018/10/USB-HOST-SHIELD-ADK-2.0-COMPATIBLE-GOOGLE-ANDROID-ADK-FOR-ARDUINO-UNO-268x268.jpg)
![arduino usb host shield 2.0 flight stick arduino usb host shield 2.0 flight stick](https://4.bp.blogspot.com/-fCmmFiLXnnk/W_MzPCUE3WI/AAAAAAAAAGQ/FJn6r88Aca0WCu10Eyg2VE2waeqVj4DkACLcBGAs/w1200-h630-p-k-no-nu/joysplit_overview.jpg)
USB Host shield can be used to interface any USB device to Arduino.
![arduino usb host shield 2.0 flight stick arduino usb host shield 2.0 flight stick](https://i.ytimg.com/vi/pwg39X9Imh0/maxresdefault.jpg)
Once you have this shield, your Arduino board can act as USB Host and you can connect other USB devices like keyboard, mouse or even an Android phone and communicate with the device from Arduino itself. The USB Host shield has a separate chip (usually Max3421E), which provides USB Host support. For a successful communication to happen using USB protocol, you need at least one of the device to be the host, which means that you cannot connect two keyboards together and expect them to communicate with each other. When you connect any USB device like a mouse or a keyboard to your computer, your computer acts as the host and controls (or polls) the client device (keyboard or mouse or even an Arduino). The Host device controls the peripheral device and also provides power to it. One is called the host (or server) and the other one is called peripheral (client). So, what is USB Host support? The USB protocol defines two types of devices. It is a shield which provides USB Host support for Arduino. What is an USB Host Shield?īefore we start, let’s first understand what is an USB Host Shield. One such shield which has many incompatible versions is USB Host Shield and in this post I am going to tell you how you can select the proper shield and also the changes that you have to do to make even the incompatible shields work with the library. But it becomes a problem when the shield is pretty complex (like the USB Host Shield) and you have to use a library and the shields are not compatible with each other. In a way this is good, because as a user you are going to have multiple options. Often there are more than one manufacturer for a single type of shield itself. There is a huge variety of shields that are available which can be stacked on top of an Arduino.