Loading...
Pages: 1 [2] 3   Go Down
Author Topic: 1hz clock  (Read 2145 times)
0 Members and 1 Guest are viewing this topic.
United States of America, Florida
Offline Offline
Jr. Member
**
Karma: 0
Posts: 64
Watching electrolytic caps exploding is one of my favorite past-times.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

an ATtiny and an external 8 or 16 Mhz crystal could do it (Set it up to pulse every second)
Logged

Memento Mori
------------
Sola Christus

The Christian Hacker:
https://www.facebook.com/groups/141258275980190/

Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am going to end this topic and start a new, more specific one. Thanks for all the help!
Logged

I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 242
Posts: 16485
Available for Design & Build services
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes,
Feed 64 KHz into CCLK, RCO from stage 1 into stage 2, RCO Pulse from will yield a low going pulse 1/64K wide 1x a second.

http://www.eetkorea.com/ARTICLES/2001SEP/2001SEP06_AMD_AN.PDF
See figure 3 for suggestion on getting 64KHz source. Other ways also possible, this seems pretty straight forward.
http://www.z80.info/uexosc.htm
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17

Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
seems pretty straight forward.

Not as easy as I would have hoped, but I guess it will be fine. For the first link, they don't specify where the output is...any ideas?

Also, is there a way I can get 50% duty cycle?
« Last Edit: May 25, 2011, 04:45:23 pm by baum » Logged

I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 242
Posts: 16485
Available for Design & Build services
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Enable the outputs, and use the MSB, which will change hi/lo/hi/lo every 1/2 second.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17

Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

right...

how exactly do I setup the crystal though?
Logged

I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!

Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to connect the 65.536kHz crystal to the clock of a binary counter. no microcontrollers involved.
Thanks!
Logged

I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 242
Posts: 16485
Available for Design & Build services
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Reply #24 has circuits to make the 64K oscillator that will drive the clock line.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17

Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

But which would should I use? There are three on that page.
Logged

I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!

Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My counter chip is a 74393, i will be running the power supply at 3V (2x AA) and I will be using this crystal.
Logged

I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!

Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Whoops. Then how about 3x AA, which would be 4.5V?
Logged

I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!

Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Whops again.... I meant to say 74HC393. smiley-sad Sorry for the confusion!
Logged

I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 242
Posts: 16485
Available for Design & Build services
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Try the simplest one first baum, if that works then you're all set.
If not, try another.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17

Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So the second one w/ 3 inverters and a 100N cap?
Logged

I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 242
Posts: 16485
Available for Design & Build services
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I would have suggested Figure 3 from this link first
http://www.eetkorea.com/ARTICLES/2001SEP/2001SEP06_AMD_AN.PDF
1 inverter, couple of 22pF caps, couple of resistors.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17

Pages: 1 [2] 3   Go Up
Print
 
Jump to: