Arduino Setup Guide For Otto Robots
Arduino Setup Guide For Otto Robots
setup guide
for Otto
robots
Download & install Arduino IDE
If you have Otto Blockly installed and working on your PC you do not need to install Arduino
because you can open .ino files directly from Blockly
Select the software
You must select the option that correspond to our
operating system.
This will automatically check the code and if good it will immediately upload the code to Otto.
If there were no problems, your Otto is now a walking dancing machine! Well only the legs but
that is ok because now we tested that everything is working ;) If not you need to check the
previous steps again.
You are all setup!
Now you can code Otto using Arduino IDE
play with the other examples depending on your
robot kit.
Text based
programming
Text based
Languages that are typed using a keyboard and stored as
a text files.
Components like the 16x8 LED matrix for the eyes can be
interchanged for and OLED display or any other I2C device.
#steps are just how many times you want to repeat that
movement without the need of further coding or adding
additional rows. For example, Otto.walk (5,1000,1) is 5
steps.
Otto Walk
Speed it is translated in milliseconds with “T” meaning
“period of time” in the libraries. The higher the
VALUE, the faster the movement.
1 for forward/left
-1 for backward/right.
Otto Dances
For moveSize function, this is for additional Otto moves.
It can be Small=5 Medium=15 and Big=30 but feel free
to play with other values and see what happens!
join now!
Install Driver on Mac
This slides are if you had problem seeing Otto when
connected to USB
From your desktop click go, and then applications
Click utilities, then terminal
For Mac OSX v10.9+ type in the terminal and hit enter:
cd /Library/Extensions
For Mac OSX v10.8 and below type and hit enter:
Cd /System/Library/Extension
Install CH340 Mac
Next, download & install the CH340 Driver for Mac. You can get it from here.
Once installed you will need to restart the computer and done!
Lets double check
To check to see if the CH340 driver is in the correct path, use the following command
to list the contents of the folder: ls
To look for CH340 driver
files (i.e. usb.kext or
usbserial.kext) in the path,
you could use the following
command:
ls | grep usb
You should see
something similar here
Troubleshooting driver continued
If you have found the file in the path, you will need to run each of the following
commands below in the CLI/Terminal to remove old CH340 drivers. In this case, there
was only the usbserial.kext file but it does not hurt to run both commands. Make sure
to have administrative privileges to ensure that the drivers are removed.
ls
Troubleshooting driver continued
Next, download and extract the folder here.
Then, open the "*.pkg" file from the unzipped folder and follow the instructions.
You'll need to restart your computer for the changes to take effect.
Troubleshooting driver continued
Heads up! Depending on your settings, you may need to adjust your Security &
Privacy settings to allow the CH340 drivers to function. A window may pop up
indicating that the drivers have been block as shown in the image below
Driver
If you receive a window that indicates that
the system extension is blocked, you'll need
to open a search with Spotlight by pressing
⌘ (Command) + space bar (Space Bar).
Type Security & Privacy and click on the
"Allow" button to enable the CH340 drivers.
Driver Verification
To verify that your driver is working, you should see a difference in the following
pictures after plugging the CH340 to a USB port.
Command Line