Ottoblockly Manual
Ottoblockly Manual
Blockly
guide
Code your own robot
- Setup and installation of software
- Familiarize with the block programming
environment.
- First simple projects, like
programming a dance with Otto.
- Learn the concept of sequential
thinking and conditionals.
- Make a more complex project, interact
with sensors, use advance programming.
Otto Blockly Standalone: Online Web App, works Arduino IDE: Works
Works offline, easy to use, from browser but you still offline compatible with all
all in one coding & USB need to install an OS, is a more advanced
upload (No need Arduino) extension or Arduino coding
Otto Blockly Otto Scratch AI
Standalone Windows Server based
Blocks
Toolbar
Quick start test
Hi Otto Builder
I am back, ready to help you.
1 Let’s open an example by
clicking the hat button.
Oops! no worries we
can fix that
*Nano boards come with a
different “bootloader”
therefore they use different
settings for uploading but both
work exactly the same in Otto
robots
5 Itupload
only takes few seconds to
the code successfully
when the right board is
selected.
If you do not find answer to your issue, ask for help in the community
Otto Blockly Web App (Alternative for Mac)
Otto Blockly is also a web tool.
Go to this link in a Chrome browser
We basically just created a code in C++ for Arduino without actually typing
any line of code!. Your Otto is now a walking dancing machine!
Now let’s learn the
Basics
Levels & Language
Help us improve
and add new
Languages here
Structure Otto Sensors Displays
Otto.walk(1,1000,1);
Can you make Otto
run?
Otto.walk(1,500,1);
Example in Blockly to
Servos wiring
control each motor
Add or duplicate one
more Servo block and a
Time delay
Otto.walk(2,1000,1);
move function (“#steps, Time[ms],
direction”)
Passive type.
PWM GND
Wiring
Compared to other components there are
only 2 pins/cables one goes to GND and
the one with the + sign in the top, we
connect to the signal pin 13.
Otto.sing(S_superHappy);
sing function (“sound to make”)
Otto.playGesture(OttoSuperHappy);
Otto.playGesture(OttoSad);
Otto.playGesture(OttoSleeping);
Movements + Otto.playGesture(OttoConfused);
sounds Otto.playGesture(OttoAngry);
Otto.playGesture(OttoMagic);
to generate Otto.playGesture(OttoWave);
emotions or Otto.playGesture(OttoVictory);
moods. Otto.playGesture(OttoFail);
Otto.playGesture(OttoFart);
How does Otto
“see”?
Ultrasonic Sensor
It is used to measure the
distance to an object by using
ultrasonic waves, have 4 pins:
🤗
builders.ottodiy.com