This repository will contain sample code and notes for an introductory Arduino class. The curriculum covers the following:
- Hello World & Digital Output - What a microcontroller is, how AVR differs from Arduino, basics of the environment, & how a breadboard works. Also, manipulating the built-in LED on pin 13 and a common-anode RGB LED.
- Digital Input - Detecting when a switch is pressed. also: debouncing, the first weird, frustrating electronics thing.
- Serial communication - Talking to a computer. Back to software, it works like you'd think, so relaxing!
- Analog Output - How PWM works, why it isn't really analog, and what servos are good for.
- Analog Input - Reading a non-binary value from a photoresistor.
- Synthesis (maybe) - making a laser tripwire alarm sounds like fun.
We are using a basic list of materials, which can be purchased for about $25 per student:
- Arduino Uno
- Jumper wires
- Photoresistors
- Common-anode RGB LEDs
- 150 ohm resistors
- Breadboards
- Pushbuttons
- Mini servos
You can find class notes at the following links, or as PDFs within the project's folders. You will miss the animated GIFs if you use the PDFs, though.