Building
Gadgets:
an Open
Electronics
Lab

Spring 2011
course
navigation

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:
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:
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.
http://cs.marlboro.edu/ courses/ spring2011/gadgets/ notes/ Feb_10
last modified Thursday February 10 2011 5:07 pm EST

attachments [paper clip]

     name last modified size
   class_lol_demo_pde.pde Feb 10 2011 5:06 pm 338B