Solution Manual for Introduction to Mechatronic Design Do Not Circulate
Chapter 2 What’s a Micro?
1.1) Compile a list of at least 25 everyday objects that incorporate microcontrollers, microprocessors or digital
signal processors.
Cell phone
Mp3 player
Microwave oven
PDA
TVs
1.2) Using the internet, locate the data sheet for the Atmel ATmega128A microcontroller, and answer the
following:
a) Does the ATmega128A have a von Neumann or a Harvard architecture?
b) How much non-volatile Flash program memory is incorporated?
c) How much volatile RAM data memory is incorporated?
d) List at least 5 other important peripheral systems that are included (there are many more than 5!)
a) Harvard, but the data sheet doesn’t explicitly call this out. You need to study the block diagram to see
1.3) How is a microprocessor different from a microcontroller?
1.4) How big is the address space for a microcontroller whose address bus is 24 bits wide?
1.5) What is the biggest number that can be represented with 28 bits?
1.6) List three different types of non-volatile memory.
1.7) Using the internet, locate the data sheet for the Microchip PIC16LF727, and answer the following:
a) What is the fastest clock source that can be used with this chip? What is the slowest?
b) Is there an analog-to-digital converter peripheral included on this chip?
c) How wide is the program memory bus? That is, how many bits are the program instructions?
d) How many input/output (I/O) pins does the PIC16LF727 have?
1.8) What kind of microcontroller peripheral is present on the PIC12F609 that is not present on the
MC9S12C32?
1.9) What prevents a microcontroller with a von Neumann architecture from attempting to execute data? What
about a microcontroller with a Harvard architecture?
1.10) How many I/O pins are available in the largest HC9S12C32? How many are input only?