search
person
What is microcontroller programming?

Related questions

Description : What is a AVR microcontroller?

Description : What is the difference between microcontroller and ARM processor?

Description : What is a microcontroller and what does it do?

Description : What is the difference between a microcontroller and a microprocessor?

Answer : Compare microprocessor and microcontroller Microprocessor Microcontroller 1)Inbuilt RAM and ROM 1)Do not have inbuilt RAM or ROM 2)Inbuilt timer 2)Doesn't have inbuilt timer ... same memory 6)Many Multifunction pins on the IC  6)less multifunction Pins on IC.

Description : Enlist the advantages of Microcontroller

Answer : Advantages of microcontrollers:  It is an integrated chip with all valuable components including RAM, ROM, I/O Ports.  Cost reducing programs with simple circuitry.  Inbuilt timers / ... Microcontrollers are cheap and very small in size.  Programming of Microcontrollers is simple to learn

Description : Draw block diagram of microcontroller based pick and place Robot. List the four movements required by this Robot.

Answer : Diagram : Explanation: The robot has three axes about which motion can occur. Rotation in a clockwise or anti-clock wise direction of the unit on its base Arm extension or ... . The gripper can be opened or closed by the piston in a linear cylinder extending or retracting as.

Description : Is Arduino microcontroller or microprocessor?

Description : Is the Arduino a microcontroller?

Description : What is Part Programming? Enlist Basic Requirement for part programming with suitable example.

Answer : Definition: The part program is a sequence of instructions, which describe the work, which has to be done on a part, in the form required by a computer under the control of a numerical ... Defining the work part geometry. (b) Defining the repetition work. (c) Specifying the operation sequence

Description : What programming languages are supported by the Arduino?

Description : From india

Answer : Arduino Uno R3 with USB Cable    Rs. 500.00 BUY NOW FROM AMAZON

Description : Define memory segmentation. How memory segmentation is achieved in 8086? State advantages of memory segmentation.

Answer : Memory Segmentation: The memory in an 8086 microprocessor is organized as a segmented memory. The physical memory is divided into 4 segments namely, - Data segment, Code Segment, Stack Segment and Extra ... 16 bit size. 6) Programs and data can be stored separately from each other in segmentation.

Description : Enlist the features of 8085 microprocessor.

Answer : Features of 8085 microprocessor: 1. 16 address line so 216=64 Kbytes of memory can be addressed. 2. Operating clock frequency is 3MHz and minimum clock  frequency is 500 KHz. 3. On chip bus ... cycle TTL clock 10. Provide 2 serial I/O lines, so peripheral can be interfaced with  8085 μp

Description : Describe the functions of stack pointer and program counter of 8085. 

Answer : Stack pointer: 1. It is a 16 bit register which is used to store the address of topmost filled memory location of stack memory. 2. SP always points current top of stack. 3. If data is ... of memory and in 8085 the address of memory is 16 bit. Hence program counter is 16 bit register.

Description : Describe re-entrant procedure with the help of schematic diagram.

Answer : Re-entrant Procedures: A procedure is said to be re-entrant, if it can be interrupted, used and re-entered without losing or writing over anything. To be a re-entrant, Procedure ... program execution flow reenters in the procedure1. These types of procedures are called reentrant procedures.

Description : Explain the following assembler directives. 1) DB 2) DUP 3) EQU 4) ENDs.

Answer : 1) DB (Define Byte or Data Byte): This is used to define a byte type variable. The range of values : 0 - 255 for unsigned numbers -128 to 127 for signed numbers This can be used ... the end of the segment The directives SEGMENT, ENDS are always enclosed in data, code, stack and extra segments.

Description : Write an algorithm and draw the flowchart to find sum of series of numbers. 

Answer : Algorithim to find sum of series of numbers: 1. Initialize data segment 2. Initialize byte counter and memory pointer to read number from array. 3. Initialize sum variable to 0 4. sum=sum+number from array ... Decrement byte counter 9. If byte counter=0 then step 10 else step 4 10. Stop

