Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: What serial speed (RS232) can I achieve using the built-in oscilator, runnin

2007-05-31 by David VanHorn

On 5/30/07, stevech11 <stevech@san.rr.com> wrote:
> Grab AVRCalc off the projects section.
> If your oscillator was exactly 8MHz, the error at 38400 is small. I
> don't know what's involved in calibrating the on-board oscillator and
> how it's affected by temperature or Vcc changes.


Generally speaking, you need at least a resonator, or crystal, to do
accurate baud rates.
You have to factor in ALL the error sources.  First you have to allow
the other device at least half of the error budget, then figure your
divisor error, then min and max tolerance on the clock.
When you add it all up, the internal RC isn't good enough for serial.

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.