lvtech / makelehighvalley @makelv / irc #makelv on freenode.net jared steckel / @gimps an...

Post on 27-Dec-2015

224 Views

Category:

Documents

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

LVTech / MakeLehighValley

@makelv / www.makelehighvalley.com

IRC #makelv on freenode.net

Jared Steckel / @gimps

AN INTRODUCTION TO THE ARDUINO

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.

Microcontroller!

Arduino!

(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?

Voltage regulator

USB Port Protection

Reset Button

LEDs

FTDI

ICSP Header

Header Pins (in order!)

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

LVTech / MakeLehighValley

@makelv / www.makelehighvalley.com

IRC #makelv on freenode.net

Jared Steckel / @gimps

AN INTRODUCTION TO THE ARDUINO

top related