0% found this document useful (0 votes)
91 views

OttoDIY InstructionManual V06 Arduino PDF

Uploaded by

burgleteens
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views

OttoDIY InstructionManual V06 Arduino PDF

Uploaded by

burgleteens
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

DIY

INSTRUCTION MANUAL

walk & detect &


dance avoid
obstacles

easy to beeps &


program 8bit music

#OttoDIY follow us!


PARTS

#13 3D printed Head #16 F/F connector cable x6


3D

ultrasound sensor
#12

#11 Arduino NANO shield


#10 Arduino NANO #15 mini cross screwdriver


#9 buzzer

#8 AA battery case*
AA

#14 mini usb cable


#7 micro servo motor x4

#6 3D printed body
3D

#5 pointed screw x8

#4 3D printed Leg x2 #15 switch


3D

#3 short screw x4

#2
3D printed Left foot
3D

#1 3D printed Right foot


3D
*AA batteries not included
a
#7

b
90 90

c #3 short screw

a #7

b
90 90

c #3
a

#7

#6

pointed screw
#5
a
90 90

b
#3
a

b
a
#12

b
a
#10

#11

b
a

#5

b
#8
#15

#9

*cable colors may vary


Vcc Echo Trig Gnd

3 2

4 5 4

3
5
2

G
V
S
10 9 8 54 32

RESET

Gnd Vin

*cable colors may vary *AA batteries not included


external auxiliary POWER port 6-12V
ultrasound sensor for objet detection

USB for programming and POWER


NOT FOR BATTERY RE-CHARGE

quick snap assembly

2 legs for walk and dance

67mm
expandable and customizable with
3D printing and sensors.

4AA batteries* last up to 2 hours.

112mm robot beeps that represent moods

112mm

2017 OttoDIY *AA batteries not included


DIY
ARDUINO PROGRAMMING

a download Arduino for FREE to your computer


from www.arduino.cc

choose the appropriate Operating System


installation package for your computer.

b install Arduino in your computer...


a go to ottodiy.com in the build & learn section
sign up, download and unzip OTTO_DIY_all.zip

b from the driver folder install CH341SER

choose the appropriate Operating System


installation package for your computer.

c copy or move all libraries folders to:

C:\Documents\Arduino\libraries\
(or wherever your Arduino library folder is)

d copy or move all OTTO_ folders to:

C:\Documents\Arduino\
(or wherever your Arduino sketch folder is)
a open Arduino and
open OTTO_avoid.ino

b Connect Otto to your computer USB


select in Arduino Tools/

Board: Arduino Nano


Processor: ATmega328
Port COM# (where your Otto is connected)
a verify the code

b upload the code

c Otto will walk endless until detect


obstacles to avoid
in Arduino the principal loop code looks like this:

OTTO_avoid.ino

52 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();
}
}
sing function:

Otto.sing(S_surprise);
sing function (sound to make)

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);


play Gesture function:

Otto.playGesture(OttoFretful);
play Gesture function (emotion to express)

try change emotion:

(OttoSuperHappy); (OttoSad);

(OttoSleeping); (OttoFart);

(OttoConfused); (OttoFretful);

(OttoLove); (OttoAngry);

(OttoMagic); (OttoWave);

(OttoVictory); (OttoFail);
move functions:

Otto.walk(2,1300,-1);
move function (#steps, Time[ms], direction)

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); moveSize: height of the move


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);
post your creations online

#OttoDIY share!

expand... customize

modify remix
ottodiy.com
ottodiy.com

You might also like