The Philippine Electronics and Technology Forum
February 10, 2012, 11:00:52 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  

Pages: [1]   Go Down
  Print  
Author Topic: 12mins, 10mins, and 4mins, countdown timer  (Read 1012 times)
ion2557
CR2032 Battery
**

Pogi/Ganda Points: 0
Offline Offline

Gender: Male
Posts: 24



« on: February 25, 2009, 02:56:37 PM »

I've designed a countdown timer using JK flip-flops with preset and clear. The schematic is posted below. Including the diagram of the clock.





The outputs of the countdown timer, the ones connected to the 7segment LED display, are supposed to be connected to a 74185  Binary-BCD converter IC and would be passed through a CD4511 before the 7segment LED.

The switches for the 12mins, 10mins, and 4mins, are supposed to be pulse switches.

Will someone help me with my clock?

Coz I can't make it to a exactly or near 12mins or any of the settings. I have a difference of about 0.2-1.3seconds delay/advance.

Any comments or suggestions regarding my design is highly appreciated. Thanks.
Logged

Nobody wants to be alone.

"Christ Above All"
The Philippine Electronics and Technology Forum
« on: February 25, 2009, 02:56:37 PM »

 Logged
motion55
Technical People
Diesel Generator
*****

Pogi/Ganda Points: 189
Offline Offline

Gender: Male
Posts: 1255


Been there and done that already.


« Reply #1 on: February 25, 2009, 06:54:59 PM »

There is a wide tolerance when using RC circuits for timing. The 1uF capacitor can have a 5% error or worse for an electrolytic cap.

You should use a crystal controlled clock. It seems you are using a 1 second time base. You use a 32768Hz clock crystal oscillator and divide it down to a 1Hz frequency using a CD4040 + one  J-K flip-flop..




Logged

"Set your mind free!"
marcelino
Moderator
Solar Power Satellite
*****

Pogi/Ganda Points: 247
Offline Offline

Posts: 5861


...keep moving forward! - Robinson's


« Reply #2 on: February 25, 2009, 07:29:15 PM »

There is a wide tolerance when using RC circuits for timing. The 1uF capacitor can have a 5% error or worse for an electrolytic cap.

You should use a crystal controlled clock. It seems you are using a 1 second time base. You use a 32768Hz clock crystal oscillator and divide it down to a 1Hz frequency using a CD4040 + one  J-K flip-flop..

papano po ang pag-apply ng xtal oscillator sa circuit na tulad nito?
Logged

"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"
ion2557
CR2032 Battery
**

Pogi/Ganda Points: 0
Offline Offline

Gender: Male
Posts: 24



« Reply #3 on: February 26, 2009, 11:17:43 AM »

papano po ang pag-apply ng xtal oscillator sa circuit na tulad nito?

yup..

pno nga po b apply crystal oscillator s gni2ng ckt?

ndi q p kc ntry gumamit ng crystal oscillator eh..


You should use a crystal controlled clock. It seems you are using a 1 second time base. You use a 32768Hz clock crystal oscillator and divide it down to a 1Hz frequency using a CD4040 + one  J-K flip-flop..

ts pano ung division nung CD4040 ng frequency..

idi2vide b nya into 12 equal parts in a linear manner?.

thanks po pla s pgrespond.. Grin
Logged

Nobody wants to be alone.

"Christ Above All"
motion55
Technical People
Diesel Generator
*****

Pogi/Ganda Points: 189
Offline Offline

Gender: Male
Posts: 1255


Been there and done that already.


« Reply #4 on: February 26, 2009, 12:03:44 PM »

The 32768Hz clock has to be divided in 15 stages to get 1Hz. Each stage divides by 2. A CD4060 ripple binary counter happens to have 14 stages and an inverter gate that can be used as oscillator. Checkout the CD4060 datasheet. I earlier said it was CD4040 but the CD4060 seems to be better. You need a 15th stage composed of a J-K flip-flop to divide 2Hz to 1Hz.

http://www.national.com/ds/CD/CD4020BC.pdf#page=1

Logged

"Set your mind free!"
ion2557
CR2032 Battery
**

Pogi/Ganda Points: 0
Offline Offline

Gender: Male
Posts: 24



« Reply #5 on: February 26, 2009, 05:35:57 PM »

thanks sir..


i get it now.

the only problem remaining is that the only available crystal oscillator in our vicinity is around 3.2MHz.

it would then require me to add another CD4060, am i right sir?
Logged

Nobody wants to be alone.

"Christ Above All"
ion2557
CR2032 Battery
**

Pogi/Ganda Points: 0
Offline Offline

Gender: Male
Posts: 24



« Reply #6 on: February 26, 2009, 07:04:33 PM »

ooppss...


i would like to correct my self..

i need to add an 8-stage Ripple-Carry Binary Counter/Divider and Oscillator if there is one like this available and i should remove the flip-flop stage you have suggested..is there anything like this sir?.

if there is none, then it means that i would create the stages with flip-flops. is it correct?
Logged

Nobody wants to be alone.

"Christ Above All"
ion2557
CR2032 Battery
**

Pogi/Ganda Points: 0
Offline Offline

Gender: Male
Posts: 24



« Reply #7 on: February 26, 2009, 07:30:22 PM »

thanks sir..


i get it now.

the only problem remaining is that the only available crystal oscillator in our vicinity is around 3.2MHz.

it would then require me to add another CD4060, am i right sir?

that is if it is possible to get an output to the 8th stage of the CD4060.
Logged

Nobody wants to be alone.

"Christ Above All"
The Philippine Electronics and Technology Forum
   

 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
tutor from xperts pls... countdown timer..
Microcontroller/Microprocessor Unit Projects and Programming
-Al- 9 964 Last post February 10, 2010, 09:27:17 AM
by -Al-
Countdown timer ung 74ls192,, pahelp poh.
General Digital Design
reymer555 14 1365 Last post December 11, 2010, 02:07:28 PM
by thevenin
MOVED: Countdown timer ung 74ls192,, pahelp poh.
Feedback and Suggestions
Ate Shey 0 295 Last post April 11, 2010, 12:15:23 AM
by Ate Shey
HELP about COUNTDOWN timer.. T.T
Absolute Beginner Technical Discussion
reymer555 5 444 Last post May 01, 2010, 12:56:46 AM
by mArKhAo
countdown timer 9-0. stops at zero
Absolute Beginner Technical Discussion
jAnzY 11 609 Last post April 18, 2010, 10:13:35 PM
by jAnzY
countdown timer po para sa project ko (please help) « 1 2 »
General Digital Design
glenntacan 27 1739 Last post May 14, 2010, 08:23:32 PM
by webscatter
countdown timer HH:MM:SS!
BASIC, Visual BASIC and VB.NET
Phthonos 2 103 Last post September 22, 2011, 06:58:30 PM
by zrehtiek/keitherz
Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!