Wednesday, November 18, 2015

Controlling LED with Potentiometer

For this post, our job was to  increase the brightness of a LED light based on the position of the potentiometer. The material used was a breadboard, two long jumper wires,  potension meter, USB cord, a red LED light, resistor, and the Arduino board. The potentiometer was an important material in order for this to happen because it has a wiper that slides across a resistive strip to deliver an increase or decrease in resistance. The first steps was the potentiometer to breadboard.In order for this to work, the breadboard must be oriented the right way.The sign must be facing out.to connect the wires onto the breadboard. For the next part,  you must connect the LED on the other side of the board. For the 3rd part, we connected the wire from 1st pin on top of the potentiometer to ground rail. For the 4th part, we connected the 2nd pin of potentiometer ( on the 3rd row from top to Analog port 0) . For the last pin, we connected the 3rd pin of potentiometer (5th from top) to power rail (+). Then connect ground rail on this row to Ground on Arduino. For the last part, we connected the the power rail on Breadboard to 5V port on Arduino.

No comments:

Post a Comment