Monday, February 5, 2007

Lab 2- 1st Arduino Program

Everything went very smoothly with this lab. From, downloading and installing the Arduino software to getting the board up and running, I didn't run into a single snag which made the lab very fun.


This is the Arduino set up with the breadboard. The power is running from the Arduino to the breadboard with a switch hooked up to digital pin 2 with a pulldown resistor going to ground.



Here are the LED's. The yellow LED is normally on and when switch is pressed, the red LED lights up.





Here is a video of a sequence of 6 LED's running one after the next.


I switched the pins so that the sequence switched from one end to the next to give the illusion that the LED's were moving inward.

I attempted to use the voltage outputs to control an oscillator I made from a 555 chip. I couldn't generate enough voltage so I think I'll have to try again with an op-amp to boost the voltage. I might try a 741.

No comments: