Is there good starter reference materials or starter code for the coding the tank robot? I seem to be missing something. The sensor command in this scratch language is rounded but there is not a command to pair it with. And I do not see any commands to reprogram the remote that came width. I would love a schematic that explains what all the port connections can do and the sensor requirements. The make block website mentions the Adrino, but it is not clear if the processor on the robot would take both the adrino and the make block code on the same processor. Looking for the details. Thanks
Starter help with programming the robot
So, to answer some of what you’re saying here, the mBlock PROGRAM converts your basic visual snap-blocks code into Arduino code, so you’re not really putting anything but Arduino on the robot. mBlock (based on Scratch 2.0) is really made for the beginner, so you won’t be able to reprogram the remote completely.
As for schematics, that sounds like a pretty nice idea that I’m sure some people could collaborate on to figure out properly.
Thank you for the clarification. I was starting out with the scratch so I could work on teaching my son and daughter. But it seems like there are missing commands. Sounds like I am better off coding from the actual adrino language? Have you used any of the Adrino function block format? Is it worth looking at.
Here’s a sticky thread with some basic instructions on programming the program in Scratch. I’ll also be publishing a small ebook in the March/April timeframe after I’ve had a chance to test the materials on a class I’m teaching at the end of next month.
The Starter Robot uses the Orion board which does not allow you to completely reprogram the remote buttons (unlike the mBot which does). You might drop @pioneer an email at support@makeblock.cc to ask for the schematics (they might be posted on the wiki as well).
I do code in Arduino from time to time. For someone over the age of 13, it would be worth checking out.
(or if you’re like me, and you enjoy this type of stuff immensely)
But yes, some commands are not compatible with the robot simply because of how Arduino functions. Of course, you could always try and start in mBlock and edit your program later in Arduino itself.
I had the same problem with starting out the coding. I did finally figure it out, so maybe my explanation will help. Let me know if not. When MBlock updated to 3.2, I couldn’t find any tutorials for the new version.
As far as the port connections, there’s information on the site. Let me dig it up, and I’ll post it for you a bit later tonight, if no one else beats me to it.
Try this one? I think there’s a more in-depth version somewhere, but this might get you started.