Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
EEC 2033
General Introduction
Day Two: µcontroller H/W
• Objectives: At the end of this lecture you should
learn:
– The microprocessor
– Memory
– Input/Output
Microcontroller
• A microcontroller is a stand alone device and
consist of 3 components
– microprocessor,
– memory and
– -input/output ports
• Microcontroller system
– includes hardware and software.
– Hardware:
• It is the physical electronic circuit on PCB with discrete
components.
– Software:
• It is a set of instructions the user writes in to the program memory
so that the hardware perform particular task.
Processor
• The Processor is also called:
– CPU (central processing unit),
– Microprocessor,
– or microprocessor unit (MPU).
• Byte:
– Group of 8 bits
• Word:
– is group of 16 bits or 2 bytes.
• Double word
– is 32 bits or 4bytes.
• Quad word
– is group of 64 bits.
Memory Inside
• Memory has a sequence of
registers
– For example
• if the memory has 4bit address
lines
– It can address 24 = 16 registers,
• Processor size:
– The width of data bus is generally used to label the
size of the processor.
Control Bus
• Group of individual lines called Read and write that
are used to enable memory and i/o devices.