Tom/Dave The Tiny11 ships with its fuses set to run the _internal_ oscillator at 1 MHz (see the summary here http://www.atmel.com/dyn/resources/prod_documents/1006s.pdf and the complete datasheet here http://www.atmel.com/dyn/resources/prod_documents/doc1006.pdf) Per the datasheet, you have up to 5 gen-purp IO lines and one input line - since the requirements are for 4 out and 2 in , the Tiny11 has that covered if you use the internal osc. See this Yahoo group for more info on programming the Tiny11 (http://groups.yahoo.com/group/Tiny11Prog) There's also a ccouple websties out there with some info on programming them as well. Randy > -----Original Message----- > From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com]On > Behalf Of Dave Mucha > Sent: Sunday, November 20, 2005 7:08 PM > To: AVR-Chat@yahoogroups.com > Subject: [AVR-Chat] Re: cheap chips , no exteranl crystal, and timing > > > --- In AVR-Chat@yahoogroups.com, Thomas Keller <tkeller1@n...> wrote: > > > > 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. > > > I plugged microcontroller into Digi-Key, then selected Atmel and > Microchip, then Flash, then anything DIP, then internal oscalator, > then 6 I/O's > > it came back with the Tiny11 and a few others. > > But, That is why my question. I know that some PIC's require an > external pin be dedicated when using the interal oscalator. Not sure > about the tiny chips. > > Dave > > > > > > > > > > > > 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]) > > > > > > > > > > > > Yahoo! Groups Links > > > > > > >
Message
RE: [AVR-Chat] Re: cheap chips , no exteranl crystal, and timing
2005-11-21 by Randy Ledyard
Attachments
- No local attachments were found for this message.