Download AN INTRODUCTION TO THE ARDUINO

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Integrated circuit wikipedia , lookup

Schmitt trigger wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Multimeter wikipedia , lookup

Broadcast television systems wikipedia , lookup

Power MOSFET wikipedia , lookup

Surge protector wikipedia , lookup

Voltage regulator wikipedia , lookup

Power electronics wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Ohm's law wikipedia , lookup

Index of electronics articles wikipedia , lookup

Radio transmitter design wikipedia , lookup

Rectiverter wikipedia , lookup

Microcontroller wikipedia , lookup

Opto-isolator wikipedia , lookup

Charlieplexing wikipedia , lookup

Immunity-aware programming wikipedia , lookup

Transcript
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