A Bigger AVR
So far, we have looked at a small AVR with very limited capabilities. In Part III of this book, we will look at various forms of input and output commonly found in embedded systems. For this, we will need processors with more functionality. We have exhausted the ATtiny15 and so now need to move on to processors with a bit more “grunt.” Before getting into the detail of I/O in the later chapters, I’ll introduce these processors to you and show you what you need to do to include them in your design.
The first processor is the ATMEL AT90S8535. This is a midrange AVR with lots of built-in I/O. As well as digital I/O, it has a variety of interfaces such as a serial port, SPI, analog input, timers, and counters. We’ll talk about some of these interfaces in detail in later chapters, but for the moment, we’ll concentrate on the processor itself.
The processor has 512 bytes of internal RAM and 8K of flash memory for program storage. Its smaller sibling, the AT90S4434, is identical in every way except that it has smaller memory spaces of 4K for program storage and 256 bytes of RAM. But from an electronics point of view, the AT90S8535 and the AT90S4434 are the same.
The basic schematic for an AT90S8535-based computer, without any extras, is shown in Figure 6-10. It is not that different from the ATtiny15, save that it has a lot more pins. RESET has an external 10k pull-up resistor. The processor has an external crystal (X1), and this requires two small bypass capacitors, C1 and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access