arduino: construindo robôs com software e hardware livres
DESCRIPTION
Palestra que ministrei na Semana de Computação da Universidade Federal Fluminense sobre Arduino, robótica e integração da plataforma com outras linguagens de programação (em especial Python) no dia 08/11/2010.TRANSCRIPT
![Page 1: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/1.jpg)
Arduinohttp://arduino.cc/
Construindo robôs com software e hardware livres!
Álvaro Justen
![Page 2: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/2.jpg)
Álvaro Justen, prazer!Engª Telecom @ UFF/NiteróiWork @ intelie.com.brweb2py developerblog.justen.eng.br@[email protected]
![Page 3: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/3.jpg)
?
![Page 4: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/4.jpg)
Arduoquê?
![Page 5: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/5.jpg)
Arduino!(Duemilanove)
Computador “físico”! (?)
![Page 6: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/6.jpg)
![Page 7: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/7.jpg)
Especificações ténicas
● Duemilanove (2009) e Nano:● ATMega328● 16MHz● 32kB memória Flash● 2kB memória RAM● 1kB memória EEPROM● I/O:
– 14 digitais (6 com PWM)
– 6 analógicas (ADC 10 bits)
● 32 registradores (8 bits)● Timers● Controlador USB
![Page 8: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/8.jpg)
C/C++
![Page 9: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/9.jpg)
![Page 10: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/10.jpg)
Arduino Nano
![Page 11: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/11.jpg)
Arduino Mega
![Page 12: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/12.jpg)
Arduino Lilypad
![Page 13: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/13.jpg)
![Page 14: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/14.jpg)
![Page 15: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/15.jpg)
Fritzing
Fritzing
![Page 16: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/16.jpg)
Talk is cheap.Show me the code!
![Page 17: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/17.jpg)
![Page 18: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/18.jpg)
PWM
![Page 19: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/19.jpg)
![Page 20: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/20.jpg)
Servomotor
![Page 21: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/21.jpg)
C/C++ #WTF?
![Page 22: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/22.jpg)
http://www.arduino.cc/playground/Interfacing/Python
![Page 23: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/23.jpg)
http://pyserial.sourceforge.net/
![Page 24: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/24.jpg)
http://github.com/lupeke/python-firmata/
![Page 25: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/25.jpg)
Python-Arduino-Prototyping-APIarduino-serial.py
Python 2B
![Page 26: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/26.jpg)
http://www.blendedtechnologies.com/realtime-plot-of-arduino-serial-data-
using-python
![Page 27: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/27.jpg)
![Page 28: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/28.jpg)
![Page 29: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/29.jpg)
![Page 30: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/30.jpg)
![Page 31: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/31.jpg)
![Page 32: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/32.jpg)
![Page 33: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/33.jpg)
![Page 34: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/34.jpg)
#comofaz?
![Page 35: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/35.jpg)
![Page 36: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/36.jpg)
![Page 37: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/37.jpg)
![Page 38: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/38.jpg)
![Page 39: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/39.jpg)
Turiquinhas 1.0
![Page 40: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/40.jpg)
Maddog – Hack n' beer
![Page 41: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/41.jpg)
![Page 42: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/42.jpg)
2.0 #FTW!
![Page 43: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/43.jpg)
![Page 44: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/44.jpg)
![Page 45: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/45.jpg)
![Page 46: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/46.jpg)
Esquema elétrico
![Page 47: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/47.jpg)
![Page 48: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/48.jpg)
Aplicação Web
● Interface:● HTML● CSS● JavaScript + jQuery
● Servidor:● web2py● pyserial● streamer
![Page 49: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/49.jpg)
![Page 50: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/50.jpg)
Great revolutions!
● Eventos:● FISL – Porto Alegre/RS● CONSEGI – Brasília/DF● Slackshow, Linux in Rio, Dev in Rio/RJ● PythonBrasil – Curitiba/PR● Latinoware – Foz do Iguaçu/PR● Campus Party – São Paulo/SP
● ArduInRio: encontro mensal!● Arduino @ UFF
![Page 52: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/52.jpg)
![Page 53: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/53.jpg)
![Page 54: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/54.jpg)
![Page 55: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/55.jpg)
Quero aprender!#comofaz?
![Page 57: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/57.jpg)
Action!
![Page 58: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/58.jpg)
Cadê o Turiquinhas?
![Page 59: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/59.jpg)
Quanto custa?Onde compro?Resistores?
AC/DC?Circuitos integrados?
Optooquê? o.ORegistradores?
Variáveis?Loops?
Ponteiros?
![Page 60: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/60.jpg)
![Page 61: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/61.jpg)
![Page 62: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/62.jpg)
CursoDeArduino.com.brTwittem! =)
![Page 63: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/63.jpg)
?
![Page 64: Arduino: Construindo robôs com software e hardware livres](https://reader035.vdocuments.pub/reader035/viewer/2022062300/55610c4ad8b42a89138b4c68/html5/thumbnails/64.jpg)
So long and thanks for all the fish!http://twitter.com/[email protected]://blog.justen.eng.br/http://CursoDeArduino.com.br/
Happy Hacking!