Microprocessor and Microcontroller Interview Questions:
77 pages
English

Vous pourrez modifier la taille du texte de cet ouvrage

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris

Microprocessor and Microcontroller Interview Questions: , livre ebook

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus
77 pages
English

Vous pourrez modifier la taille du texte de cet ouvrage

Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus

Description

Microprocessor and Microcontroller Interview Questions A complete question bank with real-time examples by Anita Gehlot Rajesh Singh P. Raja Dushyant Kumar Singh Praveen Kumar Malik FIRST EDITION 2020 Copyright © BPB Publications, India ISBN: 978-93-89845-112 All Rights Reserved. No part of this publication may be reproduced or distributed in any form or by any means or stored in a database or retrieval system, without the prior written permission of the publisher with the exception to the program listings which may be entered, stored and executed in a computer system, but they can not be reproduced by the means of publication. LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY The information contained in this book is true to correct and the best of author’s & publisher’s knowledge. The author has made every effort to ensure the accuracy of these publications, but cannot be held responsible for any loss or damage arising from any information in this book. All trademarks referred to in the book are acknowledged as properties of their respective owners. Distributors: BPB PUBLICATIONS 20, Ansari Road, Darya Ganj New Delhi-110002 Ph: 23254990/23254991 MICRO MEDIA Shop No. 5, Mahendra Chambers, 150 DN Rd. Next to Capital Cinema, V.T. (C.S.T.

Sujets

Informations

Publié par
Date de parution 01 janvier 2020
Nombre de lectures 0
EAN13 9789389845112
Langue English

Informations légales : prix de location à la page 0,1000€. Cette information est donnée uniquement à titre indicatif conformément à la législation en vigueur.

Extrait

Microprocessor and Microcontroller Interview Questions

A complete question bank with real-time examples

by
Anita Gehlot
Rajesh Singh
P. Raja
Dushyant Kumar Singh
Praveen Kumar Malik
FIRST EDITION 2020
Copyright © BPB Publications, India
ISBN: 978-93-89845-112
All Rights Reserved. No part of this publication may be reproduced or distributed in any form or by any means or stored in a database or retrieval system, without the prior written permission of the publisher with the exception to the program listings which may be entered, stored and executed in a computer system, but they can not be reproduced by the means of publication.
LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY
The information contained in this book is true to correct and the best of author’s & publisher’s knowledge. The author has made every effort to ensure the accuracy of these publications, but cannot be held responsible for any loss or damage arising from any information in this book.
All trademarks referred to in the book are acknowledged as properties of their respective owners.
Distributors:
BPB PUBLICATIONS
20, Ansari Road, Darya Ganj
New Delhi-110002
Ph: 23254990/23254991
MICRO MEDIA
Shop No. 5, Mahendra Chambers,
150 DN Rd. Next to Capital Cinema,
V.T. (C.S.T.) Station, MUMBAI-400 001
Ph: 22078296/22078297
DECCAN AGENCIES
4-3-329, Bank Street,
Hyderabad-500195
Ph: 24756967/24756400
BPB BOOK CENTRE
376 Old Lajpat Rai Market,
Delhi-110006
Ph: 23861747
Published by Manish Jain for BPB Publications, 20 Ansari Road, Darya Ganj, New Delhi-110002 and Printed by him at Repro India Ltd, Mumbai
About the Authors
Dr. Anita Gehlot is associated with Lovely Professional University as an Associate Professor with more than ten years of experience in academics. She has twenty-Five patents in her account. She has published more than fifty research papers in referred journals and conference. She has been awarded with “ certificate of appreciation ” from University of Petroleum and Energy Studies for exemplary work. She has published fifteen books in the area of Embedded Systems and Internet of Things with reputed publishers like CRC/Taylor & Francis, Narosa, GBS, IRP, NIPA, River Publishers, Bentham Science and RI publication. She is an editor to a special issue published by AISC book series, Springer with title “ Intelligent Communication, Control and Devices-2018 ”.
Dr. Rajesh Singh is currently associated with Lovely Professional University as a Professor with more than fifteen years of experience in academics. He has been awarded as gold medalist in M. Tech and honors in his B.E. His area of expertise includes embedded systems, robotics, wireless sensor networks, and Internet of Things. He has organized and conducted several workshops, summer internships, and expert lectures for students as well as faculty. He has been honored as keynote speakers and session chair to international/national conferences, faculty development programs and workshops. He has twenty-seven patents in his account. He has published around hundred research papers in referred journals/conferences.
P. Raja is currently associated with Lovely Professional University as an Assistant Professor with more than eight years of experience in academics. His area of expertise includes MP LAB IDE, IAR, KEIL, Xilinx ISE, Proteus, MODELSIM, QUARTUS, Multisim, Orcad, and CODE VISION AVR, Assembly Language. He has organized and conducted several workshops, summer internships, and expert lectures for students as well as faculty. He has published around fifteen research papers in referred journals/conferences.
Dushyant Kumar Singh is an Assistant Professor and Head of Embedded Systems Domain in Lovely Professional University. He has completed his master from Punjab Engineering College, University of Technology, Chandigarh. He has Industrial experience of 2 years and more than 9 years of Teaching experience. He is engaged in Embedded Systems design and IoT systems design since last more than 5 years. His project “ Wireless Router ” is recognized and certified by BSF, Jalandhar and one another project “ PICASSO 4.0 ”, IoT based project, has been the winner of the International competition Delta Cup, China in 2017.
Dr. Praveen Kumar Malik is working as a Professor in Dept. of Electronics and Communication, Lovely Professional University, Punjab India. He has written more than 15 papers in different National and International Journals. His major area of interest includes Antenna Design, wireless Communication, and Embedded systems.
Acknowledgements
We acknowledge the support from the publisher, for encouraging our ideas for writing this book and manage this project efficiently.
We are grateful to the honorable Chancellor (Lovely Professional University) Ashok Mittal, Mrs. Rashmi Mittal (Pro Chancellor, LPU), Dr. Ramesh Kanwar (Vice Chancellor, LPU), and Dr. Lovi Raj Gupta (Executive Dean, LPU) for their support and constant encouragement. In addition, we are thankful to our family, friends, relatives, colleagues, and students for their moral support and blessings.
Dr. Anita Gehlot Dr. Rajesh Singh P.Raja Dushyant Kumar Singh Dr. Praveen Kumar Malik
Preface
The objective of this book is to provide a platform for the students preparing for the interview. The book comprises of questions on “ Microprocessor & Microcontroller ”, covering microprocessor 8085, 8086, microcontroller AVR, PIC and interfacing of peripheral devices.
Errata
We take immense pride in our work at BPB Publications and follow best practices to ensure the accuracy of our content to provide with an indulging reading experience to our subscribers. Our readers are our mirrors, and we use their inputs to reflect and improve upon human errors if any, occurred during the publishing processes involved. To let us maintain the quality and help us reach out to any readers who might be having difficulties due to any unforeseen errors, please write to us at :
errata@bpbonline.com
Your support, suggestions and feedbacks are highly appreciated by the BPB Publications’ Family.
Table of Contents
1. Number Systems
Introduction to Number systems
Binary number system
Octal number system
Decimal number system
Hexadecimal (hex) number system
Complement
r’s complement
(r-1)’s Complement
Number Conversion
Binary to Decimal conversion
Binary to octal conversion
Binary to Hexadecimal conversion
Decimal to Binary conversion
Decimal to octal conversion
Decimal to Hexadecimal conversion
Octal to Binary conversion
Octal to Decimal conversion
Octal to Hexadecimal conversion
Hexadecimal to decimal conversion
Hexadecimal to octal conversion
Hexadecimal to Binary conversion
2. Digital Circuit
Logic gates
Adder, Subtractor and Multiplier
Half Adder
Full Adder
Encoder and Decoder
Encoder
Decoder
Multiplexer and Demultiplexer
Multiplexer
Demultiplexer
Latches and Flip flop
Flip flop
Register
3. Microprocessor 8085
Basic terms
Pin diagram and architecture of 8085 Microprocessor
Pin diagram of 8085
Architecture of 8085 Microprocessor
Flag register
Interrupt
Instruction
Op-code
Addressing modes
Logical instructions
Interfacing
Address Decoding Techniques
Absolute decoding/Full Decoding Linear decoding/Partial Decoding
Assembly language program
Assembler directives of 8085
Delay routine
4. Peripheral Devices and Interfacing
Programmable peripheral Interface (8255)
Programmable interval timer (8253/8254)
Programmable interrupt controller (8259)
Direct Memory Access controller (8257)
Universal Synchronous Asynchronous Receiver Transmitter (8251)
5. AVR ATmega32
Introduction
Features of ATmega32 is a 40-pin IC:
Characteristics of ATmega32 ADC:
6. Interfacing of Input/Output Device
Light Emitting Diode (LED)
Seven Segment
Liquid Crystal Display
Pin diagram of 16x2 LCD
Commands used for LCD initialization are:
Motors
7. Exercise
Descriptive Type Questions
8. Multiple Choice Questions
C HAPTER 1
Number Systems
Introduction to Number systems
Number systems are used to reparesent the information in various systems. Electronic and Digital systems may use a variety of different number systems, (Decimal, Hexadecimal, Octal, Binary).
A number N in base or radix b can be written as:
(N) b = d n-1 d n-2 — — — — d 1 d 0 . d -1 d -2 — — — — d -m
In the above: d n-1 to d 0 is integer part
follows a radix point d -1 to d -m is fractional part.
Here: d n-1 = Most significant bit (MSB) d -m = Least significant bit (LSB)
Number Systems
S. No.
Parameters
Binary
Octal
Decimal
Hexadecimal
1
Base
2
8
10
16
2
Symbol/Digits
0 & 1
0 – 7
0 – 9
0– 9 & A – F
Binary number system
The binary number system is another way to represent quantities. The binary number has only two digits 0 and 1.
Weight structure of a binary system is:
2 n-1 ……….2 3 2 2 2 1 2 0 . 2 -1 2 -2 2 -3 ……. 2 -n
Where: n: The number of bits from the binary point .: Binary point 2: Base of binary number system.
Example: (11011) 2
Octal number system
The number system whose base is 8 is known as the octal number system . The base 8 means the system uses eight digits from 0 to 7. The next digit in octal number is represented by 10, 11, 12, 13, 14, 15, 16, 17 which represents the decimal digits 8, 9, 10, 11, 12, 13, 14, 15.
Weight structure of an octal system is:
8 n-1 ……….8 3 8 2 8 1 8 0 . 8 -1 8 -2 8 -3 …….. 8 -n
Where: n: positional of octal number system . : Octal point 8: Base of octal number system.
Example: (745) 8
Decimal number system
The number system whose base is 10 is known as the decimal number system . The base 10 means the system uses ten digits from 0 to 9.
Weight structure of a decimal system is:
10 n-1 …………10 3 10 2 10 1 103 0 . 10 -1 10 -2 10 -3 …….. 10 -n
Where: n: positional of Decimal number system . : Decimal point 10: Base of Decimal number

  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents