Microcontrollers
What are they?
-
State machines with access to unlimited memory (sort of Turing machines)
-
Generally have a single fixed program in ROM/ PROM/ EPROM/ EEPROM
-
Intended to be robust, cheap solutions where some simple processing power will work
How do they differ from microprocessors?
-
Limited memory
-
Limited program size
-
Robustness (reset themselves on startup and on brown-outs)
-
Speed (not slow, but are 2 orders of magnitude slower than a microprocessor)
-
On-chip peripherals
USART: Universal sychronous/asynchronous receiver/transmitter
-
Programmability
-
Flexible I/O pins
Same inputs can be A/D, input pins, output pins, or can drive a bus directly