Projecte Ardui Compressed

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

PROJECTE ARDUI

AROA, JUDIT I LUCIA


ESCORPÍ
Hem fet un escorpí amb
moviment a la cua i llums als
ulls.
material del projecte
Hem creat un escorpí robot amb els
següents materials:
Ardui
Tauler de punts d'unió
Servo motor
Ventilador d'un aspa (180 graus)
2 LED vermells
Resistència (330)
6 cables de pont
USB cable
Cartró
Silicona
Pintura
Cuter
esbós
circuit
codi
//include the Servo library
#include <Servo.h>

//create an object of the Servo library. Call this object myservo


Servo myservo;

//create a variable for the signal pin of the servo (pin 13)
int SERVOPIN=13;

//create a variable to store the random position of the servo head


int POSITION=0;

//create two variables for the LEDs


int LEFTEYE=12;
int RIGHTEYE=11;

void setup() {
//attach the signal pin of the servo to the servo object
myservo.attach(SERVOPIN);

//give the servo head an initial position (0)


myservo.write(0);
delay(2000);
carcassa
a a

Fer a la placa el circuit


necessari per als ulls y la Enganxar les peces del
cua cos amb silicona

a
a
Amb caixes de cartró, Omplir els espais buit
construir el cos pas a pas amb una bossa de
plàstic negre

a
a

posar la placa dins del pintar-lo amb spray


cos negre
finalitzat

You might also like