Description : Write an algorithm to subtract two 16 bit numbers (With borrow) in 8086 microprocessor.

Answer : Algorithm for 16 bit numbers subtraction with borrow: 1. Load 0000H into CX register (for borrow) 2. Load the first number into AX(accumulator) 3. Load the second number into BX register 4. Subtract ... . Move data from AX(accumulator) to memory 8. Move data from CX register to memory 9. Stop

Description : Enlist any four addressing modes of 8086 microprocessor.

Answer : Addressing modes of 8086 : 1. Immediate 2. Direct 3. Register 4. Register indirect 5. Indexed 6. Register relative 7. Based indexed 8. Relative based indexed 9. Implied

Description : State the use of OF and DF flags of 8086 microprocessor.

Answer : Overflow Flag: This flag is set if an overflow occurs, i.e. if the result of a signed operation is large enough to be accommodated in destination register. Direction Flag: It selects either increment or decrement mode for DI &/or SI register during string instructions.

Description : Define pipelining.

Answer : Pipelining: Process of fetching the next instruction while the current instruction is executing is called pipelining which will reduce the execution time.

Description : State the functions of following pins of 8085 1) SOD 2) HLDA

Answer : 1) SOD: Serial Output data SOD pin is used to transmit data serially from accumulator to the external devices connected to the pin.  2) HLDA: Microprocessor generates HLDA signal to acknowledge requesting device after HOLD signal.

Description : State the functions of temporary registers of 8085 microprocessor.

Answer : Temp Register (8 bits) is also called as operand register as it is used by μp for storing one of the operands during an operation and also for storing the result of any execution temproary.

Description : Application for logical instruction in microcontroller programming

Description : What is the microcontroller used in Arduino UNO? A. ATmega328p B. ATmega2560 C. ATmega32114 D. AT91SAM3x8E

Answer : A. ATmega328p 

Description : What is Artificial intelligence? A. Putting your intelligence into Computer B. Programming with your own intelligence C. Making a Machine intelligent D. Putting more memory into Computer

Answer : C. Making a Machine intelligent 

Description : What is the part programming?

Answer : Part Programming: [1] A part program is a set of instructions given to a computerized numerical control (CNC) machine to control its operation. [2] CNC part program contains a combination of machine tool ... speed  (d) Feed  (e) Auxiliary functions such as coolant on and off, spindle direction

Description : What was the world’s first high level programming language 1957

Answer : IBM FORTRAN

Description : What is the name of programming/scripting language of Flash  (1) Action Script (2) Animation script (3) Java script (4) None of these

Answer : Action Script

Description : The clock frequency of an 8085 microprocessor based system is 3 MHz. What should be the minimum pulse width of the INTR signal so that it is recognized successfully? A) 5.6 µs B) 5.7 µs C) 5.8 µs D) 5.9 µs

Answer : The clock frequency of an 8085 microprocessor based system is 3 MHz. What should be the minimum pulse width of the INTR signal so that it is recognized successfully? A) 5.6 µs B) 5.7 µs C) 5.8 µs D) 5.9 µs

Description : What is the Power Supply specification for 8085AH microprocessor? A) Single +5V supply with 10% voltage margins B) Dual +5V supply with 10% voltage margins C) Single +10V supply with 5% voltage margins D) Dual +5V supply with 5% voltage margins 

Answer : What is the Power Supply specification for 8085AH microprocessor? A) Single +5V supply with 10% voltage margins B) Dual +5V supply with 10% voltage margins C) Single +10V supply with 5% voltage margins D) Dual +5V supply with 5% voltage margins 

Description : What is the size of memory which can be accessed by direct accessing in 8085 microprocessor? A) 64 kB B) 4 kB C) 128 kB D) 128 MB 

Answer : What is the size of memory which can be accessed by direct accessing in 8085 microprocessor? A) 64 kB B) 4 kB C) 128 kB D) 128 MB 

Description : What addressing mode is used in the instruction RET?  (a) Direct (b) Immediate (c) Implicit (d) Register-indirect

