Monthly Archives: September 2008
Multiple time stamp checks on a microcontroller
Sometimes you need to manage multiple events with a microcontroller that all require different timing. For example, you might want to control a servomotor (which requires a 20 millisecond delay), blink an LED once a second, and read some sensors … Continue reading
Posted in arduino/wiring
Tagged arduino, microcontroller physical computing, pcomp, time stamp, wiring
Leave a comment
Fading an LED from a switch
This example uses a digital input to control a fading LED. The LED turns on when the switch goes from off to on, then fades slowly to black. It illustrates two principles: the idea of edge detection or state change … Continue reading
Posted in arduino/wiring
Leave a comment
Using an Accelerometer to Sense Which Way Is Up
ITP just got some nifty flat panel mounts that can rotate 360 degrees. They’re very easy to move, it takes only one hand. When I saw them, I thought, “what good is a rotating mount if the content on the … Continue reading
Posted in arduino/wiring, circuits
Tagged accelerometer, arduino, pcomp, physical computing, rotation sensing
5 Comments