We will be fading LEDs with PWM, learning how to use for loops, creating variables, bit shifting, and reading analog values.
1. Pulse width modulation
2. Create sketch to turn LED part on
3. Play with this sketch to make the LED dimmer or brighter
4. Intro to conditional loops (for)
5. Use a for loop to ramp up LED brightness
6. Change sketch to ramp up, then down
7. Explanation of how potentiometers work
8. Create sketch that changes LED brightness based on analog value from potentiometer
If you cannot attend the class in person, E-Mail firstname.lastname@example.org and ask to be added to the Google Hangout. The hangout will be started just before class (6:45-7:00 PM).
The slides for the upcoming and previous classes can be found here. The slides are generally made during the three days before a class.
1. An Arduino board of some kind (Uno, Due, Mega, Boarduino, Duemilanove, etc)
2. If your board does not have USB programming built in, you will need a programmer (AVRISP, Bus Pirate, Bus Blaster, AVR Dragon, another Arduino, etc)
3. Breadboard (the long one if possible, though the small square-ish ones are okay for now)
4. USB cable for your board and/or programmer
5. Laptop with the Arduino IDE installed (Linux, Windows, or Mac)
6. Jumper wires for your breadboard
1. Breadboard and jumpers (if you don’t have any of either)
3. Resistors (200-1,000 Ohm)
4. Potentiometer (2 KOhm)
Since Unallocated Space runs off of donations, we would like to mention that the recommended donation for this class is $5. It is by no means a requirement, but it does help us keep the lights on! Attendance to the space, and this class, is 100% free to all!