A microcontroller is a small, low-cost microcomputer designed to perform specific tasks in embedded systems. The 8051 microcontroller contains a processor, memory (RAM, ROM), serial ports, peripherals (timers, counters), and is commonly used in devices like microwaves and remote controls. It has 4 I/O ports that can be configured as inputs or outputs, with ports 0 and 2 also used for addressing external memory. The 8051 is an 8-bit microcontroller commonly used in embedded applications due to its low power consumption and cost-effectiveness.
The document discusses the Intel 8051 microcontroller. It provides an overview of the 8051, including that it is an 8-bit microcontroller developed by Intel in 1981. It describes some key features, such as having 128 bytes of RAM, 4K bytes of ROM, timers, ports, and that it can be programmed using 8051 assembly language. It also provides details on the architecture of the 8051, describing components like the CPU, memory, buses, interrupts, timers/counters, and input/output ports. It includes a diagram of the pinout of the 8051 microcontroller.
The document discusses the 8051 microcontroller, including its features, applications, and programming. It provides an overview of the 8051 architecture, describing its registers, memory mapping, I/O ports, timers, and interrupts. It also discusses how the 8051 is commonly used in applications like home appliances, industrial equipment, and toys.
The document discusses the 8051 microcontroller, including its architecture, pins, ports, and memory organization. It provides details on the 8051's 8-bit CPU, registers, program memory, data memory, special function registers, and four 8-bit I/O ports. It also describes the functions of key pins for the crystal oscillator, reset, external access, and program store enable.
The document discusses microprocessors and microcontrollers. It describes how microprocessors have external RAM, ROM, and I/O ports, while microcontrollers have RAM, ROM, I/O ports, and other components integrated into a single chip. The 8051 microcontroller is presented as a common example that has on-chip memory and I/O in addition to a CPU. Key features of the 8051 such as its memory organization, registers, addressing modes, and instruction set are outlined.
The 8051 microcontroller has 4KB of ROM, 128KB of RAM, and 4 ports with 32 I/O lines. This configuration satisfies the needs of most programmers for developing automation devices. The 8051 has two types of memory - program memory (ROM) for permanently storing programs and data memory (RAM) for temporarily storing data and results. The 8051 has special function registers used for running and monitoring the microcontroller, including registers for timer control, interrupt control, and serial communication.
Microcontrollers and Embedded Processors. Architecture – Block diagram of 8051, Pin configuration, Registers, Internal Memory, Timers, Port Structures, Interrupts. Assembly Language Programming - Addressing Modes, Instruction set of 8051, Simple programming examples in assembly language
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentseceprinter6
This document outlines the course objectives and units of an embedded systems and IoT course. The course aims to teach students about embedded processor architecture and programming, interfacing I/O devices, the evolution of the Internet of Things, and building low-cost embedded and IoT systems using platforms like Arduino and Raspberry Pi. The units cover topics like 8-bit embedded processors, embedded C programming, IoT and Arduino programming, IoT communication protocols, and applications development for home automation, smart agriculture, and smart cities.
The document discusses the 8051 microcontroller. It provides an introduction to microcontrollers in general and compares them to microprocessors. It then describes the features of the 8051 microcontroller including its architecture, memory, ports, and programming. It also discusses the P89V51RD2 microcontroller and the software and hardware used to develop projects using the 8051, including the Keil IDE and Flash Magic programmer.
The document discusses the Intel 8051 microcontroller. It provides an overview of the 8051, including that it is an 8-bit microcontroller developed by Intel in 1981. It describes some key features, such as having 128 bytes of RAM, 4K bytes of ROM, timers, ports, and that it can be programmed using 8051 assembly language. It also provides details on the architecture of the 8051, describing components like the CPU, memory, buses, interrupts, timers/counters, and input/output ports. It includes a diagram of the pinout of the 8051 microcontroller.
The document discusses the 8051 microcontroller, including its features, applications, and programming. It provides an overview of the 8051 architecture, describing its registers, memory mapping, I/O ports, timers, and interrupts. It also discusses how the 8051 is commonly used in applications like home appliances, industrial equipment, and toys.
The document discusses the 8051 microcontroller, including its architecture, pins, ports, and memory organization. It provides details on the 8051's 8-bit CPU, registers, program memory, data memory, special function registers, and four 8-bit I/O ports. It also describes the functions of key pins for the crystal oscillator, reset, external access, and program store enable.
The document discusses microprocessors and microcontrollers. It describes how microprocessors have external RAM, ROM, and I/O ports, while microcontrollers have RAM, ROM, I/O ports, and other components integrated into a single chip. The 8051 microcontroller is presented as a common example that has on-chip memory and I/O in addition to a CPU. Key features of the 8051 such as its memory organization, registers, addressing modes, and instruction set are outlined.
The 8051 microcontroller has 4KB of ROM, 128KB of RAM, and 4 ports with 32 I/O lines. This configuration satisfies the needs of most programmers for developing automation devices. The 8051 has two types of memory - program memory (ROM) for permanently storing programs and data memory (RAM) for temporarily storing data and results. The 8051 has special function registers used for running and monitoring the microcontroller, including registers for timer control, interrupt control, and serial communication.
Microcontrollers and Embedded Processors. Architecture – Block diagram of 8051, Pin configuration, Registers, Internal Memory, Timers, Port Structures, Interrupts. Assembly Language Programming - Addressing Modes, Instruction set of 8051, Simple programming examples in assembly language
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentseceprinter6
This document outlines the course objectives and units of an embedded systems and IoT course. The course aims to teach students about embedded processor architecture and programming, interfacing I/O devices, the evolution of the Internet of Things, and building low-cost embedded and IoT systems using platforms like Arduino and Raspberry Pi. The units cover topics like 8-bit embedded processors, embedded C programming, IoT and Arduino programming, IoT communication protocols, and applications development for home automation, smart agriculture, and smart cities.
The document discusses the 8051 microcontroller. It provides an introduction to microcontrollers in general and compares them to microprocessors. It then describes the features of the 8051 microcontroller including its architecture, memory, ports, and programming. It also discusses the P89V51RD2 microcontroller and the software and hardware used to develop projects using the 8051, including the Keil IDE and Flash Magic programmer.
The 8051 microcontroller has 40 pins but uses 32 for input/output. It has 4KB of read-only program memory and 128 bytes of random access data memory. It contains two 16-bit timers/counters and four input/output ports that can connect to other devices. The ports have dual roles and can be used for memory addressing when accessing external memory in conjunction with the microcontroller's address and data buses.
This document discusses the architecture and programming of the 8051 microcontroller. It begins by outlining the objectives and outcomes of studying the 8051. It then provides details on the basics of the 8051 architecture, including its internal blocks like RAM, registers, timers, ports, and memory organization. It also compares microcontrollers to general purpose microprocessors. Finally, it discusses the internal registers of the 8051 like the program counter, stack pointer, and special function registers in detail.
Microcontroller (8051) by K. Vijay KumarVijay Kumar
The document provides an overview of microprocessors and microcontrollers. It discusses why they are needed in modern devices and some key components like the CPU, memory, I/O ports, and timers. The document then compares microprocessors and microcontrollers, noting that microcontrollers have these components integrated onto a single chip, making them well-suited for applications where cost, power and space are priorities. It also provides details on the 8051 microcontroller, including its memory architecture, I/O ports, and special function registers.
The document discusses the 8051 microcontroller. It begins by explaining why we need to learn about microprocessors and microcontrollers, noting that many modern devices are controlled by them. It then covers the basic components of a microprocessor/controller including the CPU, I/O, memory, timers, and interrupts. The rest of the document provides details on the 8051 microcontroller, including its architecture, memory structure, registers, ports and other features. It compares microprocessors and microcontrollers, and discusses how to choose between different microcontroller options for embedded systems.
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 MicrocontrollersArti Parab Academics
The 8051 Microcontrollers: Microcontrollers and Embedded processors, Overview of 8051 family. 8051 Microcontroller hardware, Input/output pins, Ports, and Circuits, External Memory. 8051 Programming in C: Data Types and time delay in 8051 C, I/O Programming, Logic operations, Data conversion Programs
The document provides information on the 8051 microcontroller architecture. It discusses the oscillator, program counter, data pointer, registers A and B, flags and program status word, internal memory including RAM, stack pointer, special function registers, internal ROM, input/output pins including the four ports, counters, timers, and interrupts. The 8051 is an 8-bit microcontroller with 40 pins, 128 bytes of internal RAM, 4KB of internal ROM, and features like timers, counters, serial port, and interrupts that allow it to be used in embedded systems.
This document provides an introduction to microcontrollers and the 8051 architecture. It describes that a microcontroller contains a processor and other support devices integrated together on a single chip, unlike a microprocessor which requires external components. The 8051 is introduced as a popular microcontroller, and its pin diagram and internal architecture are explained, including details about ports, memory, registers, timers/counters, serial communication and interrupts.
The document discusses the 8051 microcontroller. It provides details about:
- The 8051 microcontroller was developed by Intel in 1980 and was very popular due to features like serial communication, timers, interrupts, and RISC architecture.
- The 8051 has features like an 8-bit ALU, 8-bit accumulator, 128 bytes of RAM, 4KB of ROM, four 8-bit I/O ports, two 16-bit timers/counters, and UART serial communication.
- The pin configuration of the 8051 microcontroller depends on the package but commonly uses a 40-pin DIP package. The pin functions include the I/O and memory ports as well as power
The 8051 is an 8-bit microcontroller with separate 64KB code and data memory spaces. It has 4 I/O ports, 128 bytes of internal RAM, and special function registers. The ports have alternate functions including external memory interfacing and serial communication. The memory uses a Harvard architecture with separate address spaces for code and data.
The document describes the architecture and components of an 8051 microcontroller. It includes details about the CPU registers like the accumulator, program status word, stack pointer, and timers. It describes the ports, interrupts, and memory organization. The special function registers control functions like timers, serial communication, and interrupts. The timers can be configured in different modes to generate time delays or count events. External memory can be accessed using address and data lines connected to the ports.
The document describes the architecture and components of an 8051 microcontroller. It contains:
- An 8-bit CPU with registers A and B, 4KB internal ROM, 16-bit program counter and data pointer, 128 bytes of RAM, and an 8-bit program status word.
- Two 16-bit counters/timers, four 8-bit I/O ports, and interrupts.
- Registers including accumulator, B register, program status word, stack pointer, and data pointer.
- Timers, serial I/O, and I/O ports for input/output.
The document provides an overview of the 8051 microcontroller, including its features, applications, and architecture. It discusses the 8051's registers, memory mapping, I/O ports, timers, and interrupts. It also covers the evolution of microcontrollers from early chips like the Intel 8048 and 8051 to more modern 32-bit architectures. The 8051 is highlighted as a popular microcontroller due to its small size, low cost, and ability to be used in a wide range of applications.
This document discusses I/O operations for the 8051 microcontroller. It describes how the 8051 has four I/O ports (P0, P1, P2, P3) that allow for input and output through a total of 32 pins. P0 and P2 together make up the 16-bit address bus, while all ports can be used for 8-bit data transfer. P3 has additional functions like serial communication, interrupts, timers, and memory read/write signals. I/O ports are initially configured as inputs and must be programmed as outputs, with P0 requiring external pull-up resistors due to its open-drain configuration.
This document provides an overview of microprocessors and microcontrollers. It discusses the key differences between microprocessors and microcontrollers, including that microcontrollers have memory, I/O ports, and other peripherals integrated into a single chip, while microprocessors require external components. The document then focuses on the 8051 microcontroller, describing its architecture and components such as CPU, RAM, ROM, I/O ports, timers, interrupts, and oscillators. Block diagrams depict the overall architecture and data flow of the 8051 microcontroller.
This PPT covers some important points of 8051 microcontroller like Applications, block diagram, Architecture, comparison between microprocessor and microcontroller, Pin diagram, RAM memory space allocation, register banks, Instruction set, Addresing modes, serial communication, baud rate, machine cycle, serial interface with PC, Introduction to Timers/Counters etc....
The document discusses the history and architecture of the 8051 microcontroller standard. It began in the 1980s when Intel launched the MCS-051 microcontroller family. Despite modest features, it achieved great success and popularity due to its skillfully designed configuration that satisfied many users' needs. Over time, additional memory and features were added, but the basic architecture remained the same, allowing for compatibility. Today, nearly all microcontrollers follow the 8051 standard in some form.
The document discusses the 8051 microcontroller. It begins by describing the key features of the 8051 microcontroller, including that it has an 8-bit CPU, 4KB of internal program memory, 128 bytes of internal data memory, 32 I/O lines that can be used as ports, and two 16-bit timer counters. It then provides more details on the internal architecture, describing the ALU, registers, memory organization, and other components. It concludes by explaining features like the register banks and stack memory.
This document provides an overview of embedded systems and microcontrollers including the 8051 and 8086. It discusses key aspects of embedded systems such as they combine both hardware and software to perform a specific task. Examples are given of microcontrollers that control functions like engine control. The document then focuses on details of the 8051 microcontroller including its features, pins, and ports. It also provides details on the architecture and components of the 8086 microprocessor such as its execution unit, registers, bus interface unit, and segment registers.
The document describes the internal architecture of the 89C52 microcontroller. It has the following on-chip facilities: 4k ROM, 128 byte RAM, one USRT, 32 I/O port lines, two 16-bit timers/counters, six interrupt sources, and an on-chip clock oscillator. Other family members have variations like 8k ROM, 256 byte RAM, and an extra timer/counter. The 89C52 architecture includes ports, memory, a CPU, and peripherals that allow it to interface with external devices.
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...sangeeta jogade
The document provides an overview of fundamentals related to microcontrollers including the 8051 microcontroller. It defines common terms like binary number, bit, byte, word, bus, register, integrated circuit, and microprocessor. It then discusses the 8051 microcontroller specifically, covering its memory organization, I/O ports, timers, interrupts, and special function registers. The document is intended as a revision guide for understanding basic microcontroller concepts centered around the popular 8051 microcontroller.
The 8051 microcontroller has 40 pins but uses 32 for input/output. It has 4KB of read-only program memory and 128 bytes of random access data memory. It contains two 16-bit timers/counters and four input/output ports that can connect to other devices. The ports have dual roles and can be used for memory addressing when accessing external memory in conjunction with the microcontroller's address and data buses.
This document discusses the architecture and programming of the 8051 microcontroller. It begins by outlining the objectives and outcomes of studying the 8051. It then provides details on the basics of the 8051 architecture, including its internal blocks like RAM, registers, timers, ports, and memory organization. It also compares microcontrollers to general purpose microprocessors. Finally, it discusses the internal registers of the 8051 like the program counter, stack pointer, and special function registers in detail.
Microcontroller (8051) by K. Vijay KumarVijay Kumar
The document provides an overview of microprocessors and microcontrollers. It discusses why they are needed in modern devices and some key components like the CPU, memory, I/O ports, and timers. The document then compares microprocessors and microcontrollers, noting that microcontrollers have these components integrated onto a single chip, making them well-suited for applications where cost, power and space are priorities. It also provides details on the 8051 microcontroller, including its memory architecture, I/O ports, and special function registers.
The document discusses the 8051 microcontroller. It begins by explaining why we need to learn about microprocessors and microcontrollers, noting that many modern devices are controlled by them. It then covers the basic components of a microprocessor/controller including the CPU, I/O, memory, timers, and interrupts. The rest of the document provides details on the 8051 microcontroller, including its architecture, memory structure, registers, ports and other features. It compares microprocessors and microcontrollers, and discusses how to choose between different microcontroller options for embedded systems.
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 MicrocontrollersArti Parab Academics
The 8051 Microcontrollers: Microcontrollers and Embedded processors, Overview of 8051 family. 8051 Microcontroller hardware, Input/output pins, Ports, and Circuits, External Memory. 8051 Programming in C: Data Types and time delay in 8051 C, I/O Programming, Logic operations, Data conversion Programs
The document provides information on the 8051 microcontroller architecture. It discusses the oscillator, program counter, data pointer, registers A and B, flags and program status word, internal memory including RAM, stack pointer, special function registers, internal ROM, input/output pins including the four ports, counters, timers, and interrupts. The 8051 is an 8-bit microcontroller with 40 pins, 128 bytes of internal RAM, 4KB of internal ROM, and features like timers, counters, serial port, and interrupts that allow it to be used in embedded systems.
This document provides an introduction to microcontrollers and the 8051 architecture. It describes that a microcontroller contains a processor and other support devices integrated together on a single chip, unlike a microprocessor which requires external components. The 8051 is introduced as a popular microcontroller, and its pin diagram and internal architecture are explained, including details about ports, memory, registers, timers/counters, serial communication and interrupts.
The document discusses the 8051 microcontroller. It provides details about:
- The 8051 microcontroller was developed by Intel in 1980 and was very popular due to features like serial communication, timers, interrupts, and RISC architecture.
- The 8051 has features like an 8-bit ALU, 8-bit accumulator, 128 bytes of RAM, 4KB of ROM, four 8-bit I/O ports, two 16-bit timers/counters, and UART serial communication.
- The pin configuration of the 8051 microcontroller depends on the package but commonly uses a 40-pin DIP package. The pin functions include the I/O and memory ports as well as power
The 8051 is an 8-bit microcontroller with separate 64KB code and data memory spaces. It has 4 I/O ports, 128 bytes of internal RAM, and special function registers. The ports have alternate functions including external memory interfacing and serial communication. The memory uses a Harvard architecture with separate address spaces for code and data.
The document describes the architecture and components of an 8051 microcontroller. It includes details about the CPU registers like the accumulator, program status word, stack pointer, and timers. It describes the ports, interrupts, and memory organization. The special function registers control functions like timers, serial communication, and interrupts. The timers can be configured in different modes to generate time delays or count events. External memory can be accessed using address and data lines connected to the ports.
The document describes the architecture and components of an 8051 microcontroller. It contains:
- An 8-bit CPU with registers A and B, 4KB internal ROM, 16-bit program counter and data pointer, 128 bytes of RAM, and an 8-bit program status word.
- Two 16-bit counters/timers, four 8-bit I/O ports, and interrupts.
- Registers including accumulator, B register, program status word, stack pointer, and data pointer.
- Timers, serial I/O, and I/O ports for input/output.
The document provides an overview of the 8051 microcontroller, including its features, applications, and architecture. It discusses the 8051's registers, memory mapping, I/O ports, timers, and interrupts. It also covers the evolution of microcontrollers from early chips like the Intel 8048 and 8051 to more modern 32-bit architectures. The 8051 is highlighted as a popular microcontroller due to its small size, low cost, and ability to be used in a wide range of applications.
This document discusses I/O operations for the 8051 microcontroller. It describes how the 8051 has four I/O ports (P0, P1, P2, P3) that allow for input and output through a total of 32 pins. P0 and P2 together make up the 16-bit address bus, while all ports can be used for 8-bit data transfer. P3 has additional functions like serial communication, interrupts, timers, and memory read/write signals. I/O ports are initially configured as inputs and must be programmed as outputs, with P0 requiring external pull-up resistors due to its open-drain configuration.
This document provides an overview of microprocessors and microcontrollers. It discusses the key differences between microprocessors and microcontrollers, including that microcontrollers have memory, I/O ports, and other peripherals integrated into a single chip, while microprocessors require external components. The document then focuses on the 8051 microcontroller, describing its architecture and components such as CPU, RAM, ROM, I/O ports, timers, interrupts, and oscillators. Block diagrams depict the overall architecture and data flow of the 8051 microcontroller.
This PPT covers some important points of 8051 microcontroller like Applications, block diagram, Architecture, comparison between microprocessor and microcontroller, Pin diagram, RAM memory space allocation, register banks, Instruction set, Addresing modes, serial communication, baud rate, machine cycle, serial interface with PC, Introduction to Timers/Counters etc....
The document discusses the history and architecture of the 8051 microcontroller standard. It began in the 1980s when Intel launched the MCS-051 microcontroller family. Despite modest features, it achieved great success and popularity due to its skillfully designed configuration that satisfied many users' needs. Over time, additional memory and features were added, but the basic architecture remained the same, allowing for compatibility. Today, nearly all microcontrollers follow the 8051 standard in some form.
The document discusses the 8051 microcontroller. It begins by describing the key features of the 8051 microcontroller, including that it has an 8-bit CPU, 4KB of internal program memory, 128 bytes of internal data memory, 32 I/O lines that can be used as ports, and two 16-bit timer counters. It then provides more details on the internal architecture, describing the ALU, registers, memory organization, and other components. It concludes by explaining features like the register banks and stack memory.
This document provides an overview of embedded systems and microcontrollers including the 8051 and 8086. It discusses key aspects of embedded systems such as they combine both hardware and software to perform a specific task. Examples are given of microcontrollers that control functions like engine control. The document then focuses on details of the 8051 microcontroller including its features, pins, and ports. It also provides details on the architecture and components of the 8086 microprocessor such as its execution unit, registers, bus interface unit, and segment registers.
The document describes the internal architecture of the 89C52 microcontroller. It has the following on-chip facilities: 4k ROM, 128 byte RAM, one USRT, 32 I/O port lines, two 16-bit timers/counters, six interrupt sources, and an on-chip clock oscillator. Other family members have variations like 8k ROM, 256 byte RAM, and an extra timer/counter. The 89C52 architecture includes ports, memory, a CPU, and peripherals that allow it to interface with external devices.
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...sangeeta jogade
The document provides an overview of fundamentals related to microcontrollers including the 8051 microcontroller. It defines common terms like binary number, bit, byte, word, bus, register, integrated circuit, and microprocessor. It then discusses the 8051 microcontroller specifically, covering its memory organization, I/O ports, timers, interrupts, and special function registers. The document is intended as a revision guide for understanding basic microcontroller concepts centered around the popular 8051 microcontroller.
Low power architecture of logic gates using adiabatic techniquesnooriasukmaningtyas
The growing significance of portable systems to limit power consumption in ultra-large-scale-integration chips of very high density, has recently led to rapid and inventive progresses in low-power design. The most effective technique is adiabatic logic circuit design in energy-efficient hardware. This paper presents two adiabatic approaches for the design of low power circuits, modified positive feedback adiabatic logic (modified PFAL) and the other is direct current diode based positive feedback adiabatic logic (DC-DB PFAL). Logic gates are the preliminary components in any digital circuit design. By improving the performance of basic gates, one can improvise the whole system performance. In this paper proposed circuit design of the low power architecture of OR/NOR, AND/NAND, and XOR/XNOR gates are presented using the said approaches and their results are analyzed for powerdissipation, delay, power-delay-product and rise time and compared with the other adiabatic techniques along with the conventional complementary metal oxide semiconductor (CMOS) designs reported in the literature. It has been found that the designs with DC-DB PFAL technique outperform with the percentage improvement of 65% for NOR gate and 7% for NAND gate and 34% for XNOR gate over the modified PFAL techniques at 10 MHz respectively.
Using recycled concrete aggregates (RCA) for pavements is crucial to achieving sustainability. Implementing RCA for new pavement can minimize carbon footprint, conserve natural resources, reduce harmful emissions, and lower life cycle costs. Compared to natural aggregate (NA), RCA pavement has fewer comprehensive studies and sustainability assessments.
ACEP Magazine edition 4th launched on 05.06.2024Rahul
This document provides information about the third edition of the magazine "Sthapatya" published by the Association of Civil Engineers (Practicing) Aurangabad. It includes messages from current and past presidents of ACEP, memories and photos from past ACEP events, information on life time achievement awards given by ACEP, and a technical article on concrete maintenance, repairs and strengthening. The document highlights activities of ACEP and provides a technical educational article for members.
Understanding Inductive Bias in Machine LearningSUTEJAS
This presentation explores the concept of inductive bias in machine learning. It explains how algorithms come with built-in assumptions and preferences that guide the learning process. You'll learn about the different types of inductive bias and how they can impact the performance and generalizability of machine learning models.
The presentation also covers the positive and negative aspects of inductive bias, along with strategies for mitigating potential drawbacks. We'll explore examples of how bias manifests in algorithms like neural networks and decision trees.
By understanding inductive bias, you can gain valuable insights into how machine learning models work and make informed decisions when building and deploying them.
Literature Review Basics and Understanding Reference Management.pptxDr Ramhari Poudyal
Three-day training on academic research focuses on analytical tools at United Technical College, supported by the University Grant Commission, Nepal. 24-26 May 2024
We have compiled the most important slides from each speaker's presentation. This year’s compilation, available for free, captures the key insights and contributions shared during the DfMAy 2024 conference.
Introduction- e - waste – definition - sources of e-waste– hazardous substances in e-waste - effects of e-waste on environment and human health- need for e-waste management– e-waste handling rules - waste minimization techniques for managing e-waste – recycling of e-waste - disposal treatment methods of e- waste – mechanism of extraction of precious metal from leaching solution-global Scenario of E-waste – E-waste in India- case studies.
2. What is Microcontroller?
A microcontroller is a small and low-cost microcomputer,
which is designed to perform the specific tasks of
embedded systems like displaying microwave’s
information, receiving remote signals, etc.
The general microcontroller consists of the processor, the
memory (RAM, ROM, EPROM), Serial ports, peripherals
(timers, counters), etc.
3. Difference between Microprocessor and Microcontroller
Microprocessors Microcontrollers
It is used for big applications. It is used to execute a single task within an
application.
Microprocessor is the heart of computer system. It is the heart of the embedded system.
It is just a processor. Memory and I/O components
have to be having to be connected externally.
Microcontroller contains external processor along
with internal memory and I/O components.
Since I/O and memory connected externally, the
circuit becomes large.
Since I/O and memory present internally, the
circuit is small.
Can't be used in compact systems and hence
inefficient.
Can be used in compact systems and
microcontroller is an efficient technique.
Cost of entire system increases. Cost of entire system is low.
Power consumption is high. Power consumption is low.
Most of the microprocessors do not have power
saving modes.
Most of the microcontrollers have power saving
mode.
Difficult to replace. Easy to replace.
Mainly used in personal computers. Used mainly in washing machine, MP3 players.
4. Types of Microcontrollers
Microcontrollers are divided into various categories based on memory,
architecture, bits and instruction sets.
5. Types of Microcontrollers
(Bit)
Based on bit configuration, the microcontroller is further divided into three
categories.
8-bit microcontroller − This type of microcontroller is used to execute
arithmetic and logical operations like addition, subtraction, multiplication
division, etc. For example, Intel 8031 and 8051 are 8 bits microcontroller.
16-bit microcontroller − This type of microcontroller is used to perform
arithmetic and logical operations where higher accuracy and performance is
required. For example, Intel 8096 is a 16-bit microcontroller.
32-bit microcontroller − This type of microcontroller is generally used in
automatically controlled appliances like automatic operational machines,
medical appliances, etc.
6. Types of Microcontrollers
(Memory)
Based on the memory configuration, the microcontroller is further divided
into two categories.
External memory microcontroller − This type of microcontroller is designed
in such a way that they do not have a program memory on the chip. Hence, it
is named as external memory microcontroller. For example: Intel 8031
microcontroller.
Embedded memory microcontroller − This type of microcontroller is
designed in such a way that the microcontroller has all programs and data
memory, counters and timers, interrupts, I/O ports are embedded on the
chip. For example: Intel 8051 microcontroller.
7. Types of Microcontrollers
(Instruction Set)
Based on the instruction set configuration, the microcontroller is
further divided into two categories.
CISC − CISC stands for complex instruction set computer. It allows the
user to insert a single instruction as an alternative to many simple
instructions.
RISC − RISC stands for Reduced Instruction Set Computers. It reduces
the operational time by shortening the clock cycle per instruction.
8. Applications of Microcontrollers
Light sensing and controlling devices like LED.
Temperature sensing and controlling devices like
microwave oven, chimneys.
Fire detection and safety devices like Fire alarm.
Measuring devices like Volt Meter.
9. 8051 Microcontroller
8051 microcontroller is designed by Intel in 1981.
It is an 8-bit microcontroller.
It is built with 40 pins DIP (dual inline package), 4kb of ROM storage
and 128 bytes of RAM storage, 2 16-bit timers.
It consists of are four parallel 8-bit ports, which are programmable as
well as addressable as per the requirement.
An on-chip crystal oscillator is integrated in the microcontroller
having crystal frequency of 12 MHz
10. Features of 8051 Microcontroller
8-bit CPU through two Registers A & B.
8K Bytes – Internal ROM and it is a flash memory that supports while
programming the system.
256 Bytes – Internal RAM where the first RAM with 128 Bytes from 00H to 7FH is
once more separated into four banks through 8 registers in every bank,
addressable registers -16 bit & general-purpose registers – 80.
The remaining 128 bytes of the RAM from 80H to FFH include Special Function
Registers (SFRs). These registers control various peripherals such as Serial Port,
Timers, all I/O Ports, etc.
Interrupts like External-2 & Internal-3
Oscillator & CLK Circuit.
Control Registers like PCON, SCON, TMOD, TCON, IE, and IP.
16-bit Timers or Counters -2 like T0 & T1.
Program Counter – 16 bit & DPRT (Data Pointer).
I/O Pins – 32 which are arranged like four ports such as P0, P1, P2 & P3.
Stack Pointer (SP) – 8bit & PSW (Processor Status Word).
Serial Data Tx & Rx for Full-Duplex Operation
12. Architecture of 8051 Microcontroller.
the system bus connects all the support devices to the CPU.
The system bus consists of an 8-bit data bus, a 16-bit address
bus and bus control signals.
All other devices like program memory, ports, data memory,
serial interface, interrupt control, timers, and the CPU are all
interfaced together through the system bus.
The 8051 contains Boolean processor, full duplex serial port and
power saving circuitry in addition to essential components such
as 8-bit CPU, RAM, ROM/EPROM/OTPROM, timer/counter and
parallel I/O lines.
14. 8051 Pin Description
Pins 1 to 8 − These pins are known as Port 1. This port doesn’t serve any other functions.
It is internally pulled up, bi-directional I/O port.
Pin 9 − It is a RESET pin, which is used to reset the microcontroller to its initial values.
Pins 10 to 17 − These pins are known as Port 3. This port serves some functions like
interrupts, timer input, control signals, serial communication signals RxD and TxD, etc.
Pins 18 & 19 − These pins are used for interfacing an external crystal to get the system
clock.
Pin 20 − This pin provides the power supply to the circuit.
Pins 21 to 28 − These pins are known as Port 2. It serves as I/O port. Higher order address
bus signals are also multiplexed using this port.
Pin 29 − This is PSEN pin which stands for Program Store Enable. It is used to read a signal
from the external program memory.
Pin 30 − This is EA pin which stands for External Access input. It is used to enable/disable
the external memory interfacing.
Pin 31 − This is ALE pin which stands for Address Latch Enable. It is used to demultiplex
the address-data signal of port.
Pins 32 to 39 − These pins are known as Port 0. It serves as I/O port. Lower order address
and data bus signals are multiplexed using this port.
Pin 40 − This pin is used to provide power supply to the circuit.
15. 8051 Input Output Ports
8051 microcontrollers have 4 I/O ports each of 8-bit, which can
be configured as input or output.
Hence, total 32 input/output pins allow the microcontroller to be
connected with the peripheral devices.
Pin configuration, i.e. the pin can be configured as 1 for input
and 0 for output as per the logic state.
Input/Output (I/O) pin − All the circuits within the microcontroller must be
connected to one of its pins except P0 port because it does not have pull-
up resistors built-in.
Input pin − Logic 1 is applied to a bit of the P register. The output FE
transistor is turned off and the other pin remains connected to the power
supply voltage over a pull-up resistor of high resistance.
16. 8051 Input Output Ports
Port 0 − The P0 (zero) port is characterized by two functions −
When the external memory is used then the lower address byte (addresses A0A7) is
applied on it, else all bits of this port are configured as input/output.
When P0 port is configured as an output then other ports consisting of pins with
built-in pull-up resistor connected by its end to 5V power supply, the pins of this
port have this resistor left out.
Input Configuration
If any pin of this port is configured as an input, then it acts as if it “floats”,
i.e. the input has unlimited input resistance and in-determined potential.
Output Configuration
When the pin is configured as an output, then it acts as an “open drain”. By
applying logic 0 to a port bit, the appropriate pin will be connected to ground
(0V), and applying logic 1, the external output will keep on “floating”.
In order to apply logic 1 (5V) on this output pin, it is necessary to build an
external pull-up resistor.
17. 8051 Input Output Ports
Port 1
P1 is a true I/O port as it doesn’t have any alternative functions as in P0,
but this port can be configured as general I/O only. It has a built-in pull-up
resistor and is completely compatible with TTL circuits.
Port 2
P2 is similar to P0 when the external memory is used. Pins of this port
occupy addresses intended for the external memory chip. This port can be
used for higher address byte with addresses A8-A15. When no memory is
added then this port can be used as a general input/output port similar to
Port 1.
Port 3
In this port, functions are similar to other ports except that the logic 1
must be applied to appropriate bit of the P3 register.
18. 8051 Input Output Ports
Pins Current Limitations
When pins are configured as an output (i.e. logic 0), then the
single port pins can receive a current of 10mA.
When these pins are configured as inputs (i.e. logic 1), then
built-in pull-up resistors provide very weak current, but can
activate up to 4 TTL inputs of LS series.
If all 8 bits of a port are active, then the total current must be
limited to 15mA (port P0: 26mA).
If all ports (32 bits) are active, then the total maximum
current must be limited to 71mA.
19. 8051 Interrupts
Interrupts are the events that temporarily suspend the main
program, pass the control to the external sources and execute
their task.
It then passes the control to the main program where it had left
off.
8051 has 5 interrupt signals, i.e. INT0, TFO, INT1, TF1, RI/TI.
Each interrupt can be enabled or disabled by setting bits of the
IE register and the whole interrupt system can be disabled by
clearing the EA bit of the same register.
20. IE (Interrupt Enable) Register
This register is responsible for enabling and disabling the interrupt. EA register is set to
one for enabling interrupts and set to 0 for disabling the interrupts.
Its bit sequence and their meanings are shown in the following figure.
22. IP (Interrupt Priority) Register
We can change the priority levels of the interrupts by changing the corresponding
bit in the Interrupt Priority (IP) register as shown in the following figure.
A low priority interrupt can only be interrupted by the high priority interrupt, but
not interrupted by another low priority interrupt.
If two interrupts of different priority levels are received simultaneously, the
request of higher priority level is served.
If the requests of the same priority levels are received simultaneously, then the
internal polling sequence determines which request is to be serviced.