AN INTRODUCTION TO THE ARDUINO

Download Report

Transcript AN INTRODUCTION TO THE ARDUINO

AN INTRODUCTION TO THE ARDUINO
LVTech / MakeLehighValley
@makelv / www.makelehighvalley.com
IRC #makelv on freenode.net
Jared Steckel / @gimps
WHAT THE ___ IS AN ARDUINO?
• An Arduino is a simple, inexpensive, open source platform
for the prototyping and development of electronically
controlled devices.
2005 Ivrea, Italy by Massimo Banzi and David Cuartielles
~500,000 in use 2012
Fork of Wiring/Processing Projects, descended from MIT
xkcd.com
IT’S (GOT) A MICROCONTROLLER!
• An Arduino houses a microcontroller, which is a complete
computer contained within a single integrated circuit.
(Atmel AVR Atmega328)
ATMEGA328(P)
• 8-bit AVR RISC
• 32K Flash Memory
• 16MHz
• USART, Serial, SPI
• 6-Channel 10-bit A/D
• 32 GP Registers, 8MHz Internal
Oscillator, Interrupts, Watchdog
• GP I/O
WHAT’S ON THE REST OF THE BOARD?
FTDI
USB Port Protection
LEDs
Voltage regulator
Header Pins (in order!)
ICSP Header
Reset Button
Crystal
SHIELDS!
THE ARDUINO IDE
< 5 MINUTES OF ELECTRICITY
1.21 GIGAWATTS!?
Voltage = Pressure (Volts)
Current = Volume (Amps)
Power = Use/Dissipation (Watts)
A/C
D/C
24VAC
5VDC
OHM’S LAW
(I = V/R)
THE DIGITAL DIMMER
BREADBOARDING
RESISTOR COLOR CODE
5 Volts / 200 Ohms = .025A
Fritzing
fritzing.org
PWM (Pulse Width Modulation) Pins
PULSE WIDTH MODULATION
Brighter
Dimmer
WHERE DO I GO FROM HERE?
playground.arduino.cc
learn.adafruit.com
Element14 Arduino Community
(http://www.element14.com/community/groups/arduino?CMP=KNC-USA-ARDUINO)
ISBN 978-1-449-30987-9
AN INTRODUCTION TO THE ARDUINO
LVTech / MakeLehighValley
@makelv / www.makelehighvalley.com
IRC #makelv on freenode.net
Jared Steckel / @gimps