OTTO_InstructionsManual_V05_arduino OTTO Instructions Manual V05 Arduino
OTTO_InstructionsManual_V05_arduino
OTTO_InstructionsManual_V05_arduino
OTTO_InstructionsManual_V05_arduino
User Manual: Pdf
Open the PDF directly: View PDF .
Page Count: 27

INSTRUCTION MANUAL
说明书
DIY

#OttoDIY follow us!
beeps &
8bit music
detect &
avoid
obstacles
walk &
dance
easy to
program

#10
#13 3D printed Head
3D 打印的头部
ultrasound sensor
超声波传感器
Arduino NANO shield
扩展板
Arduino NANO
微控制器
buzzer
蜂鸣器
AA battery case*
AA 型电池盒
micro servo motor x4
微型马达
3D printed body
3D 打印身体
pointed screw x8
尖头螺钉
3D printed Leg x2
3D 打印腿部
short screw x4
短螺丝
3D printed Left foot
3D 打印左脚
3D printed Right foot
3D 打印右脚
#1
#2
#3
#4
#5
#6
#7
#8
#9
#11
#12
#14
#15
#16 F/F connector cable x6
母对母杜邦线
mini cross screwdriver
螺丝刀十字刀小一字
mini usb cable
延长线
部分
PARTS
*AA batteries not included

#7
#3
90°90°
short screw
短螺丝
a
b
c

#7
#3
a
b
c
90°90°

#7
#6
#5 pointed screw
尖头螺钉
a
b

#3
90°90°
a
b

a
b

#12
a
b

#10
#11
a
b

#5
#8
a
b

*cable colors may vary
#9

RESET
G
V
S3 25 49 810
VinGnd
AA x4
2
5
4
2
5
3
4
Vcc TrigEcho Gnd
*cable colors for can vary
*AA batteries not included
3


112mm
112mm
67mm
quick snap assembly
2 legs for walk and dance
4AA batteries* last up to 2 hours.
robot beeps that represent moods
USB for programming and POWER
NOT FOR BATTERY RE-CHARGE
expandable and customizable with
3D printing and sensors.
external auxiliary POWER port 6-12V
ultrasound sensor for objet detection
*AA batteries not included
© 2017 OttoDIY

ARDUINO PROGRAMMING
编程
DIY

download Arduino for FREE to your computer
from www.arduino.cc
install Arduino in your computer...
choose the appropriate Operating System
installation package for your computer.
a
b

go to ottodiy.com in the build it! section
download and unzip OTTO_DIY_all.zip
from the “driver” folder install CH341SER
copy or move all “libraries” folders to:
C:\Documents\Arduino\libraries\
(or wherever your Arduino library folder is)
copy or move all “OTTO_” folders to:
C:\Documents\Arduino\
(or wherever your Arduino sketch folder is)
a
b
c
d
choose the appropriate Operating System
installation package for your computer.

open Arduino and
open OTTO_avoid.ino
Connect Otto to your computer USB
a
b

select in Arduino Tools/
Board: “Arduino Nano”
Processor: “ATmega328”
Port COM# (where your Otto is connected)

verify the code
upload the code
Otto will walk endless until detect
obstacles to avoid
a
b
c

void loop() {
if(obstacleDetected){
Otto.sing(S_surprise);
Otto.playGesture(OttoFretful);
Otto.sing(S_fart3);
Otto.walk(2,1300,-1);
Otto.turn(2,1000,-1);
delay(50);
obstacleDetector();
}
else{
Otto.walk(1,1000,1);
obstacleDetector();
}
}
OTTO_avoid.ino
in Arduino the principal loop code looks like this:
?
52

try change sound:
(S_surprise); (S_OhOoh); (S_OhOoh2);
(S_cuddly); (S_sleeping);
(S_happy); (S_superHappy); (S_happy_short);
(S_sad); (S_confused);
(S_fart1); (S_fart2); (S_fart3);
(S_mode1); (S_mode2); (S_mode3);
(S_connection); (S_disconnection); (S_buttonPushed);
sing function:
Otto.sing(S_surprise);
sing function (“sound to make”)

try change emotion:
(OttoSuperHappy); (OttoSad);
(OttoSleeping); (OttoFart);
(OttoConfused); (OttoFretful);
(OttoLove); (OttoAngry);
(OttoMagic); (OttoWave);
(OttoVictory); (OttoFail);
play Gesture function:
Otto.playGesture(OttoFretful);
play Gesture function (“emotion to express”)

move functions:
Otto.walk(2,1300,-1);
move function (“#steps, Time[ms], direction”)
moveSize: “height of the move”
try change move function to:
Otto.walk(1,1000,1); Otto.walk(1,1000,-1);
Otto.turn(3,1000,1); Otto.turn(3,1000,-1);
Otto.bend(2,1000,1); Otto.bend(2,500,-1);
Otto.shakeLeg(1,1000,1); Otto.shakeLeg(1,500,-1);
Otto.moonwalker(1,1000,moveSize,1);
Otto.moonwalker(1,1000,30,1);
Otto.crusaito(1,1000,moveSize,1);
Otto.flapping(1,1000,moveSize,1);
Otto.swing(1,1000,moveSize);
Otto.updown(1,1000,moveSize);
Otto.tiptoeSwing(1,1000,moveSize);
Otto.jitter(1,1000,moveSize);
Otto.ascendingTurn(1,1000,moveSize);
Otto.jump(1,1000);

#OttoDIY share!
remix
expand...
post your creations online
customize
modify

ottodiy.com