I powered Arduino with USB cable from my Laptop. I used a wire from 5v of arduino uno to the positive rail of a breadboard. Then I connected 470 ohms resistor with positive rail of the breadboard, so the LED doesn't blow up (LED needs 20.00 mA else it will blow up or not work). I connected the anode of a LED with the resistor. Then I connected the carhode leg of LED with the negative rail of the breadboard. Finally I connected GND of Arduino to negative rail of the breadboard. That's it, the LED lights up!
No comments:
Post a Comment