Skip to content


Switch branches/tags


Failed to load latest commit information.

Otto Ninja Robot Arduino Libraries

License: GPL v3 version

This repository have all the main Otto Ninja robot libraries for ESP compatible boards

Created by Sebastian Coddington

⭐ Star us on GitHub, it helps!


You will need Arduino IDE in your computer

  1. Download the .zip Otto Ninja libraries here
  2. Open Arduino IDE and navigate to Sketch > Include Library > Add .ZIP Library.
  3. Navigate to the .zip file's location, that you just downloaded and open it.
  4. You will see in the bottom black area a message that it has been installed.
  5. To verify they are properly installed, go to Sketch > Include Library menu. You should now see the library at the bottom of the drop-down menu.

That means it is ready to use Otto example codes! you can find them in File > Examples > OttoNinja for more details or other ways to install libraries visit this link

For the LED matrix example codes you will need the Adafruit LED Bacck pack library and the dependences just do the exact same installation steps.

For the OLED display example codes you will need the U8g2 libraries

Additionally you will need to add the ESP8266 to your Arduino IDE

The board only flash the LED a little (this is the way ESP8266 boards work unless you program them to behave different)


Firmware code for remote control of Ninja, select NodeMCU 1.0 as board. Connect the Ninja board with the USB cable to your computer, NO servos or anything else connected and we check if can upload code first.

  1. Upload this code
  2. Download tp your phone
  3. Open the App and press + Add new device
  4. Select Wifi point
  5. Select "OTTO NINJA" visible from the options
  6. The password is 12345678

(Make sure to have wifi disconnected from other networks) and power Ninja with battery all time. with Otto Blockly you do not need to deal with all the libraries and stuff

Compatible Hardware

  • Designed to work with ESP8266 boards but most of the code could be adapted to other microcontrollers

How to Contribute:

Contributing to this software is warmly welcomed. There are 3 ways you can contribute to this project:

  1. Test and if find a problem then post an issue.
  2. Helps us solve the issues or other bugs.
  3. Improve and optimize the curren libraries. You can do this basically by forking, committing modifications and then pulling requests.

Please add a change log and your contact into file header.

Thanks for your contribution and welcome to the Otto DIY community

License CC-BY-SA

You can use all resources of Otto for free but Otto DIY Website must be included in any redistribution and remixes must keep the CC-BY-SA license, As you might seen with the original Otto DIY project the idea is that more people can have access, therefore if you copy or remix Otto you must also release under same open license, that means you must release all files also to the public.

Creative Commons License
Otto DIY by is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Otto DIY website must be included in any redistribution and remixes must keep the CC-BY-SA license.