Date post: | 13-Jul-2015 |
Category: |
Technology |
Upload: | agocs |
View: | 611 times |
Download: | 0 times |
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: [email protected]
– Mason: [email protected]
• Parts and Tutorials
– Adafruit.com