• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomeAndroidUse Android phones light lamp via IOIO-OTG
Previous Next

Use Android phones light lamp via IOIO-OTG

Posted by: admin , March 16, 2014

[vc_row][vc_column][vc_column_text]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

20140312_112427[/vc_column_text][vc_tour][vc_tab title=”Part list” tab_id=”1394619207-1-84″][vc_column_text]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  [bigcommerce link=”/ioio-otg-for-android/” target=”_blank”]IOIO-OTG[/bigcommerce]

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:

wifi0s07807106981394598368769

USB slave cable

wifi0s0-4156938461394598409862

Complete connection circuit

wifi0s0-5380717041394598533842[/vc_column_text][/vc_tab][vc_tab title=”The software” tab_id=”1394619207-2-7″][vc_column_text]

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:

wifi0s02651889031394602777787[/vc_column_text][/vc_tab][vc_tab title=”Experimental phenomena” tab_id=”1394619595382-2-10″][vc_column_text]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:

74

Adjust the potentiometer to mobile phone show “ Connected debug module”(at this time the mobile phone prompt charging ), open the app program “HelloIOIO”, as figure”

wifi0s0-4788091311394603886955

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:

wifi0s011336950431394603917644

Repeat click the key, you can control the light on or out of the LED on IOIO-OTG.[/vc_column_text][/vc_tab][vc_tab title=”Notice” tab_id=”1394619596541-3-7″][vc_column_text]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.[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]

Tags: Android

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors