control robot using Mit app inventor

For Formula AllCode users to discuss projects, programs, and any other issues related to the Formula AllCode robotics platform.

Moderators: Benj, Mods

Post Reply
Kjell Holen
Posts: 7
Joined: Sun Apr 24, 2016 2:32 am
Been thanked: 2 times

control robot using Mit app inventor

Post by Kjell Holen »

hi
I am trying to learn MIT App inventor.
Are reading page 27. Have got the FormulaAllcodeMacros.
ON the button of this page are 4 prog.
I do not understang how you got the first "item"with when condtion "when" and with that chape
Could you plase explain that.

Wen I got the robot a few month ago I upgraded to v2. went fine then. when I follow procedure it do not work now.
I can not do it again. USe usb , following procedute I can not click
on send button. It is not bould. Switch to bluetoth I can click on send , but the prog hang.
Any ideawhat may be wrong.
rgds

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times

Re: control robot using Mit app inventor

Post by dazz »

Hi
Firstly welcome to the forums, can you expand further ie what book are you reading and can you attach your flowchart to the forum as without it , we will struggle to help

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: control robot using Mit app inventor

Post by Benj »

Hello,

I think the book is the Formula AllCode course available here: http://www.matrixtsl.com/resources/file ... Course.pdf

Page 27 of the course is showing "Scratch" not "App Inventor" They both use the Blockly programming style so easy to get the mixed up. App inventor is pages 19 to 21.

We have some App Inventor examples here if this helps: http://www.matrixtsl.com/formula-allcode/downloads/


When you power on the robot do you get anything? If not then what about when you press the reset button while powered on?

The LED near the USB connector should flash and the mLoader software should then detect the robot and be able to re-program it.

Kjell Holen
Posts: 7
Joined: Sun Apr 24, 2016 2:32 am
Been thanked: 2 times

Re: control robot using Mit app inventor

Post by Kjell Holen »

Thanks for reply.
This is link to the document: http://www.matrixtsl.com/resources/file ... Course.pdf
Just a copy from the first lines:

FORMULA II ALLCODE
Robotics Course
Instructional Guide
Page 2
Copyright © 2016 Matrix Technology Solutions Limited
http://www.matrixtsl.com
Contents Introduction
Getting started
Take the Tour - Check out my body parts Language Neutral - Application Program Interface
Pseudo-code - A simple programming aid
Hardware setup
Windows PC Android Tablet / Phone
Raspberry Pi and Li

To me it is very nice doc. Have spent many hours last week, I hope to get so fare that I can use " MIT app inventor" as a "tool" to control the robot,
It is very dif to what I am used to. Have read many tutorial.

Back to my main question. The heading of this page is:

Controlling the robot Using App Invent Robotics Course Instructional Guide
Controlling the robot Using Scratch page 27
On the button off p 27 is 4 program.
I do not understand where the orange one is copid from. and how it have got that shape.
When understand that , i think I may be abel to make some smat prog for the robot

rgds

Kjell Holen
Posts: 7
Joined: Sun Apr 24, 2016 2:32 am
Been thanked: 2 times

Re: control robot using Mit app inventor

Post by Kjell Holen »

Thank Benj for reply. I mixed those 2, sorry for that.
When I press switch near usb it start flashing. when finish the led is turnd on with a menu.
one more test. started mLoader did first part. ready to send. prest reset and send is bould .
the lead is stil blinking after 20 min. Should I click on send buttos while it is flashing?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: control robot using Mit app inventor

Post by Benj »

Hello,

The flashing is your indicator that the robot is in programming mode. When connected to the PC using a USB cable and the mLoader software is running the LED will flash forever until you send a new program, click the execute button or close the mLoader software.

When programming via Bluetooth I think mLoader should be able to auto reset the robot into programming mode as long as it is switched on. However it's been a while since I last played with these robots so I'm a little foggy on this. You might have to manually reset to confirm you wish to re-program.

Post Reply