Microcontroller


Microcontroller


  • A Microcontroller is a small computer on a single integrated circuit containing electronic computing unit and logic unit (combinedly known as CPU), Memory (Program Memory and Data Memory), I/O ports and few other components integrated on a single chip.
  • Microcontroller is like a mini computer with a CPU along with RAM, ROM, serial ports, timers, and IO peripherals all embedded on a single chip.
Classification of Microcontroller

    • Bus width
    • Memory Structure
    • Instruction set
    • Number of input/output Pins

    Bus Width

      • Bus width indicates the size of the data bus. Higher bus widths often result in better performance.
      • Microcontrollers come in 8bit, 16 bit, 32 bit and 64 bit. Some most advanced microcontroller have bits more than 64 which are capable of executing particular functions in the embedded system.
      • Based on bit configuration, the microcontroller is further divided into following categories.
        • 8-bit Microcontroller
        • 16-bit Microcontroller
        • 32 –bit Microcontroller
      Memory Structure

        • Microcontrollers need memory (RAM, ROM, EPROM, EEPROM, Flash memory ,etc) to store programs and data.
        • Based on the memory configuration, the microcontroller is further divided into two types :
          • Embedded Memory Microcontroller
          • External Memory Microcontroller

        Instruction Set

          • Based on the instruction set configuration, the microcontrollers is classification into two categories CISC or RISC.
          • CISC : CISC stand for complex instruction set computer. It allows the user to insert a single instruction as alternative to many simple instruction.
          • RISC : RISC stands for Reduced Instruction Set Computers. It reduces the operational time by shortening the clock cycle per instruction.

          Number of input/output pins

            • Microcontrollers vary according to the number of input-output pin sizes.
            • One can choose a specific microcontrollers  as per the requirement of application.

            Component of Microcontroller 

              • CPU
              • Memory
              • Input/output ports
              • System Bus
              • Timers and Counters
              • Serial Ports
              • Interrupt Control
              • ADC (Analog to Digital Converter)
              • DAC (Digital to Analog Converter)

              Types of Microcontroller

                • Microcontroller 8051
                • AVR Microcontroller
                • PIC Microcontroller
                • ARM Microcontroller
                • Renesas Microcontroller

                Microcontroller 8051

                  • 8051 microcontrollers  is an 8-bit family of microcontroller and is developed by the intel in the year 1981.
                  • This is one of the popular families of microcontroller being used all across the world.
                  • It has 128 byte of on chip RAM.
                  • The data memory can be expanded up to 64kb.
                  • It is a CISC based Microcontroller with Harvard Architecture (separate program and data memory).

                  AVR Microcontroller 

                    • AVR Microcontroller was developed in the year of 1996 by Atmel Corporation.
                    • The structural design of AVR was developed by the Alf-Egil Bogen and Vegard Wollan.
                    • The AVR microcontroller are modified Harvard RISC architecture with separate memory for data and program.
                    • The speed of AVR is high when compare to 8051 and PIC.
                    • The AVR stand for Alf-Egil Bogen and Vegard Wollen’s RISC processor.

                    PIC Microcontrollers 

                      • Peripheral Interface Controller (PIC) is microcontroller developed by a Microchip.
                      • PIC microcontroller is fast and simple to implement program when you compare other microcontrollers like 8051.
                      • It Controlled by the software.
                      • It is RISC based Design 
                      • Its Code os extremely efficient, allowing the PIC to run with typically less program memory than its larger competitors.
                      • It is low cost, high clock speed.
                      ARM Microcontroller

                        • The ARM microcontroller stands for Advance Risk Machine.
                        • It is one of the extensive and most licensed processor cores in the world.
                        • The first ARM microcontroller was developed in the year 1978 by Cambridge University.
                        • The ARM RISC processor was produced by Acorn Group of Computers in the year 1985.
                        • ARM processors are widely used in customer electronic devices such as smart phones, tablets, multimedia players and other mobile devices such as wearable.

                        Renesas Microcontroller 

                        • Renesas is latest automotive Microcontroller family that offers high performance feature with exceptionally low power consumption over a wide and versatile extend of item.
                        • This microcontroller  offers rich functional security and embedded safety characteristics required for new and advanced automotive application..
                        Embedded System

                          • An embedded System is a combination of Hardware and Software.
                          • An embedded system can be an independent system or it can be a part of large system.
                          • It is a microcontroller or microprocessor based on system which is designed to perform a specific task.
                          • It is more of an application oriented system i.e. it is dedicated to perform a single task.
                          • For example Fire alarm is embedded system; it will sense only smoke.

                          Component of Embedded System

                            • Processor
                            • Memory
                            • Peripherals
                            • Software

                            Qus. 1 : When the microcontroller executes some arithmetic operations, then the flag bits of which of the following register are affected?

                            1. DPTR
                            2. PSW
                            3. PC
                            4. SP
                            Qus. 2 : __________ is an example of 16 bit microcontroller.

                            1. 8031 Microcontroller
                            2. 8051 Microcontroller
                            3. 8096 Microcontroller
                            4. None of the above
                            Qus. 3 : Which of the following should microcontroller at least should consist of?

                            1. CPU, ROM, I/O ports, and timers
                            2. RAM, ROM, I/O ports, and timers
                            3. CPU, RAM, I/O ports, and timers
                            4. CPU, RAM, ROM, I/O ports, and timers
                            Qus. 4 : ____ Used in washing Machine.

                            1. Microcontrollor
                            2. Microprocessor
                            3. Ethernet
                            4. None of these
                            Qus. 5 : A microcontroller is a small, low cost and self contained computer on a chip that can be used as an _____ .

                            1. Embedded System
                            2. Floppy disk
                            3. Motherboard
                            4. None of the above
                            Qus. 6 : _____ has Internal Memory.

                            1. Microprocessor
                            2. Microcontrollor
                            3. Both of the Above
                            4. None of these
                            Qus. 7 : What is true about microcontroller?

                            1. A microcontroller is a small and low cost microcomputer.
                            2. It is designed to perform the specific tasks of embedded systems.
                            3. microcontroller consists of the processor, the memory, Serial ports, peripherals.
                            4. All of the above
                            Qus. 8 : Microcontroller is the brain of IOT devices.

                            1. True
                            2. False
                            3. May be True or False
                            4. None of the Above
                            Qus. 9 : Which is false about microcontroller?

                            1. Microcontrollers are used to execute a single task within an application.
                            2. It consists of CPU, RAM, ROM, I/O ports.
                            3. Its power consumption is high because it has to control the entire system.
                            4. It is built with CMOS technology.
                            Qus. 10 : Which of the following is an example of Embedded memory microcontroller?

                            1. Intel 8031 microcontroller.
                            2. Intel 8051 microcontroller.
                            3. Intel 8081 microcontroller.
                            4. Intel 8085 microcontroller.
                            Qus. 11 : A microcontroller at least should consist of:

                            1. RAM, ROM, I/O ports and timers
                            2. CPU, RAM, I/O ports and timers
                            3. CPU, RAM, ROM, I/O ports and timers
                            4. CPU, ROM, I/O ports and timers
                            Qus. 12 : What is the order decided by a processor or the CPU of a controller to execute an instruction?

                            1. decode,fetch,execute
                            2. execute,fetch,decode
                            3. fetch, execute,decode
                            4. fetch,decode, execute
                            Qus. 13 : ARM stands for -

                            1. Advanced RISC Machine
                            2. Advanced RISC Methadology
                            3. Advanced Reduced Machine
                            4. Advanced Reduce Methadology
                            Qus. 14 : Which memory storage is widely used in PCs and Embedded Systems?

                            1. EEPROM
                            2. Flash Memory
                            3. SRAM
                            4. DRAM
                            Qus. 15 : Which of the following stores your application program in the microcontroller.

                            1. ROM
                            2. RAM
                            3. USB
                            4. Harddisk

                            Programs

                            CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad