Unit - 1
Unit - 1
Introduction to IoT
A microprocessor is a processor where the memory A microcontroller is a controlling device wherein the
What is it? and I/O component are connected externally. memory and I/O output component are present
internally.
The circuit is complex due to external connection. Microcontrollers are present on chip memory. The
Circuit complexity circuit is less complex.
Memory and I/O The memory and I/O components are to be The memory and I/O components are available.
components connected externally.
Compact system Microprocessors can’t be used in compact system. Microcontrollers can be used with a compact system.
compatibility
Efficiency Microprocessors are not efficient. Microcontrollers are efficient.
Zero status flag Microprocessors have a zero status flag. Microcontroller doesn’t have a zero status flag.
Microprocessors have less number of registers. Microcontrollers have more number of registers.
Number of registers
Microprocessors are generally used in personal Microcontrollers are generally used in washing
Applications computers. machines, and air conditioners.
Architecture Types
• General Architecture of a Microprocessor:
Architecture Types
• Vectored Processor
• Array Processor or SIMD Processor
• Scalar Processor
• RISC and SISC Processor
• Digital Signal Processor
• Symbolic Processor
• Graphics Processor
Types of Microprocessors
• CISC –
• The instructions are in a complex form
• It means that a single instruction can contain many low-level
instructions.
• Examples of CISC are Intel 386, Intel 486, Pentium, Pentium Pro,
Pentium II/III/IV, i3, i5, i7, i9, AMD, etc.
• RISC –
• The instructions are quite simple, and hence, they execute quickly.
• the instructions get complete in one clock cycle and also use a few
addressing modes only.
• Examples are IBM RS6000, DEC Alpha 21064, DEC Alpha 21164,
etc.
Types of Microprocessors
• ARM – Advanced RISC Machine
• There are many reasons to choose ARM, three stand out as it relates to IIoT
device development:
• Low Power Consumption
• Integrated Components
• A global support community
Characteristics of CISC
• As the instructions are complex hence, the decoding of instructions is also
complex.
• The size of instructions is greater than the one-word size.
• Instruction can take more than one clock cycle to execute.
• The number of registers is less since most of the operations are performed in
memory itself.
• The address modes are also complex.
• Data types are more in number.
Characteristics of RISC
• As the instruction is simple hence, the decoding of instructions is also simple.
• The size of instructions is under the one-word size.
• Instruction takes one clock cycle to execute.
• The number of registers is more.
• The address modes are also simple.
• Data types are less in number.
• Can be used for pipelining.
Advantages of CISC & RISC
Advantages of CISC:
• Microprogramming in CISC is as easy as the assembly language implementation.
• The number of instructions for performing operations is less in number. Hence,
the memory usage is low. Moreover, time consumption is also less.
Advantages of RISC:
• Instructions are simple hence easy to understand and decode.
• The instructions complete in one clock cycle therefore, CPU can handle multiple
instructions at a time.
• Designing the RISC processors is easier in comparison to the CISC processors.
Online References:
• Microprocessors for IoT:
https://www.electronicproducts.com/10-cool-processors-for-the-iot/ (DOA –
12/7/2023)
• IoT Protocols: https://www.emnify.com/iot-glossary/guide-iot-protocols (DOA –
15/7/2023)