Transcript

Christmas Light Addition Program – 2013 ©

Bill Foley June 1, 1940 –

October 12, 2012

Why Do I Arduino? Presented by Alan Thompson

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

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

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

Some Definitions • Microcontroller

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

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.

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

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

Some Definitions • Programmers

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

• Open Source

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.

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.

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

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

The “Original” Arduino

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

Arduino UNO R3

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

Arduino Starter Kit

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

Arduino Starter Kit Unboxed

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

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

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

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

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)

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

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

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

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

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

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

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

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

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

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.

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

Shields Up

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

Shields Up

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

Shields Up

• Make Your Own Protoshield Kit

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

Shields Up

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.

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

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

Variations On A Theme

• Arweeny • Boarduino • EL Sequencer • Flyduino

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

Variations On A Theme

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

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

Variations On A Theme

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

Variations On A Theme

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

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

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

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

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

Where To Go From Here • Check Out Other Peoples Projects

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

Where To Go From Here

Google “Arduino” and Stand Back!

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

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

top related