Tuesday, July 05, 2016

Filled Under: , , , , , , , , ,

Arduino Based Countdown Timer With Setup Buttons

7 segment display Arduino Arduino UNO R3 Basic button countdown easy project simple Timer

I will show you how to make your own Arduino two digit countdown timer. We will be able to set the timer by pressing the setup buttons. We will use two digits seven segment display, so the maximum countdown time will be 99 seconds. 

Watch the video below:




Step 1: What You Need?

1 x Arduino UNO R3
1 x Mini Breadboard
2 x 7 Segment Displays (You can use common cathode or common anode type)
3 x Buttons
1 x USB Arduino Cable
Wires 
1 x Computer with Arduino Software installed

Don't have components? Don't worry. Just click the component's name. 

Step 2: Built Your Circuit. 


- The segments A-G: 
     A, B, C, D, E, F, G >> 10, 9, 8, 7, 6, 11, 12
- CC* or CA* pins of 7 Segment Displays >> Arduino pin 4 & 5  
- Start/Stop button >> pin 2
- Change button >> pin 3 
- Set button >> pin 13
- Dot pin of RIGHT digit >> pin A0
- Dot pin of LEFT digit >> pin A1

*CC- Common Cathode
*CA- Common Anode

(NOTE: You can connect one 220 Ohm resistor to each pin - except "CC" or "CA" if you want.)

Step 3: Upload Code To Board. 

(NOTE: If you have Common Anode 7 Segment Display type just delete the line 24 "disp.setCommonCathode(),")

Download: 

Arduino software


Sources:[http://www.instructables.com/id/Arduino-Countdown-Timer-With-Setup-Buttons/]

Unknown

Author & Editor

My Robot Education Sdn. Bhd. (Robotedu.my) was founded in 2015 as the first robotics education centre in Malaysia to provide Arduino-based robotics courses for youths. Our vision is to be able to provide robotics education to every youth in Malaysia.

1 comments:

  1. please help me
    its not working ........
    i think the circuit diagram is wrong as the red wire at bottom is connected to no where (5v input from arduino board)

    ReplyDelete

 

  • Copyright © Arduino Tutorial ™ is a registered trademark.
    Designed by Templateism. Hosted on Blogger Templates.