Microcontroller System Design Introduction- 1 Seattle Pacific University Take a microprocessor/ microcontroller chip How to Succeed in Life – The micro way Build an small but cool system Program lots of functions into it Sell it for Megabucks Lose it all in the Market Add support chips
Microcontroller System Design Introduction- 2 Seattle Pacific University General Purpose Computers Microcomputers are computers based on microprocessors General purpose microcomputers PC’s, Macs, Tablets etc. Generally require a large amount of support circuitry Memory, communications, I/O, keyboard,display...
Microcontroller System Design Introduction- 3 Seattle Pacific University Inside a General Purpose Computer CPU RAM ROM PCI Bus Bridge PCI Bus Clock, Reset circuitry Real-time Clock Disk Controller Disk Interface Video Memory Video Display Controller Serial Interface Parallel Interface... Keyboard/ Mouse Controller PCI Exp Bus Bridge Data Bus Control Bus Address Bus
Microcontroller System Design Introduction- 4 Seattle Pacific University Does One Size Fit All? Advantages of a general-purpose computer Flexible - can run lots of programs and interface with lots of devices Expandable - can be updated with new hardware Cost-effective - the cost of adding a new program is small Economy of scale - millions are being produced… Disadvantages Must be a “super” system, capable of running any program High price Relatively large, short battery life
Microcontroller System Design Introduction- 5 Seattle Pacific University Microcontroller Systems Microcontroller Systems are small, special-purpose computer systems Toaster control systems Handheld electronics Toys Test equipment Only the necessary parts are included Cheaper, smaller Simpler --> more reliable?
Microcontroller System Design Introduction- 6 Seattle Pacific University A Problem needing a Solution
Microcontroller System Design Introduction- 7 Seattle Pacific University Needs of Typical Microcontroller Systems Consider the following embedded systems: Intelligent thermostat Blood Glucose Meter RC helicopter Automobile System Controller Single-purpose Small Inexpensive Reduced computation needs Special interfaces Lightweight (often hand held)
Microcontroller System Design Introduction- 8 Seattle Pacific University Building small using Microprocessors? What does it take to build a blood glucose meter using a typical microprocessor? 1 CPU Dynamic RAM, controller (about 20 chips) ROM (one or two chips) for program Real-time clock LCD panel Serial interface ports, drivers A/D Converter Random support chips (five or six chips) This is going to take around 40 chips, use 50 W, and cost $500.
Microcontroller System Design Introduction- 9 Seattle Pacific University Building small using Microcontrollers A Microcontroller is a small CPU with many support devices built into the chip Small CPU (8-32 bits, 4-60 MHz) FLASH ROM (8-256 KB) RAM (1K-16KBytes) Parallel ports Serial ports A/D Converter Timer Typically, a microcontroller uses little power and costs $0.50 to $5.00.
Microcontroller System Design Introduction- 10 Seattle Pacific University A Generic Microcontroller Small CPU Core 8-32 Bits 2-60 MHz 2-16 Registers Flash EEROM 8KB – 256KB RAM 1KB – 16KB GPIO ADC 8-14 Bits Timer Bit RS232/ USB I2C/SPI Memory Bus Bits