arduino_eghost
DESCRIPTION
This talk is a customized mix of: http://www.slideshare.net/eoinbrazil/iotc08-the-arduino-platform http://www.slideshare.net/adafruit/open-source-hardware-overview http://www.slideshare.net/coopermaa/arduino-introduction-by-coopermaa http://todbot.com/blog/spookyarduino/ http://www.slideshare.net/adg89/seminario-de-arduino-deustotech http://www.slideshare.net/omerk/introduction-to-arduino-2705908 http://www.slideshare.net/arduinoteam/open-source-hardware-summit-speech-2011 Thaks to all the authors for your excellents slidesTRANSCRIPT
ARDUINO…From scratch
@dieguich, @juanarmentia, [email protected] & @jon_lazaro
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. Hands-on 4 sketches. Preguntas, dudas, evaluación.
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
3
¿EMPEZAMOS?
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Al Lío!!
4
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Spooky Projects
EOIN BRAZIL
COOPER MAA
Arduino Team OSHW
Omer Kilic
@juanarmentia@Jonechevarria
Adafruit
5
INTRODUCCIÓN
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
6
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
7
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
8
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
9
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
USB Port
Power Supply
Digital In/Out Pins
Analog Input Pins
Power Pins
Atmega328p
USB to Serial
I2C (4 & 5)
Serial - Uart
SPI
Bootloader
10
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
+5V
+5V
0V
0V
[ HIGH- LOW ]
[ 0 - 1023 ]
11
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
February 1982 February 2005
12
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
13
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
• Open Source Hardware?
• Is FOSS like?
14
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
15
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
16
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
17
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
18
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
19
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
20
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
21
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
22
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
23
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
http://en.wikipedia.org/wiki/Open-source_hardware
24
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
25
¡¡QUE LÍO!!
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
26
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
http://arduino.cc/cgi-bin/yabb2/YaBB.pl
27
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
28
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
29
BOARDS OFICIALES (I)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
UNO
Duemilanove
Mega
Nano
30
BOARDS OFICIALES (II)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
LilyPad
Mega ADK
Mini
31
BOARDS OFICIALES (III)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Arduino Due (Cortex-M3)
Arduino Leonardo
32
BOARDS COMPATIBLES (OSHW)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Freeduino Seeeduino
Boarduino(ladyada) Teensyduino
Zigduino (ZigBee)
33
BOARDS CLONES (NOT AT-MEGA)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Pinguino (PIC18/32)
Netduino (Atmel ARM7, use .NET)
FEZ Panda (NXP ARM7, use .NET)
mbed (NXP ARM Cortex-M0/M3)
34
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Microcontroller ATmega328p
Operating Voltage
5V
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins
6
DC current per I/O Pins
40mA
DC current for 3.3V Pin
50mA
Flash Memory 32KB
SRAM 2KB
EEPROM 1KB
Clock Speed 16MHz
ICSP Header In System Programming, used when you want to burn the bootloader, you'll need an AVR-ISP
35
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
36
EXTENDING ARDUINO CAPABILITIES – THE SHIELDS
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Motor ShieldTouch Shield
Input Shield SEMeter Shield(Smart Meter)
EduShield
37
EXTENDING CAPABILITIES – COMMUNICATION SHIELDS
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
XBee GPRS
EtherNEt
BlueTooth
Wi-Fi
RfID
38
SENSORES Y ACTUADORES (I)A
rdu
ino - #
eg
host 2
6-2
7/2
01
2
39
SENSORES Y ACTUADORES (I)A
rdu
ino - #
eg
host 2
6-2
7/2
01
2
40
SENSORES Y ACTUADORES (I)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Photocell (light sensor)Rotation sensor(potentiometer)
PIR
Sharp IR SensorHumiditySound
41
SENSORES Y ACTUADORES (II)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Temperature
Tri-Axis Accelerometer
AC Current Sensor
CO2 Sensor
Pressure
Polar Heart Rate Sensor
42
SENSORES Y ACTUADORES (III)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Motores
Luces Led
Piezo Buzzer
43
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Let me Google….
Where can we buy an Arduino ?
44
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
45
INSPIRACIÓN….
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
46
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
48
MATERIAL DE OFICINA (I)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
49
MATERIAL DE OFICINA (II)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
50
¿QUÉ PUEDES IMPRIMIR?
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Manilla puerta
Perchero
51
MÚSICA
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
52
ARDUINO MEETS ANDROID (I)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
53
ARDUINO MEETS ANDROID (II)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
http://bitly.com/wdrPee
54
ARDUINO MEETS ANDROID (III)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
http://noxdroid.org
55
COMPRAS E INVENTARIOS
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
56
INTERFÁZ HUMANO-TANGIBLE
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
http://bit.ly/PZ5Vlq
57
ROBÓTS DE TODA CLASE
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
58
ROPA Y TEXTIL
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
59
ELECTRODOMÉSTICOS
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
http
://socia
lcoffe
e.m
ore
lab
.deu
sto
.es
60
FOTOGRAFÍA
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Vídeo Photoduino
www.photoduino.com
61
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
62
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
63
FIRST EXAMPLE (BLINK)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
64
FIRST EXAMPLE (BLINK)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
On board LED on Pin 13
65
FIRST EXAMPLE (BLINK)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
66
FIRST EXAMPLE (BLINK)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
67
LÓGICA DE PROGRAMACIÓNA
rdu
ino - #
eg
host 2
6-2
7/2
01
2
68
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
69
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
70
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
71
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
72
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
73
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
74
FIRST EXAMPLE (BLINK)
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Upload
75
NO SÓLO ARDUINO IDEA
rdu
ino - #
eg
host 2
6-2
7/2
01
2
76
REFERENCIAS DE FOTOGRAFÍAS http://www.cccb.org/lab/es/ici/una-revolucio-educativa/ http://www.lasseriesdetuvida.com/?page_id=20087 http://www.mediabistro.com/unbeige/if-designers-are-the-enemy-are-
innovators-the-heroes_b2965 http://cobaq17verdema.blogspot.com.es/2011/05/reciclaje-las-tres-rrr.html http://funcorner.eu/tag/ipod/ http://www.autism-community.com/community-center/ http://free-images-of.com/tag/thinking-images/ http://findingthewritemoment.blogspot.com.es/2011/07/i-get-inspiration-
to-write-in-weirdest.html http://www.motivationalmemo.com/130-inspiration-quotes-for-those-who-
need-inspiration/ http://blog.timesunion.com/payitforward/all-susan-stricklean/2003/ http://www.esuppliersindia.com/meson-india-pvt-ltd-/actuators-pr540004-
sCATALOG-swf.html http://reprap.org/wiki/RepRap/es http://www.moderndesigntrends.com/?p=vdgwauafoei&paged=15 http://tdistler.com/tag/funny http://technabob.com/blog/2010/11/15/twitter-monkey-arduino-monkey/
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
Ard
uin
o - #
eg
host 2
6-2
7/2
01
2
77