Page 6 - Programacion
P. 6

CONTENIDO CONTENIDO
INTRODUCCIÓN. .............................................................................7
¿QUÉ ES ARDUINO?.......................................................................9
Microcontroladores. .......................................................................... 9
Presentación de la tarjeta Arduino . ...........................................10
Especificaciones técnicas . ..........................................................11
ALGORITMOS.............................................................................. 12
Aritméticos........................................................................................14
Comparativos ...................................................................................15
INSTALACIÓN DE ARDUINO....................................................... 16
PARTES DE LA PLATAFORMA.................................................... 18
Menús .................................................................................................18
Otras partes de la plataforma de Arduino. ...............................20
Editor del programa.........................................................................21
SEÑALES DIGITALES.................................................................. 21
INSTRUCCIONES BÁSICAS DE PROGRAMACIÓN. ................... 22
Comando pinMode. ..........................................................................22
Otros comandos. ..............................................................................24
MÁS ACERCA DE ARDUINO. ....................................................... 29
SEÑALES DIGITALES DE ENTRADA. .......................................... 33
Entradas digitales en Arduino......................................................34
Sentencia if/else..............................................................................34
Recepción de señal digital............................................................36
Declaración de variables. ...............................................................42
SEÑALES ANALÓGICAS............................................................. 45
Monitor serial. ....................................................................................46
SEÑALES ANALÓGICAS EN ARDUINO...................................... 52
INSTRUCCIÓN FOR..................................................................... 55
SERVOMOTORES........................................................................ 60
FUNCIÓN MAP. ............................................................................ 68





































































   4   5   6   7   8