LED Blinking 

with 

different frequencies

set by 

every Switch Press

Date : August 19, 2021

Hey, this is Shaunak !

When we are working with tactile switches integrated in an Embedded System, being a programmer, we often face the switch debouncing issue which is happens due to the mechanical contact of the switch debouncing and hence it becomes very tedious at times to read the switch input properly for taking any action in the code.

I wanted to overcome this challenge, so I took up an Arduino Nano Board, a tactile switch and a Mini USB to USB Type B Cable that can connect my Arduino Nano to the PC.

Here is the Connection Diagram that I used :

As a part of testing points to be checked, I decided the following procedure :

Click/Tap Here to go through the Arduino Project. There is a file called "Switch_LED_Blink.rar" inside the shared folder. Unrar it and you will find the project folder.

Click/Tap Here to go through the code only. The code has comment on every line that almost makes it self explanatory.


Some points to be noted :


Here is working video of this project :