Skip to main content

Arduino Project : Dynamic Delay time using Potentiometer

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

This is the Circuit diagram of the project. The LED is connected to pin number 13 of the Arduino. And the potentiometer first pin is connected to the 5V supply of the Arduino and the Signal pin is connected to the analog input A2. Then the last pin is connected to the ground of the Arduino.

 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

Popular posts from this blog

Deep Look Into Arduino Nowadays Arduino is Very popular Among Students Because it is Very Easy to learn Arduino and it has multiple Plugin products that make the Arduino quite simple but a very effective Development board. Now Let's dig into the Arduino. From the Left Side of the picture, We can See the Arduino Uno Development board. This Board Has 13 Digital Input and Output pins and 6 Analog Input Pins. From 13 Digital pins, 6 pins support PWM function. There are Multiple Arduino Gears that Enable the Arduino to do unbelievable Works. Arduino Gears are called Arduino Modules. There are some Awesome Modules like Touch Screen Module, Bluetooth Module, WiFi Module, etc,.Now Let's talk about Hardware and Circuitry about Arduino. 1.Power Adopter 1.Power Adopter: A black color round shaped female adapter is attached to the Arduino board which is useful when we need to separate Arduino from a laptop or Desktop.the power adapter can take power from 5V to 12V. It also ha...