Skip to content

Lesson 1: Set Up Programming Environment

STEMbot edited this page Dec 15, 2017 · 2 revisions

Installing mBlock

Download mBlock here, NOTE select right Operating System which you are using: download mBlock

Install the downloaded file and Open the software

Adding Otto instruction blocks by Installing OttoDIY Extension

Step 1: Go to Manage Extensions

Step 2: Searching OttoDIY Extension in Available Tab

View Available Extension on mBlock Server for download, Search OttoDIY and Click Download See Otto blocks appear in Scripts Area

Step 3: Prepare for Coding

Otto Extension now only programming in Arduino mode, this mean the Scratch code will auto-Generate to Arduino Code for Uploading to Otto Board (like Arduino IDE). For Enter Arduino Mode, Go to Edit/Arduino Mode

Now you can easily program like assemply graphical blocks together, no longer to write script code like before. The Arduino code will auto-generated by Software and just upload to your Otto hardware.

Step 4: Prepare for Uploading Code to Board

Otto using Arduino Nano V3, Please select Hardware is Arduino Nano and Select right Serial Port for Upload (same Arduino IDE)

Select Board

Select Connection port for Upload program