+ All Categories
Home > Documents > Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Date post: 13-Jan-2016
Category:
Upload: piers-underwood
View: 222 times
Download: 0 times
Share this document with a friend
Popular Tags:
21
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
Transcript
Page 1: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Microcontroller

Presented byHasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Page 2: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Overview Microcontroller Microcontroller and Microprocessor Embedded System Internal Architecture Programming Language Applications Conclusion

Page 3: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Microcontroller A small computer system on a single IC First used in 1975(Intel 8048) The introduction of EEPROM in 1993, allowed

microcontrollers to be electrically erased The same year, Atmel introduced the first

microcontroller using Flash memory.

Page 4: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Microprocessor and Microcontroller A microcontroller is a specialized form of

microprocessor Designed to be self-sufficient and cost-

effective Microprocessor is typically designed to be

general purpose Microcontroller incorporates features of

Microprocessor (CPU, ALU, Registers) Additional features

RAM,ROM,I\O ports, counter etc. Control the operation of machine using fixed

program stored in Rom

Page 5: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Embedded System A computer system designed to perform one

or a few dedicated functions often with real-time computing constraints.

Controlled by one or more main processing cores that is typically either a microcontroller or a digital signal processor.

Page 6: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Implementation of Embedded System Microcontroller

Independent System consisting of all components PLC (Programmable Logic Control)

Microcontroller or Microprocessor is the core Used in industrial projects

Page 7: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Microcontroller's fundamental components

The CPU core Memory (both ROM and RAM) Some parallel digital I/O

Page 8: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Basic microcontroller architecture (1/3)

Page 9: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Basic microcontroller architecture (2/3) Memory

RAM ROM Store data and code

CPU Mathematical and logical operation Memory units are called Register

Page 10: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Basic microcontroller architecture (3/3)• BUS– Group of 8,16 or more wires– Three type, address bus, data bus and control bus

• Input-output unit– port A, port B, port C … …– Input, output and bidirectional ports

• Serial communication• Timer unit• Watchdog– Automatic reset to prevent stall

• Analog to Digital Converter (ADC)

Page 11: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Analog to Digital Converter (ADC) Needs to convert analog signal to digital signal for

processing Not so fast and accurate Atmega8 contains 10 bit approximation ADC Internal and external reference voltage can used Result may from differ 2% to 3% Absolute accuracy can be achieved by using

external ADC

Page 12: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Block diagram of Microcontroller

Page 13: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Microcontroller Programming (1/3) Writing a program which is executed while the

microcontroller runs. Can be written in assembly, C or Basic

Page 14: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Microcontroller Programming (2/3) Assembly

Takes up least amount of spaces Best result in terms of speed

C Easier to write and understand Slower than Assembly

Basic Nearest a man’s way of reasoning

Page 15: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Microcontroller Programming (3/3) Microcontroller understands only hex code Any language must be converted to a

equivalent hex code The hex code may differ from architecture to

architecture

Page 16: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Hex code generator Used to generate the hex codes from the

language Avr tools

Page 17: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Simulator Shows the internal processor state as well as

the outputs Allows input signal to be generated The quickest way of debugging and analyze

problem MPLAB Proteus

Page 18: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Applications Is used in any smart system Suitable for light weight electronic devices Used in microwaves to automobiles Electronic locks Calculating devices Automatic ticketing system And many more

Page 19: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Microcontroller and Robotics Microcontrollers are vastly used in robotics Are used to control the robots Can be automated or outside controlled Limited intellegence

Page 20: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Queries

?

Page 21: Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)

Thank you


Recommended