You are on page 1of 13

Arduino Basics

Jon Culver, Matt Lepage

Next Jump, Inc. 2012 CONFIDENTIAL

Demo
Hacked Christmas Lights

http://jonathanhculver.tumbr.com

Next Jump, Inc. 2012 CONFIDENTIAL

Arduino
What is a microcontroller?

Small Computer
Processor core Memory Programmable I/O peripherals

Embedded Systems
Systems designed for specific control functions within a larger system

Next Jump, Inc. 2012 CONFIDENTIAL

Breadboard
Solderless

Next Jump, Inc. 2012 CONFIDENTIAL

Electrical Circuit
Ohms Law

V R I
+ Voltage - Ground return path for current R = Resistance (ohms) V = Potential Difference (voltage) I = Current (amperes)

Next Jump, Inc. 2012 CONFIDENTIAL

First Project
Single LED

Voltage: 2V @ 20mA (.02 amperes) Arduino Voltage: 5V

V R I
52 R 150 .02

200

Next Jump, Inc. 2012 CONFIDENTIAL

Electrical Circuit
Single LED

Next Jump, Inc. 2012 CONFIDENTIAL

Arduino Code
File -> Examples -> Basic -> Blink

Next Jump, Inc. 2012 CONFIDENTIAL

Second Project
Single RGB LED

Arduino Voltage: 5V R Voltage: 2V G Voltage: 3V B Voltage: 3V @ 20mA (.02 amperes)

100 2

R B G -

V R I 53 R 100 .02

150

Next Jump, Inc. 2012 CONFIDENTIAL

Electrical Circuit
Single RGB LED

PIN 4 PIN 5 PIN 6

Next Jump, Inc. 2012 CONFIDENTIAL

10

Arduino Code
Modify Blink for RGB

Next Jump, Inc. 2012 CONFIDENTIAL

11

Sandbox
Ideas!

Christmas Lights! Gmail unread mail notifications Get my attention LED LED Matrix

Next Jump, Inc. 2012 CONFIDENTIAL

12

Resources

http://www.arduino.cc/ File -> Examples http://sparkfun.com http://hackaday.com/ http://www.instructables.com/ http://jonathanhculver.tumblr.com

Next Jump, Inc. 2012 CONFIDENTIAL

13

You might also like