Microcontroller: Difference Between Microprocessor and Microcontroller
Microcontroller: Difference Between Microprocessor and Microcontroller
Microcontroller: Difference Between Microprocessor and Microcontroller
Overview
A microcomputer made on a single semiconductor chip is called single-chip microcomputer. Since,
single chip microcomputers are generally used in control applications, they are also
called microcontrollers.
Microcontroller contains all essential components of a microcomputer such as CPU, RAM, ROM/EPROM,
I/O lines etc. Some single chip microcontrollers contain devices to perform specific functions such as
DMA channels, A/D converter, serial port, pulse width modulation, etc.
Microprocessors Microcontrollers
Microprocessor is the heart of computer system. It is the heart of the embedded system.
Since I/O and memory connected externally, the Since I/O and memory present internally, the
circuit becomes large. circuit is small.
Can't be used in compact systems and hence Can be used in compact systems and
inefficient. microcontroller is an efficient technique.
Most of the microprocessors do not have power Most of the microcontrollers have power
saving modes. saving mode.
Mainly used in personal computers. Used mainly in washing machine, MP3 players.
Our Embedded System tutorial includes all topics of Embedded System such as characteristics,
designing, processors, microcontrollers, tools, addressing modes, assembly language, interrupts,
embedded c programming, led blinking, serial communication, lcd programming, keyboard
programming, project implementation etc.
Let's see the block diagram shows the basic structure of an embedded system.
o Sensor: Sensor used for sensing the change in environment condition and it generate the
electric signal on the basis of change in environment condition. Therefore it is also called as
transducers for providing electric input signal on the basis of change in environment condition.
o A-D Converter: An analog-to-digital converter is a device that converts analog electric input
signal into its equivalent digital signal for further processing in an embedded system.
o Processor & ASICs: Processor used for processing the signal and data to execute desired set
of instructions with high-speed of operation.
Application specific integrated circuit (ASIC) is an integrated circuit designed to perform task
specific operation inside an embedded system.
o D-A Converter: A digital-to-analog converter is a device that converts digital electric input
signal into its equivalent analog signal for further processing in an embedded system.
o Actuators: Actuators is a comparator used for comparing the analog input signal level to
desired output signal level for providing the error free output from the system.
Let's see a flow chart represent the design steps required in the development of an embedded system:
Designing of an embedded system
Basic Structure of an Embedded System
Let's see the block diagram shows the basic structure of an embedded system.
o Sensor: Sensor used for sensing the change in environment condition and it generate the
electric signal on the basis of change in environment condition. Therefore it is also called as
transducers for providing electric input signal on the basis of change in environment condition.
o A-D Converter: An analog-to-digital converter is a device that converts analog electric input
signal into its equivalent digital signal for further processing in an embedded system.
o Processor & ASICs: Processor used for processing the signal and data to execute desired set
of instructions with high-speed of operation.
Application specific integrated circuit (ASIC) is an integrated circuit designed to perform task
specific operation inside an embedded system.
o D-A Converter: A digital-to-analog converter is a device that converts digital electric input
signal into its equivalent analog signal for further processing in an embedded system.
o Actuators: Actuators is a comparator used for comparing the analog input signal level to
desired output signal level for providing the error free output from the system.
Let's see a flow chart represent the design steps required in the development of an embedded system:
What is an Internet of Things (IoT)
Let's us look closely at our mobile device which contains GPS Tracking, Mobile Gyroscope, Adaptive
brightness, Voice detection, Face detection etc. These components have their own individual features,
but what about if these all communicate with each other to provide a better environment? For
example, the phone brightness is adjusted based on my GPS location or my direction.
Connecting everyday things embedded with electronics, software, and sensors to internet enabling to
collect and exchange data without human interaction called as the Internet of Things (IoT).
The term "Things" in the Internet of Things refers to anything and everything in day to day life which
is accessed or connected through the internet.
IoT is an advanced automation and analytics system which deals with artificial intelligence, sensor,
networking, electronic, cloud messaging etc. to deliver complete systems for the product or services.
The system created by IoT has greater transparency, control, and performance.
As we have a platform such as a cloud that contains all the data through which we connect all the
things around us. For example, a house, where we can connect our home appliances such as air
conditioner, light, etc. through each other and all these things are managed at the same platform.
Since we have a platform, we can connect our car, track its fuel meter, speed level, and also track the
location of the car.
If there is a common platform where all these things can connect to each other would be great
because based on my preference, I can set the room temperature. For example, if I love the room
temperature to to be set at 25 or 26-degree Celsius when I reach back home from my office, then
according to my car location, my AC would start before 10 minutes I arrive at home. This can be done
through the Internet of Things (IoT).
How does Internet of Thing (IoT) Work?
The working of IoT is different for different IoT echo system (architecture). However, the key concept
of there working are similar. The entire working process of IoT starts with the device themselves, such
as smartphones, digital watches, electronic appliances, which securely communicate with the IoT
platform. The platforms collect and analyze the data from all multiple devices and platforms and
transfer the most valuable data with applications to devices.
An embedded device system generally runs as a single application. However, these devices can
connect through the internet connection, and able communicate through other network devices.
The IoT decision framework is much more important as the product or services communicates over
networks goes through five different layers of complexity of technology.
1. Device Hardware
2. Device Software
3. Communications
4. Cloud Platform
5. Cloud Application
Decision Area
The IoT decision framework pays attention to six key decision areas in any IoT product. These decision
areas are:
Each of these decision areas is evaluated at each of the IoT Technology Stack. The User Experience
will be evaluated at Device Hardware, Device Software and so to provide the better user experience.
Then at the next step Data Decision Area, we have to explore data considerations for all the stages of
IoT Technology Stack.
Decision Area of the IoT Decision Framework
Let's see each of the Decision Area of IoT Decision Framework in detail:
1. User Experience Decision Area: This is the area where we concentrate about who are the
users, what are their requirements and how to provide a great experience at each step of IoT
stack without worrying about the technical details.
2. Data Decision Area: In this area, we make the overall data strategy such as the data flow
over the entire IoT stack to fulfill the user's requirements.
3. Business Decision Area: Based on the previous decisions area, we make the decision how
product or services will became financial potential. At each of the IoT Stack level are
monetized about the costs of providing services.
4. Technology Decision Area: In this area, we work with the technology for each layer to
facilitate the final solution.
5. Security Decision Area: After going through the implementation of technology it is
important to decide and provide the security at each stage of the IoT Stack.
6. Standards & Regulations Decision Area: At the last stage of IoT Decision Area, we identify
the standards and regulations of product or services that will affect your product at each layer
of the IoT Stack.
o Continuous Research: It requires continuous research in every field (smart devices, fast
communication channel, etc.) of healthcare to provide a fast and better facility for patients.
o Smart Devices: Need to use the smart device in the healthcare system. IoT opens the
potential of current technology and leads us toward new and better medical device solutions.
o Better Care: Using IoT technology, healthcare professionals get the enormous data of the
patient, analysis the data and facilitate better care to the patient.
o Medical Information Distribution: IoT technology makes a transparency of information and
distributes the accurate and current information to patients. This leads the fewer accidents
from miscommunication, better preventive care, and improved patient satisfaction.
Connectivity: IoT system provides better connectivity (using Bluetooth, WiFi, etc.) of devices or
sensors from microcontroller to server and vice-versa to read data.
Analytics: Healthcare system analyzes the data from sensors and correlates to get healthy
parameters of the patient and on the basis of their analyze data they can upgrade the patient health.
Robotics
Robotics is the term used in artificial intelligence that deals with a study of creating intelligent and
efficient robots.
Objective
The aim of the robot is to manipulate the objects by perceiving, moving, picking, modifying the
physical properties of object.
What is Robotics
Robotics is a branch of Artificial Intelligence (AI), it is mainly composed of electrical engineering,
mechanical engineering and computer science engineering for construction, designing and
application of robots.
Robotics is science of building or designing an application of robots. The aim of robotics is to design an
efficient robot.
Aspects of Robotics
o The robots have electrical components for providing power and control the machinery.
o They have mechanical construction, shape, or form designed to accomplish a particular
task.
o It contains some type of computer program that determines what, when and how a robot
does something.
Components of Robot
Consider the robot structure showing different components of robots are:
Consider the key components of robotics are:-
o Power Supply - The working power to the robot is provided by batteries, hydraulic, solar
power, or pneumatic power sources.
o Actuators - Actuators are the energy conversion device used inside a robot. The major
function of actuators is to convert energy into movement.
o Electric motors (DC/AC)- Motors are electromechanical component used for converting
electrical energy into its equivalent mechanical energy. In robots motors are used for providing
rotational movement.
o Sensors - Sensors provide real time information on the task environment. Robots are
equipped with tactile sensor it imitates the mechanical properties of touch receptors of human
fingerprints and a vision sensor is used for computing the depth in the environment.
o Controller - Controller is a part of robot that coordinates all motion of the mechanical system.
It also receives an input from immediate environment through various sensors. The heart of
robot's controller is a microprocessor linked with the input/output and monitoring device. The
command issued by the controller activates the motion control mechanism, consisting of
various controller, actuators and amplifier.
Artificial Intelligence in Robotics
With the invention of machines or computers, their capability to perform different tasks went on
increasing exponentially. Humans have developed the power of computer systems in terms of diverse
working domains, with increasing speed, and reducing size with respect to time.
Artificial Intelligence is implemented by studying how human brain thinks and how humans decide,
learn, and work while trying to solve a problem, and then using the result of this study as a basis of
developing intelligent systems and software.
o Expert System - In artificial intelligence, an expert system are used for solving complex
problems by reasoning about knowledge, represented primarily by if-then rules rather than by
conventional procedural code. In general, an expert system is a computer system that uses
the decision-making capability of a human expert.
o Neural Networks - Neural networks are system of interconnected ?neurons? which exchange
messages between each other. In machine learning artificial neural networks (ANNs) belongs
to a family of model inspired by biological neural networks (the nervous system of animals,
present inside a brain) and are used for approximate functions or estimate a large number of
inputs which are generally unknown.
o Robotics - Robotics is a branch of Artificial Intelligence (AI), it is mainly composed of
electrical engineering, mechanical engineering and computer science engineering for
construction, designing and application of robots. Robotics is science of building or designing
an application of robots. The aim of robotics is to design an efficient robot.
o Fuzzy logic - Fuzzy logic was introduced in 1965 as a proposal of fuzzy set theory. It is
applied to various fields, from artificial intelligence to control theory. Fuzzy logic is a form of
many-valued logic in which truth table values of variable may be real number between 0 and
1.
o Natural Language Processing - Natural language processing (NLP) is a method of
communicating with an intelligent system by using a natural language such as English. The
input and output of NLP system is speech and written text.
The differences between voice and speech recognition are given below:
The aim of voice recognition is to recognize WHO is The aim of speech recognition is to understand and
speaking. comprehend WHAT was spoken.
This recognition system requires training as it is person This recognition system does not require training as
oriented. speaker dependent.
It is used for identifying a person by analyzing its voice, It is used for hand-free computing, menu navigation
tone, pitch, and accent, etc.
Speaker dependent Voice Recognition systems are easy to Speaker independent Speech Recognition systems ar
develop. to develop.
Eagle is a PCB design software package consists of a PCB editor, a schematic editor and an auto router
module. This software also provides wide variety of library components, but library editor is also
provided for design new parts or modify the existing one.
o Lightweight - It is lightweight software which requires anywhere from 50-200MB of disk
space. The installer package is about 25MB. So you can download to install to run for making
a PCB very quick.
o Cross-platform - Eagle can run on Windows, LINUX, MAC. This is a feature not too many
other PCB design software provide.
o Free/Low-Cost - The free version of EAGLE provides enough utilization for designing of any
PCB using toolbar of software.
Consider the Eagle Toolbar for editing the schematic of the circuit is,
Using the above tools the desired operation can be performed for drawing schematic structure of the
circuit. When adding the components you will notice a small black cross on each device. It is the origin
or handle of the device used for manipulate the device with various tools.