Otto Ninja Robot Arduino Libraries
This repository have all the main Otto Ninja robot libraries for ESP compatible boards
Created by Sebastian Coddington
You will need Arduino IDE in your computer
- Download the .zip Otto Ninja libraries here
- Open Arduino IDE and navigate to Sketch > Include Library > Add .ZIP Library.
- Navigate to the .zip file's location, that you just downloaded and open it.
- You will see in the bottom black area a message that it has been installed.
- 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.
- Upload this code
- Download tp your phone
- Open the App and press + Add new device
- Select Wifi point
- Select "OTTO NINJA" visible from the options
- 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
- 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:
- Test and if find a problem then post an issue.
- Helps us solve the issues or other bugs.
- 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
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.
Otto DIY by www.ottodiy.com 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.