Download counter using LED display and Arduino

B13: LED Display Down Counter with Alarm using Arduino

This entry is part 10 of 13 in the series Arduino Basic Circuits

In this code the LED display shows counting from 9 – 0. When 0 appears on the display it produces buzzer sound. The pin configuration of LED display and connection diagram is given below.

Parts List

Common cathode LED display - 1, buzzer - 1, jumper wires (male-male) - 10, Arduino UNO - 1, data cable - 1, resistor 100 ohm (1W) - 1
Note: 100 ohm (1W) resistor is must. If you use small resistor, then it will burn out.

The Code

This code has many applications like in down counter for a typical application or say in controlling a particular gadget through timer.

Just copy the following code and upload it in Arduino UNO to check its working.

Signup or Login to view remaining content. It's Free!
Share on your network!
Dattaraj Vidyasagar
Dattaraj Vidyasagar

Author on this website. He is veteran of Core Electronics since last 35+ years. ATL Mentor of Change, Niti Ayog, Govt. of India, Google Certified Educator, International Robotics Trainer and author of 17 books on electronics, robotics, programming languages and web designing... ➤➤

Leave a Reply

Your email address will not be published. Required fields are marked *