Embedded Systems
Embedded Systems
Embedded Systems
Embedded Systems
Microcontrollers & Embedded Processors
An Overview
Embedded Systems
What is an Embedded System? Where are Embedded Systems used? Typical Embedded Systems Hardware Embedded OS and Software Microcontrollers The 8051 Microcontroller A simple project using AT89C51 References
NWIET, DHUDIKE. MOGA
- Embedded systems have a (more or less) well-defined purpose - Contrast with: general purpose computers (PCs etc) - Both hardware and software is tailored to application(s), which are well defined - However, re-programmability is a requirement ESs are (usually) part of a larger device, augmenting its capabilities
Any device that includes a programmable computer but is not itself a general-purpose computer.
Anything that uses a computer but does not look like one. The microprocessor in an embedded system is like an electric motor in a washing machine.
ES Characteristics:
Real-time video, DVD players, Medical equipment. Network routers, switches, firewalls, mass transit systems, Elevators
Mobile phones, pagers, home appliances, toys, smartcards, MP3 players, PDAs, digital cameras, sensors, pc keyboard & mouse
Engine control unit ABS systems (Anti Lock Brake systems) Emissions control Diagnostics and Security systems Accessories (doors, windows etc)
ICs tailored to meet application needs Good performance for their intended task(s) Original ESs were ASICs only
Domain-specific processors
Microprocessors
New trends in ES HW
Systems-on-chip
32-bit RISC CPU Built-in interfaces to RAM and ROM Built-in DMA, interrupt and timing controllers Built-in interfaces to disk or flash memory Built-in Ethernet/802.11 interfaces Built-in LCD/CRT interfaces
Examples
Intel StrongARM SA-1110 Motorola PowerPC MPC823e NEC VR4181 Many, many more
Principal role: Not transformation of data but interaction with physical world Acquires properties of physical world
Takes
Office-style OSes
RTOSes
Linux
Mobile OS
Others
What is a Microcontroller?
The 8051 is the first microcontroller of the MCS-51 family introduced by Intel Corporation at the end of the 1970s.
4K Bytes ROM 128 Bytes RAM two timer/counters (16 bit) A serial port 4 general purpose parallel input/output port Interrupt controller
The 8051 can address 64K of external data memory and 64K of External program memory.
Here weve designed, built and programmed a digital BCD counter that counts from 0 to 9 on a 7Segment display. We use register A as Accumulator, in each delayed cycle the accumulator increments by one and result is showed on the 7segment display.
References
Web References:
http://nesl.ee.ucla.edu/courses/ee202a/2002f http://citeseer.nj.nec.com/497408.html
Books:
The 8051 Microcontroller and Embedded Systems: Mazidi, M.A. Microprocessors: Uffenbeck, john