introdução ao arduino - professorpetry.com.br · introdução ao arduino instituto federal de ......

17
Introdução ao Arduino Instituto Federal de Educação, Ciência e Tecnologia de Santa Catarina Departamento Acadêmico de Eletrônica Eletrônica de Potência Florianópolis, maio de 2013. Prof. Clóvis Antônio Petry.

Upload: vocong

Post on 21-Sep-2018

235 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Introdução ao Arduino

Instituto Federal de Educação, Ciência e Tecnologia de Santa Catarina Departamento Acadêmico de Eletrônica

Eletrônica de Potência

Florianópolis, maio de 2013.

Prof. Clóvis Antônio Petry.

Page 2: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Bibliografia para esta aula Introdução ao Arduino

1.  Sistemas microcontrolados; 2.  O microcontrolador; 3.  O Arduino; 4.  Baixando e instalando; 5.  A programação; 6.  Um exemplo.

www.ProfessorPetry.com.br

Page 3: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Introdução ao Arduino: 1.  Sistemas microcontrolados; 2.  O microcontrolador; 3.  O Arduino; 4.  Baixando e instalando; 5.  A programação; 6.  Um exemplo.

Nesta aula

Page 4: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Sistemas microcontrolados

Adaptado de: Pacheco, F. & Lima, C. – Oficina Sobre Arduino, IF-SC/DAELN, 2011.

Page 5: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

O microcontrolador

Adaptado de: Pacheco, F. & Lima, C. – Oficina Sobre Arduino, IF-SC/DAELN, 2011.

Page 6: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

O Arduino

O que é o Arduino: •  Arduino is an open-source electronics prototyping

platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.

Page 7: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Vantagens de usar Arduino: •  Hardware livre, pode ser copiado e reproduzido; •  Software livre, pode ser usado livremente.

•  Baixo custo; •  Plataforma colaborativa; •  Fácil de usar.

O Arduino

Page 8: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Hardware (low-cost): Arduino Uno

O Arduino

Page 9: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Software (free): •  The open-source Arduino environment makes it easy to write code

and upload it to the i/o board. It runs on Windows, Mac OS X, and Linux. The environment is written in Java and based on Processing, avr-gcc, and other open source software.

www.arduino.cc

O Arduino

Page 10: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Modelos:

www.arduino.cc

O Arduino

Page 11: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Expandindo e criando aplicações (shields)

Page 12: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Ambiente de programação (IDE)

Adaptado de: Earthshine Design Arduino Starters Kit Manual - A Complete Beginners Guide to the Arduino.

Page 13: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Complementos - Fritzing

www.fritzing.org

Page 14: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Complementos - Fritzing

Page 15: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Exemplo de aplicação

Exemplo 1: Lendo uma entrada analógica e controlando um LED.

Page 16: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Tarefas

Os alunos devem: 1.  Definir as equipes; 2.  Fazer o download do Arduino e Fritzing; 3.  Estudar os exemplos de:

Arduino Starter Kit Manual

www.EarthshineDesign.co.uk

Material complementar: q  Arduino Experimenters Guide HQ:

http://oomlout.com/products/ARDX/ARDX-experimenters-guide-DD.pdf q  Arduino Programming Notebook:

http://www.lulu.com/items/volume_63/1108000/1108699/4/print/ARDUINO_NOTEBOOKv6.pdf q  Minicurso Arduino:

www.brasilrobotics.blogspot.com q  Practical Arduino Cool Projects for Open Source Hardware:

http://www.practicalarduino.com/authors

Page 17: Introdução ao Arduino - professorpetry.com.br · Introdução ao Arduino Instituto Federal de ... The environment is written in Java and based on Processing, avr-gcc, and other

Próxima aula

Capítulo 9: Choppers DC 1.  Conversores cc-cc isolados.

www.ProfessorPetry.com.br