Tuesday, September 15, 2009

Lab2-Digital Input & Output

I went through Chapters 3 & 4 in Getting Started With Arduino. I coded all examples and learned step-by-step what each program was doing.

In particular, I found the idea of adding delays to counter the circuit's refresh rate to be an interesting concept.

I recorded videos for "Blink an LED", "Control an LED with a momentary switch", and "Improve control to make the switch usable".

For "Build a Switch" I decided to use a NERF gun and shoot a bull's-eye. The back side of the bull's-eye had a coiled wire attached. A 2nd layer behind the bull's-eye had a circle of foil attached to another wire. When the NERF bullet hits the target, the impact causes both layers to connect and transmit current. I coded the LED to blink 5 times rapidly and then stop as a sign of success! I recorded a video of the switch in action.

All videos are in reverse chronological order here (click backwards through the videos):
http://robo.to/clintbeharry

No comments:

Post a Comment