Trying to run IOIOsimpleLED

47 views
Skip to first unread message

pott...@mymail.vcu.edu

unread,
Mar 29, 2015, 11:25:53 PM3/29/15
to ioio-...@googlegroups.com
Hey everyone.

I'm trying to run IOIOsimpleLED < found here: http://doc.inex.co.th/ioio-board-how-to-use-ioio-inventor/ >.

I'm using an IOIO OTG (V4.01 bootloader and the V5.00 application firmware) and a Samsung Galaxy Tab 4 (running 4.4.2), with App Inventor 2. I was getting a 631 error code, but now it just says "Can't connect with IOIO". USB debugging is deactivated.

I also ran an OpenAccessory checker and it says that I need version IOIO0200 or higher- but I'm not sure where to get the Open accessory protocol.

Thanks.

Ytai Ben-Tsvi

unread,
Mar 29, 2015, 11:31:09 PM3/29/15
to ioio-...@googlegroups.com
I suggest you start with the precompiled HelloIOIO.apk, just to verify that you have a functional setup. After that, if you're having trouble with AppInventor-related stuff, I suggest you contact the author of the page you linked to. It is not an official part of the IOIO codebase and I don't know how it works or what is error 631.

--
You received this message because you are subscribed to the Google Groups "ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+...@googlegroups.com.
To post to this group, send email to ioio-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

pott...@mymail.vcu.edu

unread,
Mar 30, 2015, 1:05:56 PM3/30/15
to ioio-...@googlegroups.com
My mistake, I meant error 601: No corresponding activity found.

Ytai Ben-Tsvi

unread,
Mar 30, 2015, 1:17:14 PM3/30/15
to ioio-...@googlegroups.com
Have you missed my reply?

pott...@mymail.vcu.edu

unread,
Mar 30, 2015, 1:59:31 PM3/30/15
to ioio-...@googlegroups.com
I saw it just now- I'm working through the HelloIOIO.apk.

At step 6, when I select add, a blank project selection screen comes up. So I set both IOIOLibAndroid and IOIOBT at "Is Library"

Then, when I'm modifying AndroidManifest.xml, after adding the android.permission.INTERNET uses permission, I'm still getting error flags.

Ytai Ben-Tsvi

unread,
Mar 30, 2015, 2:02:55 PM3/30/15
to ioio-...@googlegroups.com
I don't know which steps you're talking about.
HelloIOIO.apk is a precompiled app that you can directly install on the Android. It is in the software bundle. You don't need to compile it yourself.

Lucas Potter

unread,
Mar 30, 2015, 2:23:51 PM3/30/15
to ioio-...@googlegroups.com
I was working through this: https://www.sparkfun.com/tutorials/280
Lucas Potter
B.S. Biomedical Engineering
Virginia Commonwealth University, 2015
 

Ytai Ben-Tsvi

unread,
Mar 30, 2015, 2:29:59 PM3/30/15
to ioio-...@googlegroups.com

I recommend you skip it initially and use the precompiled app until you verify that everything works.

Justin H

unread,
Mar 30, 2015, 3:53:36 PM3/30/15
to ioio-...@googlegroups.com, pott...@vcu.edu
Copy the .APK version on to your phone via USB connection. On settings, go to Security and find one that says "Unknown Sources". With the subheading of "Allow Installation of apps from unknown settings" --- These are what it says on my phone anyways. and make sure that is checked. Then go into a file manager on your phone and run/install the .APK file.  This will rule out an issue from your compilation of the code vs. a problem with your phone setup.

I had issues getting my devices to work, so I started with the .APKs turns out CyanogenMod 11 on my Galaxy Nexus wouldn't work, so I downgraded to CM10 and it started working. My Galaxy S5 required me to turn off USB debugging prior to connecting to the IOIO via USB. But demonstrating it is a problem with the device and not your compilation is the first step.

Ytai Ben-Tsvi

unread,
Mar 30, 2015, 4:06:10 PM3/30/15
to ioio-...@googlegroups.com, pott...@vcu.edu
Or simply:
adb install HelloIOIO.apk

pott...@mymail.vcu.edu

unread,
Mar 30, 2015, 4:06:26 PM3/30/15
to ioio-...@googlegroups.com, pott...@vcu.edu
OK, thanks so much for your help so far. I installed the precompiled version onto the tablet, and it opens and runs. But the IOIO light won't turn on. I verified the power supply, and made sure that debugging was checked. Does anyone have experience with this tablet?

Ytai Ben-Tsvi

unread,
Mar 30, 2015, 4:08:12 PM3/30/15
to ioio-...@googlegroups.com, pott...@vcu.edu
Turn debugging OFF

pott...@mymail.vcu.edu

unread,
Mar 30, 2015, 4:35:55 PM3/30/15
to ioio-...@googlegroups.com, pott...@vcu.edu
I turned debug off, I used a USB connection, then I did used the Android Debug Bridge. Still nothing. Any other advice, or should I try to downgrade the tablet?

Ytai Ben-Tsvi

unread,
Mar 30, 2015, 4:40:18 PM3/30/15
to ioio-...@googlegroups.com, pott...@vcu.edu
Let's take a few steps back.
Turn USB debugging off on your phone, power the IOIO and connect it to the Android, with the "A" side of the cable on the IOIO side, the charge potentiometer on the IOIO fully clockwise and the host mode switch in the "A" position.
  • Is the IOIO power LED on?
  • Are you getting a charging indicator on the Android?
  • Are you getting the OpenAccessory dialog to show?

pott...@mymail.vcu.edu

unread,
Mar 30, 2015, 4:44:14 PM3/30/15
to ioio-...@googlegroups.com, pott...@vcu.edu
Power LED is on, and charging indicator is showing. No OpenAccessory Dialog.

Ytai Ben-Tsvi

unread,
Mar 31, 2015, 12:20:10 AM3/31/15
to ioio-...@googlegroups.com, pott...@vcu.edu
Are you sure your phone supports OpenAccessory? Is it on the supported devices page?

pott...@mymail.vcu.edu

unread,
Mar 31, 2015, 11:25:02 AM3/31/15
to ioio-...@googlegroups.com, pott...@vcu.edu



No. No it is not. Is there any way to add OpenAccessory support?

Thank you very much for your help thus far.

Ytai Ben-Tsvi

unread,
Mar 31, 2015, 12:57:19 PM3/31/15
to ioio-...@googlegroups.com, pott...@vcu.edu
The lack of AOA support (if that is indeed the problem you're facing) is either a hardware or a software limitation of the device you're using. If you have a different Android device, you can check if the IOIO works with it in order to verify that the rest of the setup is good.
Reply all
Reply to author
Forward
0 new messages