Use Android Phones Light Lamp Via IOIO-OTG

by Linksprite in Circuits > Arduino

4081 Views, 20 Favorites, 0 Comments

Use Android Phones Light Lamp Via IOIO-OTG

20140312_112427.jpg

Linksprite has relatively new product called IOIO-OTG, it can be used on
Android, it is equal to provide the IO port for Android phone, and we can control the external devices through mobile phone. Since the processor of the phone is relatively strong, we can achieve the complex function through the Android application. It will be a very unusual equipment for Android if the Android programmers have IOIO-OTG

Step 1: Part List

wifi0s07807106981394598368769.jpg
wifi0s0-4156938461394598409862.jpg
wifi0s0-5380717041394598533842.jpg
wifi0s0-4788091311394603886955.jpg

1 x Android phone, the Android system version 1.5 or more, I’m using version 4.1.2
1 x 5V 1A power , because I do not have 5V1A power, I use a “5V” Arduino UNO pin provides power for the IOIO-OTG.

1 x IOIO-OTG

https://store.linksprite.com/ioio-otg-for-android/

2 x data lines, one is for slave USB cable and one is a host device MicroUSB cable, the details shown below:

USB host cable:

USB slave cable

Complete connection circuit


Step 2:The Software

wifi0s0-5380717041394598533842.jpg

First thing to note is that this experiment is confirmation
experiment, the software used on the phone is provided by IOIO-OTG official, please click the link below to download HelloIOIO.

Download the complete contents of the venue and jump toJumper

Testing Android application program , use the mobile phone as the next crew, IOIO-OTG as a PC, this is that we connect the USB to the mobile phone with the slave device cable, and connect the USB to IOIO-OTG with the host device cable. As the figure below:

Step 3: Experimental Phenomena

74.jpg
wifi0s0-4788091311394603886955.jpg
wifi0s011336950431394603917644.jpg

After you finish the wiring, you need to open the “Debug module” in “ Set up”, and then
adjust the potentiometer on IOIO-OTG, as figure:

Enter the app program and you will see one key, and its state is closed,
the yellow LED on IOIO-OIG is out. Click the app program key, the key state will change to “open”, at this time the LED on IOIO-OTG is bright, as figure:

Repeat click the key, you can control the light on or out of the LED on IOIO-OTG.

Step 4: Notice

There are two difficult place in this experiment: One is the
understanding of this experiment that we use the IOIO-OTG as the host device and the Android phone as slave device and the wiring rule between them; the second, after we connect the wiring well, we need to adjust the potentiometer on IOIO-OTG slowly to ensure the Android phone will enter the debug module.

Support Fourm:
http://www.pcduino.com/forum

http://linksprite.invisionzone.com

Support Mail: support@linksprite.com