Friday, September 14, 2007

Lab_02 | Switching and Blinking

Lab_02 | Blinking, blinking!

I uploaded blinking program to the arduino, my LED was blinking!

Lab_02 | Programming the Arduino

I connected the microcontroller to my computer via USB and I uploaded the program to the arduino. After a few seconds, I turned the switch on and then my LED lighted!

Turn-off


Turn-on

Lab_02 | Adding a Digital Output


And I connected a green LED to digital pin 13 and GND.

Lab_02 | Adding Da Digital Input


I connected a switch to digital input 2 like this picture.

Lab_02 | Connecting Arduino and Breadboard

Power -> 5V pin (Red)
Ground-> Gnd pin (Black)

Wednesday, September 12, 2007

Lab_01 | Gnerating a Variable Voltage with a Potentiometer

Here is my potentiometer!




When I turned the potentiometer at the center position,
the voltage across the LED was 2.17volts.


When I turned the potentiometer on maximum,
the LED got brighter.
And the voltage across the LED was 4.65volts.