Home
Electronics Blog
Electronic Hobbies
Wireless Projects
Surveillance Projects
Amplifier Projects
Automotive Projects
Timer Projects
Motor Control Projects
Telephone Projects
MCU Projects
Thermostat Projects
Final Year Projects
Power Supplies
PCB
Lighting Projects
Ham Radio Project
Electronic Parts
Parts Suppliers
Test/Measurement
Memory Devices
Electronic Tools
Download Software
Environment Tests
PCB Coating
CE Mark
EMC Standards
EMC Testing
Soldering Tips
ROHS Directive
FMEA
Free Magazines
Contact Us
SiteSearch
Links
Design Contest
Free Newsletter

[?] Subscribe To This Site

XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines


Fundamentals of Microcontroller

Introduction to Microcontroller Unit


Microcontrollers generally can be classified into 8-bit, 16-bit, and 32-bit familybased on the size of their arithmetic and index register(s). It generally consists ofROM(Read Only Memory), RAM(Random Access Memory), Stack Pointers, Registers, Accumulator, Input/Output Ports,Timers, Analog to Digital Converter(ADC), Digital to Analog Converter(DAC), UART or SPI (for communication purposes). Some have special built in features that comes with Liquid Crystal Display Driver (LCD) that will enable them to driveLCD displays, EEPROM (Electrical Eraseable Programmable Read Only Memory) which is a non volatile memory that will enableit to store data permanently.

It can be implemented using high level language or assembly language. Clock speed determines how much processing can be accomplished in a given amount of time by the MCU.Some have a narrow clock speed range. Sometimes a specific clock frequency is chosento generate another clock required in the system, e.g. for serialbaud rates. Generally the higher clock frequencies, the higher the system costs because not only does the it cost more, butso do all the support chips required, such as RAMs, ROMs and bus drivers.

The processing technology of the microcontroller are N-channel metaloxidesemiconductor (NMOS) or high-density complementarymetal-oxide semiconductor (HCMOS).In HCMOS, signals drive from rail-to-rail, unlike earlier NMOSprocessors. Since these criteria can significantly affect noise issues insystem design, HCMOS uses less power and thus generates less heat.The design geometries in HCMOS are smaller, which permit denserdesigns for a given size and thus allow higher bus speeds. The denserdesigns also allow lower cost, for more units can be processed on thesame sized silicon wafer. For these reasons, most MCUs today areproduced using HCMOS technology.



Advantages of Microcontroller compared to Microprocessor

The advantages of microcontroller are that all MCUs have on-chip resources to achieve a higher levelof integration and reliability at a lower cost. An on-chip resource is ablock of circuitry built into the MCU which performs some useful functionunder control of the MCU. Built-in resources increase reliability becausethey do not require any external circuitry to be working for the resourceto function. They are pre-tested by the manufacturer and conserve boardspace by integrating the circuitry into the MCU.

Some of the more popular on-chip resources are memory devices,timers, system clock/oscillator, and I/O. Memory devices includeread/write memory (RAM), read-only memory (ROM), erasableprogrammable ROM (EPROM), electrically erasable programmableROM (EEPROM), and electrically erasable memory (EEM). The termEEM actually refers to an engineering development version of an MCUwhere EEPROM is substituted for the ROM to reduce development time.

Timers include both real-time clocks and periodic interrupt timers. Other timer functions includetimer compare and/or input capture lines.

I/O includes serial communication ports, parallel ports (I/O lines), analog-todigital(A/D) converters, digital-to-analog (D/A) converters, liquid crystaldisplay drivers (LCD), and vacuum fluorescent display drivers (VFD).

Other built-in resources may include computer operating properly (COP) watchdog system which can be hardware or software based.










Custom Search




Microcontroller Home Page







New! Comments

Have your say about what you just read! Leave us a comment in the box below.




Digital Dice Project

Explore the use of 7-Segment Display, 555 Timer, Decade Counter and Binary Adder. Get the circuit here.

Battery Tester Project

Design and build a battery tester to test dry cell and rechargable battery with a voltage of less than 2V. Check here.

Door Bell Chime

Construct this simple door bell chime and have fun.Find out more here.

Home Alarm Project

Build this simple home alarm to protect your house from intruders. See the circuit here.

Tests and Measurement

Find out the equipments that you need to help you test and trouble shoot your projects.






Custom Search