Answer : What addressing mode is used in the instruction RET?  (a) Direct (b) Immediate (c) Implicit (d) Register-indirect

Description : What are the different types of microcontrollers?

Description : AVR microcontroller executes most of the instruction in _________________. A. Single execution cycle. B. Double execution cycle. C. Both A& B D. None of the above.

Answer : A. Single execution cycle. 

Description : Processors used in many microcontroller products need to be______ A. high power B. low power C. low interrupt response D. low code density

Answer : B. low power 

Description : Explain the various selection factors of microcontroller suitable for application.

Answer : The selection of microcontroller depends upon the type of application. The following factors must be considered while selecting the microcontroller.  1. Word length: The word length of ... and for lesser production EPROM version or CPU version with external program memory is suitable

Description : State and explain the need of the following development tools microcontroller board: (i) Editor (ii) Assembler (iii) Compiler (iv) Linker

Answer : 1) Editor: An editor is a program which helps you to construct your assembly language program in right format so that the assembler will translate it correctly to machine language. So, you can type your ... . Some examples of linker are ASEM-51 BL51, Keil u Vision Debugger, LX 51 Enhanced Linker etc

Description : Draw the format of PSW register of 8051 microcontroller and explain the function of each bit.

Answer : 1. CY: Carry flag. This flag is set whenever there is a carry out from the D7 bit after an 8 bit addition or subtraction. It can also be set to 1 or 0 directly by instructions such as SETB C and ... the A register contains an odd number of 1s, then P=1. P=0 if A has an even number of 1s.

Description : Define the term BUS related to microprocessor/controller and list different buses used in microcontroller.

Answer : BUS: A Bus is a set of physical connections used for communication between CPU and peripherals. Different buses used in microcontroller are: 1. Address Bus 2. Data Bus 3. Control Bus

Description : State any four important features of 8051 microcontroller.

Answer : Features of 8051 microcontroller:  1) 8- bit data bus and 8- bit ALU. 2) 16- bit address bus - can access maximum 64KB of RAM and ROM. 3) On- chip RAM -128 bytes (Data ... 0 and Timer 1, two external hardware interrupts- INT0 and INT1, Serial communication interrupt for both receive and transmit.

Description : Draw and explain Internal port structure of Port 0 and Port 1 of 8051 microcontroller.

Answer : Port-0 can be configured as a normal bidirectional I/O port or it can be used for address/data interfacing for accessing external memory. When control is '1', the port is used for address/data ... is not able to sink the current the pin voltage may rise, leading to a possible wrong reading.

Description : Differentiate between (i) Harvard and Von-neuman architecture (ii) Microprocessor and Microcontroller

Answer : i) Harvard Architecture and Von-neuman architecture ii) Microprocessor and Microcontroller

Description : Explain with sketch the interfacing of 4 ×4 matrix keypad with 8051 microcontroller.

Answer : Interfacing keypad Fig. shows how to interface the 4 X 4 matrix keypad to two ports in microcontroller. The rows are connected to an output port and the columns are connected to an input port. To ... key has been pressed, the next task is to find out which column the pressed key belongs to.

Description : Microcontroller used in laser sensor applications

Description : Application of microcontroller in oil temperature

Description : Applications of microcontroller in pumps

Description : Application of PCB etching machine in microcontroller

Description : Describe 8051 microcontroller as boolean processor.

Answer : * 8051 processor is a CPU that can perform some operation on a data and gives the output. * The 8051 processor contains a complete Boolean processor for single-bit operations. * The internal RAM contains 128 ... CLR C means clear the carry bit SETB 20h means set the memory bit with bit address 20h.

Description : List specifications of 8051 microcontroller.

Answer : 1) 8- bit data bus and 8- bit ALU. 2) 16- bit address bus - can access maximum 64KB of RAM and ROM. 3) On- chip RAM -128 bytes (Data Memory) 4) On- chip ROM - 4 KB ( ... 0592 MHz 9) Has power down and idle mode in microcontroller when no operation is performed. 10) Six interrupts are available.

← Prev Question Next Question →
editChoose topic
...