Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Help with Attiny project

2006-09-12 by Richard Cooke

Thanks for the info.  I've looked at the ATtiny13 datasheet and I'm a
bit confused on how you'd connect an external crystal.  On the
Attiny11 and 12 you sacrifice 2 pins to use the crystal (PB3 & PB4). 
How does that connect to the '13?  I haven't used a ceramic resonator
before - can I just connect it to PB3?  Does it require any additional
components?  Sorry all of the bacic questions but it's been awhile
since I've done work on such small parts.

Thanks,

Richard

--- In AVR-Chat@yahoogroups.com, "David VanHorn" <microbrix@...> wrote:
>
> The internal timer isn't that accurate over temperature.
> 
> You might be able to get away with something like this:
> 
> Sit in a loop, waiting for something.
> Pulse detected.
> Wait about 3/4 of the delay, a pulse in here fails.
> Wait about 1/2 the delay, no-pulse in here fails.
> Resync on each detected pulse, and then be pretty tolerant about
when pulses
> can come in.
> 
> Otherwise, a resonator or crystal is a better bet.
> 
> 
> [Non-text portions of this message have been removed]
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.