Top Banner
Christmas Light Addition Program – 2013 © Bill Foley June 1, 1940 – October 12, 2012 Why Do I Arduino? Presented by Alan Thompson
42
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Clap 2013 arduino

Christmas Light Addition Program – 2013 ©

Bill Foley June 1, 1940 –

October 12, 2012

Why Do I Arduino? Presented by Alan Thompson

Page 2: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 2

Where To Begin I am NOT an EXPERT The opinions expressed here are those of a die-

hard Do-It-Yourself Christmas Addict. Do try this at home, your mileage may

vary, objects in the mirror are closer than they appear, the 3rd time is a charm, but no Resistors, Capacitors, or LEDs were harmed during the development of this presentation.

Now ……… On with the show……..

Page 3: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 3

Where To Begin

• Some Definitions • The “Original” Arduino • What, How, and Why • Shields Up • Variations On A Theme • Where To Go From Here

Page 4: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 4

Some Definitions • Microcontroller

– PIC, Propeller, Stamp, ATmega, ATtiny, etc.

Page 5: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 5

Some Definitions • Development Environment (IDE)

– AVR Studio, MP Lab, Arduino, etc.

• Programming Language – C, C+, Java, Python, Arduino, etc.

Page 6: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 6

Some Definitions • Bootloader

– Firmware “image” for different versions and/or variations of Arduino

– From www.Arduino.cc – In order for the development environment to

be able to program the chip, it has to be programmed with a piece of code called a bootloader.

– If you want to use the full program space (flash) of the chip or avoid the bootloader delay, you can burn your sketches using an external programmer

Page 7: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 7

Some Definitions • Programmers

– PICkit, AVR ISP, USBtinyISP, Arduino, etc.

• Open Source

Page 8: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 8

The “Original” Arduino From: http://www.arduino.cc/

• 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.

• Arduino can sense the environment by receiving input from a variety of sensors and can affect its surroundings by controlling lights, motors, and other actuators.

Page 9: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 9

The “Original” Arduino • The microcontroller on the board is programmed using

the Arduino programming language (based on Wiring) and the Arduino development environment (based on Processing). Arduino projects can be stand-alone or they can communicate with software running on a computer (e.g. Flash, Processing, MaxMSP).

• The boards can be built by hand or purchased preassembled; the software can be downloaded for free. The hardware reference designs (CAD files) are available under an open-source license, you are free to adapt them to your needs.

Page 10: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 10

The “Original” Arduino

• Arduino received an Honorary Mention in the Digital Communities section of the 2006 Ars Electronica Prix.

• The Arduino team is: Massimo Banzi, David Cuartielles, Tom Igoe, Gianluca Martino, and David Mellis.

• Credits

Page 11: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 11

The “Original” Arduino

Page 12: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 12

Arduino UNO R3

Page 13: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 13

Arduino Starter Kit

Page 14: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 14

Arduino Starter Kit Unboxed

Page 15: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 15

Here’s What To Do, How To Do It, . . . . and Why • Download the Arduino Software • Configure the Arduino IDE • Write a Sketch • Upload to your Arduino • Make the Connections • Tweak and Tweak Some More

Page 17: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 17

Here’s What To Do, How To Do It, . . . . and Why • Configure the Arduino IDE

Select Tools Menu

Page 18: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 18

Here’s What To Do, How To Do It, . . . . and Why • Configure the Arduino IDE

Select the Board

Page 19: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 19

Here’s What To Do, How To Do It, . . . . and Why • Configure the Arduino IDE

Select the Serial Port

Page 20: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 20

Here’s What To Do, How To Do It, . . . . and Why • Configure the Arduino IDE

Select the Programmer (if using your Arduino to program another Arduino or other microcontrollers or if you

need to burn a bootloader on a “blank” chip)

Page 21: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 21

Here’s What To Do, How To Do It, . . . . and Why • Write a Sketch

Page 22: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 22

Here’s What To Do, How To Do It, . . . . and Why • Upload to Your Arduino

Page 23: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 23

Here’s What To Do, How To Do It, . . . . and Why • Make Connections

Page 24: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 24

Here’s What To Do, How To Do It, . . . . and Why • Make Connections

Page 25: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 25

Here’s What To Do, How To Do It, . . . . and Why • Tweak and Tweak Some More

Page 26: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 26

Shields Up • From:

http://arduino.cc/en/Main/ArduinoShields

– Shields are boards that can be plugged on top of the Arduino PCB extending its capabilities. The different shields follow the same philosophy as the original toolkit: they are easy to mount, and cheap to produce.

Page 27: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 27

Shields Up

Page 28: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 28

Shields Up

Page 29: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 29

Shields Up

• Make Your Own Protoshield Kit

Page 30: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 30

Shields Up

Page 31: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 31

Variations On A Theme • What makes an Arduino board an Arduino?

• The Arduino module is a simplified microcontroller board. Although there are an increasing number of alternate form factors, the original design includes all the electronic parts necessary to power and communicate with the microcontroller: regulator, clock crystal, USB-to-serial interface, and SPI programming interface for replacing the bootloader.

Page 32: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 32

Variations On A Theme • What makes an Arduino board an Arduino?

• An Arduino board is more than a piece of hardware. It's also the software that lets you program and communicate with it, the documentation and tutorials that explain how to use it, and the community that can help you when you have trouble. It's the fact that all of these work together that, more than any individual piece, makes the project useful.

http://arduino.cc/en/Main/Policy

Page 33: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 33

Variations On A Theme

• Arweeny • Boarduino • EL Sequencer • Flyduino

Page 34: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 34

Variations On A Theme

• Lily Pad • Redboard • Sippino • and Many, Many Others

Page 35: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 35

Variations On A Theme

Page 36: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 36

Variations On A Theme

Page 37: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 37

Where To Go From Here • Buy an Arduino or Starter Kit

Page 38: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 38

Where To Go From Here • Buy an Arduino or Starter Kit

– Here are some of my favorite vendors

– But there are many, many, many others!

http://adafruit.com

http://www.jameco.com

https://www.sparkfun.com http://www.allelectronics.com

http://www.makershed.com

https://solarbotics.com

Page 39: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 39

Where To Go From Here • Start Out With Tutorials

– http://learn.adafruit.com/ – http://learn.adafruit.com/category/learn-arduino

– https://www.sparkfun.com/tutorials

– http://arduino.cc/en/Tutorial/HomePage

Page 40: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 40

Where To Go From Here • Check Out Other Peoples Projects

Page 41: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 41

Where To Go From Here

Google “Arduino” and Stand Back!

Page 42: Clap 2013 arduino

Christmas Light Addition Program – 2013 © 5/11/2013 42

The End That’s all I’ve got for this year!