Feb 10
status check
Project and ordering stuff status: please
describe on assignments page where you are,
if you haven't yet. And if you haven't
ordered parts, do so "real soon."
Midterm project reports due by spring break -
that's about a month away. Class discussion
and 1st draft of reports on Thu March 3 (3 weeks
from today); presentations and reports on Thu March 10
(last class before spring break).
The 3D printer has shipped, and will hopefully be
here by next week.
LED and LoL Shield discussion
Describe what a diode is:
- general intuition : one-way gate
- V vs I curve
LEDs :
Arduino digital outputs:
LoL Shield
Charlieplex : tricky way to control many LED's with few pins:
To make it look like many are lit at once, the whole thing "flickers" constantly, making it look like many are lit. It's all pretty tricky.
Show and tell:
- Discuss the mechanics of soldering the thing together.
- Show the default demos.
- Discuss rigging up a knob to control pong game, or which is lit.
- Show the "connect 9V" program continuing without laptop.
In class, modify one his "sketches" to turn on just one LED.
Talk a bit about C programming, and make the lit LED move around perhaps.
Concepts: functions, loops, variables, API.
For people doing things with LEDs with their own design:
1 LED per pin is much, much simpler; see the
Fade example (
http://arduino.cc/en/Tutorial/Fade )
that I showed briefly a few weeks ago. Talk
about (1) the circuit, and (2) the code.
In class we did a simple program to move a dot on the LoL shield; see the attached .pde file.