Lesson 03.2 – Programming Your OTTO Robot (With Arduino IDE)

Learning to program the OTTO DIY robot : As part of this lesson we will learn how to program the OTTO Robot. You can program the OTTO DIY robot using a couple of different approaches i.e. using a block based programming approach (using Blockly) while advanced users can program OTTO using the Arduino IDE. Let’s look at both the approaches in more detail.

Programming OTTO DIY using the Arduino IDE (Advanced Users) : If you are an advanced user and block programming isn’t your thing then consider using the Arduino IDE to work with the OTTO DIY Biped robot. The Arduino IDE will allow you to leverage all the component libraries that the Otto team provides, including using the Arduino libraries available for the different sensors.

Working with the Arduino IDE means you are not limited to what the block interface allows you to do but with the added flexibility comes the additional complexity you have to deal with. We recommend using the Arduino IDE if you are comfortable with text programming, are open to using google and the numerous maker forums out there to get support for issues you might run into.

 

 

So let’s look at getting started with the Arduino IDE –

  1. Head over to the following link and download the Arduino IDE  – <Arduino IDE>
  2. Head over to the OTTO Robot website to learn more about programming the robot with Arduino IDE : Programming Otto using Arduino IDE
  3. See the instructional video below by the creator of OTTO DIY who offers an in-depth video tutorial on using Arduino IDE to program the OTTO DIY robot.

 

Once you have installed the Arduino IDE you will need to install the relevant libraries – VERY IMPORTANT

  1. Download and install the Otto DIY library (from within the Arduino library manager, required for you to work on any of the tutorials)
  2. DHT11 library if you are using the DHT sensor
  3. SSD1306 library if you are using the LCD module
  4. No libraries needed for the Piezo electric buzzer or for using the sound sensor

Here’s a video that covers off the basics of installing libraries within the Arduino IDE. As you work through the tutorials you will identify the library names for the relevant libraries that need to be installed.

Here’s a link to a video that shows how to install Arduino Libraries for Otto DIY Biped Robot – <Youtube Video Link>

OTTO DIY Biped Robot Arduino Library Reference – Here is a link to the Arduino Library project at Github which you ought to reference to understand the different Arduino functions available to you. The arduino functions are required to get the OTTO DIY Biped Robot perform different actions e.g. walk, dance, sing, etc.

Here’s a link to the Arduino Github project for the OTTO DIY Biped robot – <Github Project Link>

Purchasing the OTTO DIY Robot : To learn more about the Otto DIY robot or purchase a off the shelf kit please head over to the OTTO DIY website at www.ottodiy.com. By purchasing the kit you will be supporting Camillo Parra and the rest of the OTTO DIY Robot team. At the OTTO DIY website www.ottodiy.com you also have the option to purchase the kit without the 3D printed parts, print the parts yourself using your own 3D printer at home.

For those interested in downloading the 3D models for printing using your own 3D printer, you will find a number of OTTO DIY robot re-mixes (3D print models) along with the original project at the Printables website (hosted by the guys who own Prusa). So head over to the 3D models hosted at Printables.com website to see all the different variants of the OTTO DIY robot listed there. If you are just wanting to download the parts for the basic Otto DIY Biped Robot then check out the following link at the main OTTO DIY Biped Robot page at the Prusa website.

 

For Makers, Creators & Innovators – If you are a maker, hacker and want to put together your own 3D printed robot using off the shelf components then check out this article at DIYODE – 2 Legged 3D Printed Robot. You can source all the components, parts listed above from Ebay/Amazon. If you do that, you are responsible for identifying and sourcing relevant parts, however if you purchase the kit from the OTTO DIY website www.ottodiy.com you will get quality parts including support from the OTTO DIY team.

Learn more about the OTTO Biped Project and join the OTTO DIY Robot community here – https://wikifactory.com/+OttoDIY/otto-diy  and here https://wikifactory.com/+OttoDIY/otto-diy-plus

 

What is OTTO DIY – Otto is completely open source, Arduino compatible, 3D printable robot which you can put together yourself. This is robotics and opensource at it’s best. The robot was designed by Camilloa Parra as a social impact mission to create an inclusive environment for all kids. Learn more about OTTO DIY at www.ottodiy.com.

 

Questions