2
allbot.eu void setup() { //NAME.attach(motorname, pin, init-angle, flipped, offset-angle); BOT.attach(hipFrontLeft, A1, 45, 0, 0); BOT.attach(hipFrontRight, A0, 45, 1, 0); BOT.attach(hipRearLeft, 9, 45, 1, 0); BOT.attach(hipRearRight, 4, 45, 0, 0); BOT.attach(kneeFrontLeft, 11, 45, 1, 0); BOT.attach(kneeFrontRight, 2, 45, 0, 0); BOT.attach(kneeRearLeft, 10, 45, 1, 0); BOT.attach(kneeRearRight, 3, 45, 0, 0); //INIT sounder pinMode(sounderPin, OUTPUT); //wait for joints to be initialized delay(500); } //INIT sounder pinMode(sounderPin, OUTPUT); //wait for joints to be initialized delay(500); // Chirp for ready chirp(1, 50); chirp(1, 255); chirp(3, 0); } void loop() { // put your main code here, to run repeatedly: } CONNECT. BUILD. EXPERIMENT. LEARN. made for ARDUINO ® ARDUINO ® AND BATTERIES NOT INCLUDED. ARDUINO ® AND ARDUINO LOGO ARE REGISTERED TRADEMARKS IN SOME COUNTRIES. VELLEMAN AND ALLBOT HAVE NO CONNECTIONS WITH ARDUINO. ALLBOT® AND THE ALLBOT LOGO ARE REGISTERED TRADEMARKS OF VELLEMAN NV. MISPRINTS AND ERRORS EXCEPTED. ILLUSTRATIONS AND TEXTS ARE SUBJECT TO CHANGE WITHOUT PRIOR NOTICE. PLEASE DO NOT LITTER. VELLEMAN® IS A REGISTERED TRADEMARK. COPYRIGHT 2014 VELLEMAN NV. ------------------------------------------------- V.U. E. DIELS, LEGEN HEIRWEG 33, 9890 GAVERE, BE FOL/TEMP - CODE Your dealer: ALLBOT app interested? visit allbot.eu to find your nearest dealer! build. using the online manual learn. to code and write sketches connect. using the Arduino ® IDE experiment. and modify the supplied sketches

made for ARDUINO FOL/TEMP allbot - · PDF fileFOL/TEMP-CODE Your dealer: ALLBOT app interested? visit allbot.eu to fi nd your nearest dealer! build. using the online manual learn

  • Upload
    leanh

  • View
    216

  • Download
    0

Embed Size (px)

Citation preview

allbot.eu

void set

up() {

//NAME

.attach(

motornam

e, pin,

init-ang

le, fl ipp

ed, offs

et-angle

);

BOT.at

tach(hip

FrontLef

t, A1,

45, 0,

0);

BOT.at

tach(hip

FrontRig

ht, A0,

45, 1,

0);

BOT.at

tach(hip

RearLeft

, 9,

45, 1,

0);

BOT.at

tach(hip

RearRigh

t, 4,

45, 0,

0);

BO

T.attach

(kneeFro

ntLeft,

11, 45

, 1, 0);

BOT.at

tach(kne

eFrontRi

ght, 2,

45, 0,

0);

BOT.at

tach(kne

eRearLef

t, 10,

45, 1,

0);

BOT.at

tach(kne

eRearRig

ht, 3,

45, 0,

0);

//INIT

sounder

pinMod

e(sounde

rPin, OU

TPUT);

//wait

for joi

nts to b

e initia

lized

delay(

500);

}

//INIT sounder

pinMode(sounderPin, OUTPUT);

//wait for joints to be initialized

delay(500); // Chirp for ready

chirp(1, 50);

chirp(1, 255);

chirp(3, 0);}

void loop() {

// put your main code here, to run repeatedly:

}

CONNECT.BUILD.

EXPERIMENT.

LEARN.

BOT.at

tach(hip

RearRigh

t, 4,

45, 0,

0);

BOT.at

tach(kne

eFrontLe

ft, 11,

45, 1,

0);

BOT.at

tach(kne

eFrontRi

ght, 2,

45, 0,

0);

BOT.at

tach(kne

eRearLef

t, 10,

45, 1,

0);

BOT.at

tach(kne

eRearRig

ht, 3,

45, 0,

0);

pinMod

e(sounde

rPin, OU

TPUT);

//wait

for joi

nts to b

e initia

lized

//wait for joints to be initialized

// Chirp for ready

chirp(1, 50);

chirp(1, 255);

chirp(3, 0);}

void loop() {

// put your main code here, to run repeatedly:

}

EXPERIMENT.

EXPERIMENT.

made for ARDUINO®

ARDUINO® AND BATTERIES NOT INCLUDED. ARDUINO® AND ARDUINO LOGO ARE REGISTERED TRADEMARKS IN SOME COUNTRIES. VELLEMAN AND ALLBOT HAVE NO CONNECTIONS WITH ARDUINO. ALLBOT® AND THE ALLBOT LOGO ARE REGISTERED TRADEMARKS OF VELLEMAN NV. MISPRINTS AND ERRORS EXCEPTED. ILLUSTRATIONS AND TEXTS ARE SUBJECT TO CHANGE WITHOUT PRIOR NOTICE. PLEASE DO NOT LITTER. VELLEMAN® IS A REGISTERED TRADEMARK.

COPYRIGHT 2014 VELLEMAN NV.-------------------------------------------------V.U. E. DIELS, LEGEN HEIRWEG 33, 9890 GAVERE, BE

FOL/

TEM

P- C

OD

E

Your dealer:

ALLBOT app

interested?visit allbot.eu to fi nd your nearest dealer!

build.using the

online manual

learn.to code and

write sketches

connect.using the

Arduino® IDE

experiment.and modify the supplied

sketches

allbot_POS-folder-A4-trifold.indd 1 31/03/2016 10:10:33

add-ons.Build and enhance the robot,

learn how to program, use the app and have fun!

possibilities.Feeling creative? You

can build your own ALLBOT creation by using the add-ons!

meet the ALLBOTS.

The ALLBOT is a modular robot system with Arduino compatible robot shields.

All parts are open source so feel free to 3D print them yourself!

fi nd the ALLBOTS on

BUILD YOUR FIRST ALLBOT EXPAND YOUR ALLBOT CREATE YOUR OWN ALLBOT

VR204 2 legged ALLBOT

VR408 4 legged ALLBOT

Both ALLBOTs are provided with an online manual that includes exemplary codes (Arduino® sketches) to help you program

your Arduino® Uno or Arduino® Mega!

VR001 IR transmitter to control the ALLBOT with your smartphone (included with VR408)

VR002 simple sensor pack: thermometer + light sensor + sound sensor

VR003 advanced sensor pack: gyroscope + accelerometer + magnetometer

VR006 2 × 9G servo pack

VR007 plastic parts pack A

VR012 2 servo leg

VR013 3 servo leg

VRBS2 Li-ion battery pack

fi nd more

add-ons on

allbot.eu

fi nd the ALLBOTS on

compatible robot shields.

allbot_POS-folder-A4-trifold.indd 2 31/03/2016 10:10:45