arduino_eghost2ndday
DESCRIPTION
Spacial thanks again to @jon_lazaro @juanarmentia juanjose.echevarria y @p_curiel you're help have made possible this workshopTRANSCRIPT
![Page 2: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/2.jpg)
2
PLANIFICACIÓN DEL CURSO
Primer día (2h teoría) Introducción El mundo de Arduino
OSHW Plataformas y Shields Sensores y Actuadores
Motivación: Proyectos IDEs
Arduino y otros IDEs Primer contacto (Blink).
Segundo día (2h práctica) Librerías de Arduino (Ej. Servo Motores). Hands-on 4 sketches. Preguntas, dudas, evaluación.
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
![Page 3: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/3.jpg)
3
FIRST EXAMPLE (BLINK)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
![Page 4: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/4.jpg)
4
FIRST EXAMPLE (BLINK)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
![Page 5: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/5.jpg)
5
LÓGICA DE PROGRAMACIÓNA
rdu
ino - #
eg
host 2
6-2
7/2
01
2
![Page 6: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/6.jpg)
6
FIRST EXAMPLE (BLINK)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Upload
![Page 7: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/7.jpg)
7
¿QUÉ VAMOS A USAR?
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
![Page 8: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/8.jpg)
8
SENSORES Y ACTUADORES (I)A
rdu
ino - #
eg
host 2
6-2
7/2
01
2
![Page 9: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/9.jpg)
9
SENSORES Y ACTUADORES (I)A
rdu
ino - #
eg
host 2
6-2
7/2
01
2
![Page 10: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/10.jpg)
10
SENSORES Y ACTUADORES (I)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Photocell (light sensor)
Rotation sensor(potentiometer)
Simple buttons
![Page 11: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/11.jpg)
11
SENSORES Y ACTUADORES (II)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Motores
Luces Led
Piezo Buzzer
![Page 12: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/12.jpg)
12
OTROS….
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Cables
Luces Led
![Page 13: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/13.jpg)
13
OTROS….
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
![Page 14: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/14.jpg)
14
LIBRERÍAS ARDUINO (I)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Funcionalidad Extra (Hardware o datos)
![Page 15: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/15.jpg)
15
LIBRERÍAS ARDUINO (I)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Funcionalidad Extra (Hardware o datos)
~/Arduino/libraries/ ~/Arduino/sketchbook/libraries/
![Page 16: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/16.jpg)
16
LIBRERÍAS ARDUINO (I)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Funcionalidad Extra (Hardware o datos)
~/Arduino/libraries/ ~/Arduino/sketchbook/libraries/
Cabecera <* .h> y el fuente <*.cpp> Carpeta/Directorio
![Page 17: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/17.jpg)
17
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
LIBRERÍAS ARDUINO (II)
![Page 18: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/18.jpg)
18
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
LIBRERÍAS ARDUINO (III)
Importar la librería a tu Sketch
Crear un nuevo objeto de la librería
Configurar tu objeto (dependiendo de la librería)
Llamar la función que necesites
![Page 19: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/19.jpg)
19
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
LIBRERÍAS ARDUINO (IV)
Crea tus propias librerías!!!
![Page 20: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/20.jpg)
20
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
LIBRERÍAS ARDUINO (IV)
![Page 21: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/21.jpg)
21
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
LIBRERÍAS ARDUINO (IV)
![Page 22: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/22.jpg)
22
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
LIBRERÍAS ARDUINO (IV)
![Page 23: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/23.jpg)
23
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
LIBRERÍAS ARDUINO (IV)
![Page 24: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/24.jpg)
24
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
![Page 25: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/25.jpg)
25
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
![Page 26: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/26.jpg)
26
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
![Page 27: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/27.jpg)
27
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
![Page 28: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/28.jpg)
28
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
![Page 29: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/29.jpg)
29
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
![Page 30: Arduino_eghost2ndDay](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482f814b4af9fd8448b46ea/html5/thumbnails/30.jpg)
30
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2