gizDuino with Potentiometer

Demo:
In this demo, it will show you how does it affects the delay value of LED lights by using the potentiometer in analogRead() function. This means that it will map input voltage between 0 and 5 V into integer values between 0 and 1023. This yields a resolution between readings of: 5 volts / 1024 units or, .0049 volts (4.9 mV) per unit. As you can see, from the video, the value inserted to the delay of LED pin output. So when the potentiometer rotate to the left, the delay is smaller, that’s why the LED is blinking fast. Same as when its turning to the right, the delay is increasing.
Read more: analogRead();
Review:
A potentiometer is a three-terminal resistor with a sliding or rotating contact that forms an adjustable voltage divider. If only two terminals are used, one end and the wiper, it acts as a variable resistor or rheostat.
Materials Need:
1 x gizDuino PLUS ATmega644P Starter kit
1 x Red LED 5mm
1 x 560 Ohms
1 x 10K Potentiometer
1 x USB Cable
6 x 1pin Jumper wire (male-male)
Schematic Diagram:
Wiring Connection:
Digital pin 13 —> (+) Anode LED
(-) Cathode —> 560 Ohms —> Ground
Leave a Comment