This document provides an introduction to microcontrollers. It defines microcontrollers as small computers capable of performing specific tasks, like in appliances. Microcontrollers contain a CPU core, memory, input/output ports, timers and other peripherals on a single chip. They are classified as either microcontroller units (MCU) or microprocessor units (MPU) depending on whether external components are needed. Common microcontroller components and their functions are described, along with factors to consider when choosing a microcontroller for an application.
Introduction of Microcontroller
Features of Microcontroller
History of Microcontroller
Structure of Microcontroller
Properties of Microcontroller
Uses of Microcontroller
basic slide presentation on Microcontroller
About microcontroller and why should I learn and daily life uses and history of microcontroller and manufacturing companies of microcontroller and learn
Introduction of Microcontroller
Features of Microcontroller
History of Microcontroller
Structure of Microcontroller
Properties of Microcontroller
Uses of Microcontroller
basic slide presentation on Microcontroller
About microcontroller and why should I learn and daily life uses and history of microcontroller and manufacturing companies of microcontroller and learn
An embedded system is a computer system with a dedicated function within a larger mechanical or electrical system, often with real-time computing constraints.
It is embedded as part of a complete device often including hardware and mechanical parts. Embedded systems control many devices in common use today.
Ninety-eight percent of all microprocessors are manufactured as components of embedded systems.
This lecture contain some important and basic things of a microcontrollers. fro more detail visit this post of our website
http://engineermaze.com/introduction-of-microcontroller-51
This ppt will help you to do complet study of Sci fuctional block diagram and full details about register used in sci . one sample uart transmit code logic explained briefly.
An embedded system is a computer system with a dedicated function within a larger mechanical or electrical system, often with real-time computing constraints.
It is embedded as part of a complete device often including hardware and mechanical parts. Embedded systems control many devices in common use today.
Ninety-eight percent of all microprocessors are manufactured as components of embedded systems.
This lecture contain some important and basic things of a microcontrollers. fro more detail visit this post of our website
http://engineermaze.com/introduction-of-microcontroller-51
This ppt will help you to do complet study of Sci fuctional block diagram and full details about register used in sci . one sample uart transmit code logic explained briefly.
Summer training embedded system and its scopeArshit Rai
CETPA INFOTECH PVT LTD is one of the IT education and training service provider brands of India that is preferably working in 3 most important domains. It includes IT Training services, software and embedded product development and consulting services.
http://www.cetpainfotech.com
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Introduction to AI for Nonprofits with Tapp Network
Introduction to Microcontroller
1. Introduction
to
Microcontroller
www.pantechsolutions.net
1
2. What is Microcontroller?
• In simple term – Microcontroller is a small computer that is capable of
performing specific task(s)
– e.g car alarm, washing machine, handphone, PDA…
• There are many similar names
– Microprocessor-based system, controller, MCU, MPU, CPU…
• They can be grouped into two classification
MCU - Micro Controller Unit
MPU - Micro Processor Unit
• In general, these microcontroller are the brain of the embedded system
2
3. MCU and MPU
Classification MCU MPU
Chip Embedded A CPU core, memory, Contain only the main processor (CPU
peripherals, IO … into a single chip. core)
Block Diagram of a MCU
system
Memory Memory IO
CPU Core Peripheral MPU Peripheral
IO
General Application - Self contained to complete a task. -Need external memory, peripheral to
Area - Targeted for small, compact, and accomplish a task
low cost system - Targeted for complex, high
performance and expandable system
Processor (CPU) Core 4, 8, 16 bit 32 bit or above
Examples 8051,pic16f887a,M16, H8, SH1/2 SH3/4,8085
Application Washing machine, car side mirror, Handphone, PDA
air con
3
4. Components within MCU
Clock -sub Processor Core
i. Processor core Clock -main RAM
ii. Clock ROM PWM
iii. Low power mode
iv. Memory(ROM/RAM) Timer PWM
v. Input/Output Port Timer Timer
vi. Timer / Counter/ WDT Serial
vii. PWM
Timer
Port
Interface
viii. ADC/DAC Timer WDT
ix. Serial Interface ADC LCD
x. On chip Debug
xi. Bus Controller Example of H8/38024
xii. Other
4
5. i. Processor core
• Function
– Fetch and execute machine code from memory
– Efficiency & Effectiveness are determine by its architecture
• Architecture Type
– Word Size: 4, 8, 16, 32 Bit
– Contains ALU (Arithmetic Logic Unit) for decision process
– Contains General Registers for temporary storage and data manipulation
– Contains Special Registers (PC, Condition, Stack) to assist in program control
– Instruction Sets
– RISC /CISC
– Running Frequency / Voltage
• Possible Measurement
– MIPS (Million Instruction Per Instruction)
• Number of machine instructions that a computer can execute in one second
• Provide only a rough indication for comparison
5
6. ii. Clock OSC1 OSC2
• MCU needs a clock input to operate
• It can have two clock sources
– A. Main processor clock input
• This clock may be divided or multiply to allow the processor to
run at a slower speed (lower power consumption) or higher
speed
– B. Sub clock input
• 32.768KHz is the usual clock used as this allow accurate
generation of a second via a 16 bit counter.
• These clocks are normally fed via a crystal and two
capacitors to the MCU.
6
7. iii. Low power mode
• Low Power is achieved via various mean
– Running at slower speed, such as sub
clock(32.768KHz)
• Sleep mode, sub-active, standby…
– Shutting off unused peripherals
• Module stop mode…
Standby mode consume only 1uA
7
8. iv. Memory (ROM/RAM)
• ROM (Read Only Memory)
– For program and fixed data storage
– Size: as low as 1 KByte to as high as 512 KByte
– Example
1. Masked ROM
2. Flash
3. PROM - Programmable Read-Only Memory
1. OTP - One-Time Programmable
• RAM (Random Access Memory)
– For data storage
– Size: as low as 256 Byte to as high as 4 KByte
– Example
1. SRAM
8
9. v. Input / Output Port
• Basic interface to control (output) and
monitor (Input) external events.
– High current port
• (20mA), so as to drive LED directly.
– Open-collector/drain port
• Interface to higher supply circuitry
• Wired-Nor condition
9
10. vi. Timer / Counter / WDT
• Timer (8 or 16 bit) are used to generate or measure
timing for events.
– External event trigger the count
– Compare match to perform a task
– …
• WDT (WatchDog Timer)
– Every time before the counter reach the predefined value, the working
MCU will clear the counter.
– Thus, if the counter is not clear within the specified timing, the WDT
will reset the whole MCU as this signify that the MCU has run wild.
10
11. vii. PWM
• PWM (Pulse Width Modulation)
– Generate continue pulse of preset duty cycle
• This can be used to drive motor.
11
12. viii. ADC/DAC
• ADC (Analog-to-Digital Conversion)
– The basic peripheral to interface to the real analog world.
– Characteristic
• Accuracy is determine by number of bits (10,12,14…)
• Sampling frequency
• Conversion technology ( Resistive ladder, Sigma delta…)
Analog Digital
– AVCC, Data -> and eachTransducer input pins
AVSS
Real World
analog ADC CPU
Temperature
Pressure
Sound…
• DAC (Digital-to-Analog Conversion)
– This operate in another way. It output the signal in analog form to the
outside world
12
13. ix. Serial Interface
• There are different serial interfaces
– Asynchronous mode (2400 BaudRate…)
– Synchronous mode (at higher transfer rate)
– USB, I2C, SPI, CAN…(different communication standard)
• Use for:
– Communication with other devices, such as external RF
module, PC…
• Generally used only 3 pins
– Serial In, Serial Out, and Clock
13
14. x. On Chip Debug
• Circuitry Incorporated for development and
debugging purposes
• Usually few pins are required for the PC to control
the MCU, via a “JTAG-like” emulator
– Mode pin
– Data In/Out
– Clock pin PC
USB I/F
Target Board
14
15. xi. Bus Controller
• In the higher performance MCU, a bus controller is
incorporated to manage internal and external
memory bus.
• The external bus may be split into different areas, so
that each area can be assigned with different setting
– Refresh controller for DRAM
– Longer wait cycles for slower devices
15
16. xii. Other
• There are many possible peripherals that can be
integrated into each MCU, to perform specific tasks,
such as:
– LCD controller
– PLC
– Ethernet MAC
• Other components are:
– Interrupts
– LVD (Low Voltage Detection)
– POR (Power On Reset)
16
17. MCU Connection
Flashing
Supply via battery or wall plug
/Debugging
(Optional)
VCC
Clock Output Control Motor, LED,
Mode MCU
Reset Input Monitor Temperature, Switches…
GND
17
18. Choosing MCU
1. Reliability - good
2. Performance – speed, number of bits, architectures
3. Power consumption - low
4. Peripherals – require
5. Number of I/O pins - enough
6. ROM/RAM size – enough
7. Package and Size – manufacturing ease
8. Development Tool – available and ease of Use
9. Roadmap – for next expansion
10. Cost - low
11. Availability – short lead time
12. Support – technical team, application notes…
18