MIT app inventor

156 views
Skip to first unread message

joe el khoury

unread,
May 25, 2015, 8:26:17 AM5/25/15
to ioio-...@googlegroups.com
Dear Ytai,

Is it possible to use app inventor for IOIO? It may save a lot of time. If yes, how? 

Thanks,

Waiting for ur reply ASAP,

Best regards,
Joe

Ytai Ben-Tsvi

unread,
May 26, 2015, 1:05:55 PM5/26/15
to ioio-...@googlegroups.com
There was talking about this before, but to the best of my knowledge, nobody has yet implemented IOIO blocks for AI.

--
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.

joe el khoury

unread,
May 26, 2015, 1:11:06 PM5/26/15
to ioio-...@googlegroups.com

Ouch!! I found an app on play store which called "IOIO inventor" . I don't know if it is a good option!! Anyway, Thanks dude!!!

Mat T

unread,
May 27, 2015, 9:04:23 AM5/27/15
to ioio-...@googlegroups.com
I have used IOIO Inventor.  It works but there is no support from the developer and not much information from the internet.  I am using v1.1.1 and it can be very glitchy... 

Here are the commands:
http://doc.inex.co.th/ioio-board-command-code-on-app-inventor-for-ioio-inventor/

The app that I made may also cause some of the problems.  I am using Bluetooth to send a value from a phone then digital I/O to move a motor positive or negative to a position then analog I/O to get feedback and close the position loop...  This along with multiple databases and graphics I think is making my communication very sluggish.

There is a new version but I cannot download or install it.
https://play.google.com/store/apps/details?id=com.inex.ioioappinventor

I am a controls engineer with old school programming knowledge so I did not want to learn an entire new programming language to make one app so I went the App Inventor route.
Joe, let me know how you make out or PM me and I can send screenshots of the Activity Starter code that I used.

Ytai Ben-Tsvi

unread,
May 27, 2015, 11:00:16 AM5/27/15
to ioio-...@googlegroups.com

There are also IOIOScript and protocoder if you want to use JavaScript for your app. The support for IOIO features by this platform is not complete, but has at least the basics.

--

tomma...@gmail.com

unread,
Jun 12, 2015, 10:43:46 AM6/12/15
to ioio-...@googlegroups.com
Hi all, I am new to this discussion , but saw the post thought I could contribute my findings. I have been using MIT App Inventor2 with IOIO-OTG for about 3 months with pretty good results. I also am old school but have done plenty of control programming using Basic, C++ and others, I also did not want to learn yet another language. I am building a stepper motor controlled robot with off the shelf parts.

He is still an infant, but I have him moving well with speed control, turning, reversing, and even running a pre-programmed pattern  over Bluetooth from my Android to the on-board IOIO-otg.

I am using a windows 7 development PC, logged into MIT AI2. On the Android I have loaded MIT AI2 companion app, IOIO Inventor, and of course G-Mail for downloading and installing my latest App revisions. Since the AI2 commands are limited to basic I/O, a big breakthrough for me was using the "Sound" command to drive the Stepper controllers speed... along with 2 digital Outputs 's ...1 to set direction, and 1 Enable the Stepper controller after the frequency stabilizes.

I hope this helps get you started...

Now, I could really use help with is understanding how to program the IOIO "sequencer" using AI2 .  I seem to be able to send a "string variable" from AI2 to the IOIO, but I need to know ...is what to put in the string to set up multiple PWM channels....and then sequence them.  Any help would be greatly appreciated.

Ytai Ben-Tsvi

unread,
Jun 13, 2015, 6:44:10 PM6/13/15
to ioio-...@googlegroups.com
How does IOIO Inventor work? Does it have APIs for the motor control libraries? Is it specifically designed for interacting with AppInventor?

--

tom mazurek

unread,
Jun 13, 2015, 10:45:49 PM6/13/15
to ioio-...@googlegroups.com
IOIO Inventor is a "companion product" for MIT's APP Inventor 2 open source development platform....sold in the Google Play Store for $1 or $2.  I actually thought you wrote it !....now I see it is developed and sold by INEX. Anyway, it provides the API building blocks to write an Android App using App Inventor2... and control basic functionality of the IOIO-OTG....with your cellphone.

Instead of using the motor control library, with dual H-Bridge circuits, I am using " Sound, Pin#,Freq,Duration" Outputs to the  new CNC Stepper Motor Drivers based on the Toshiba 6600 chip (about $15 on Ebay.... This frees up processing power on the IOIO and Android for other things. This all works pretty well !!

Question......is there any way to get more info on what string data the IOIO is looking for? Specifically is there any way to Ramp-up and Ramp-Down Frequencies (Sound Pins) on the IOIO for smoother operation of the Steppers?



--
You received this message because you are subscribed to a topic in the Google Groups "ioio-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ioio-users/Tt4H2gYxQt8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ioio-users+...@googlegroups.com.

Ytai Ben-Tsvi

unread,
Jun 14, 2015, 2:25:58 PM6/14/15
to ioio-...@googlegroups.com
This string thing that you're mentioning seems like it is some IOIO Inventor specific feature. You'd probably have to ask the developer for more details. From a IOIO API standpoint, the motor control API (Sequencer) is the right way to do what you're after.

tom mazurek

unread,
Jun 14, 2015, 6:23:46 PM6/14/15
to ioio-...@googlegroups.com
Correct...IOIO Inventor is currently limited to these commands for Mit's App Inventor development environment.
The last step For Full IOIO-OTG functionality, is a IOIO Inventor command to setup and control the sequencer.
Rapid development of advanced robotic Apps without the need for Java coding is the goal....
I'll keep working on it...Thank you.


Reply all
Reply to author
Forward
0 new messages