Skip to main content

08. Using a potentiometer to control the blink rate of an LED

The supplies and hardware setup is exactly that of the previous project. In this project, we will see how the potentiometer affects the blink rate of an LED.

Supplies

  • LED
  • Resistor - 220Ω
  • Potentiometer


  • Arduino Uno R3
  • Solderless Breadboard - Mini

Setting up your hardware



Connections

  • Cathode (LED) ---> Ground (GND)
  • Anode (LED) ---> D9
  • Middle pin of potentiometer ---> A0

Coding

Final Look


Comments