Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: cheap chips , no exteranl crystal, and timing

2005-11-20 by Thomas Keller

On Sun, 2005-11-20 at 21:23 +0000, Dave Mucha wrote:
> 
> >    A PIC with an 8 Mhz oscillator is giving you 2 MIPs (max) of
> > performance.  An AVR running with an 8 Mhz oscillator is giving you
> 8 MIPs (max) of performance.  (and this doesn't even consider the
> horrible instruction set and architecture you have to deal with when
> programming the PIC parts)  AVRs are simply more flexible, more
> powerful, and more easily programmable.
> > Tom (who admits to be heavily biased)
> OK, but, what is easiest to use for 6 I/O, 2 inputs and 4 outputs ?
> I am thinking a stepper driver that sees a step input and a direction
> input and then outputs to 4 MOSFETS ?
> Tiny-11 says it can do 6, but what about the oscilator ?

   If I understand correctly, the ATTINY11 requires an external clock
source of some sort (crystal, ceramic resonator, or R/C oscillator).  As
the ATTINY11 has but 8 pins on the package, you cannot achieve 6 I/Os
while running it on a crystal.  The ATTINY12 includes an internal
calibrated oscillator that will run at approximately 1 Mhz.

   The ATTINY26 is a 20 pin device with 11 general purpose I/Os, and
includes PWM capabilities.   Both the ATTINY12 or the ATTINY26 are
inexpensive, and all AVR processors are very easy to use.

Tom (who is still biased, despite a very pleasant phone call from a
Microchip rep who wants to send free samples.  But what would I *DO*
with them?  I certainly do NOT waish to program them [I truly despise
the PIC architecture])

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.