chicago girls in computing arduino workshop

Post on 13-Jul-2015

611 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Arduino Workshop

Chris Agocs2014-06-21

Chicago Girls in Computing & Southside Hackerspace Chicago

Administrative stuff

• Food: eat it

• Bathroom: turn left, go down the hall, turn left

• If you need anything, let us know.

Shoutouts

Who am I?

• Software Engineer

• Motorcyclist

• Kitchen Experimenter

Basic Circuits

Digital Circuits

• Abstraction

• High / Low

Microcontroller

• It’s a computer, but…

– Small

– Simple

• Applications

Von Neumann Architecture

Processor Memory

I/O Device

I/O Device

I/O Device

Instructions

Data

Data

Data

Data

Arduino Nano

Processor Memory

I/O Device

I/O Device

I/O Device

So what

• Let’s build something

Picture of the basic nightlight in action

Arduino Nano

Yes, I just re-used this slide

Light Emitting Diode

Long endAnodePositive

Short endCathodeGround

Light comes out here

Light Emitting Diode

LED Manufacturing

https://learn.sparkfun.com/tutorials/how-leds-are-made/all

Resistor

Not directional

Color codes

How to read a Resistor

Photoresistor

Not directional

More light = less resistance

Pulldown Resistor

Picture of the basic nightlight in action

Then what?

• Ideate

• Implement

• Iterate

Wifi Info

• sshc

• password1!

Arduino IDE setup

• arduino.cc/en/Main/Software

– Scroll down a bit

– Pick your OS

– Download & Install

• ftdichip.com/Drivers/VCP.htm

– Scroll down

– Pick your OS

– Download & Install

Arduino IDE setup

• Tools > Board > Arduino Nano w/ ATMega328

• Tools > Serial Port > Pick one that makes sense

• Open a sketch and try to send it

Board assembly

Code

• Switch over to IDE

Have some fun

• Other LEDs available

• Ask questions!

Resources

• Ask us stuff:

– Chris: chris@agocs.org

– Mason: masond@gmail.com

• Parts and Tutorials

– Adafruit.com

top related