Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

i need help about timer counter.

Status
Not open for further replies.

SeTRoX

Newbie level 6
Joined
Apr 1, 2001
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
OLD GWPTEAM Admin
Activity points
71
i want to make simple project.i want to make timer counter.
but only five minute.five minute later counter is stop.
when i press button counter is starting..
5 minute later, automatic alarm and i press button again and stop sound.
or automatic stop (1 minute sound)

yes how is making it?

i want schematic and pcb file..

SeTRoX
from GWPTEAM
http://www.setrox.nu
 

arena_yang

Member level 1
Joined
Apr 1, 2003
Messages
33
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
214
Very easy to implement it using FPGA or CPLD.
 

    V

    points: 2
    Helpful Answer Positive Rating

Fragrance

Advanced Member level 4
Joined
Jul 26, 2002
Messages
1,191
Helped
247
Reputation
494
Reaction score
198
Trophy points
1,343
Location
East Of Earth
Activity points
8,916
Ok Friend use this

Hi,

This timer is based on pic with key pad data entery lot of good features

read the asm file all information are at the top how to make a circuit for this timer, with user guide

regards
Fragrance
 

SeTRoX

Newbie level 6
Joined
Apr 1, 2001
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
OLD GWPTEAM Admin
Activity points
71
i want cheap design. yes pic is good choose.but i dont understand asm code. :( and how is create schematic?
 

Fragrance

Advanced Member level 4
Joined
Jul 26, 2002
Messages
1,191
Helped
247
Reputation
494
Reaction score
198
Trophy points
1,343
Location
East Of Earth
Activity points
8,916
I can help you

SeTRoX said:
i want cheap design. yes pic is good choose.but i dont understand asm code. :( and how is create schematic?

As i told you this asm file is bug free and hundred % working all detial are at the start of asm file how to make circuit for it if you donot understand then i will make schematic for you in proteus

regards
Fragrance
 

gauiver

Member level 5
Joined
May 10, 2003
Messages
90
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
676
u can also do it using an atmel 8051 microcontroller, it will be cheap using the internal counter of the microcontroller. if u don't understand asm code then don't wory u can use c++ to program that
 

BENOIT

Member level 5
Joined
Sep 22, 2001
Messages
89
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
France
Activity points
1,900
Dear Gauiver,
Perhaps you can help me:
I have just realized a Clock and timer with AT89C2051
in fact it is a clock and a downcounter and other little features.
(the display is on 6 seven-segments led display using MAX7219)
in fact I have realized the downcounter routine using a delay of
1s; Would their not be a clever way to count the seconds I speak
with the timer0 of with the DS1307 RTC that is attached to the µC?
Would you have any examples?
A+
MB.
gauiver said:
u can also do it using an atmel 8051 microcontroller, it will be cheap using the internal counter of the microcontroller. if u don't understand asm code then don't wory u can use c++ to program that
 

silvio

Advanced Member level 3
Joined
Dec 31, 2001
Messages
716
Helped
105
Reputation
210
Reaction score
16
Trophy points
1,298
Location
Romania
Activity points
11,497
Hi Benoit,

Because I didn't understand too much from your question "Would their not be a clever way to count the seconds I speak
with the timer0 of with the DS1307 RTC that is attached to the µC? "
, I presume you are more concerned to the accuracy of the clock.
The DS1307 specification clearly stated as ±2 minutes/month at 25°C .

Choosen between DS1307 and delay done on timer 0 basis, it's dependent upon your application's requirement. Bear in mind that DS1307 RTC it's not a nice option due to lack of interrupt request feature, like DS12887 i.e.
You'll need to poll the DS1307 through SDA and SCL lines in the main program loop, in order to know when the time elapses. You can find an example here http://www.maxim-ic.com/appnotes.cfm/appnote_number/492
If you need timer activity even during power supply fail, DS1307 could be a good solution because has a built-in power sense circuit that detects power failures and automatically switches to the battery supply.
That won't be too easy to achieve using delay on timer 0 basis.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top