Dynamic Delay time in Arduino
Hello Friends!... Welcome to Arduino Projects Section. Today we are going to make a dynamic delay time in Arduino based on the potentiometer input. To make Dynamic Delay time in Arduino we need the following Components,
1.Arduino Development Board ( I am using Arduino Mega You can any Board from Arduino family)
2.Potentiometer
3.LED
4.Arduino IDE
that's it. These are the components we need to make Dynamic Delay time in Arduino.
if you are not familiar with what is Potentiometer, Here is a Quick Definition:
Potentiometer:
The potentiometer is a Variable Resister which varies when the knob of the potentiometer rotates the resistance of the potentiometer change based on changing the length between the Source and Drain point.
Circuit Diagram
The Following Diagram (Picture) Will show the Circuit diagram of Dynamic Delay time project,
![]() |
| Dynamic Delay time Circuit |
If you want detailed video Click the link https://www.youtube.com/watch?=9c9rlnhlq0Y&t=12s and Program for this project is posted in the following Website ink https://www.lastkeyakm.com/arduino-project-documents. I programmed the Arduino to read the value of the Potentiometer Using an analog input pin in the Arduino and send the value to the delay function.
Download the PDF from the Website link and Copy and paste the code from the PDF to the Arduino IDE, then Select the Board type in Arduino IDE which is you are using, then Hit the Upload button.
You can see the Delay Time of the blinking of the LED will change based on the Potentiometer Input.

Comments
Post a Comment