[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
[/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:
USB slave cable
Complete connection circuit
[/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:
[/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:
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”
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.[/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]
Leave a Reply
You must be logged in to post a comment.