Updated Emb Sys & Comm Lab Manual
Updated Emb Sys & Comm Lab Manual
NO LIST OF EXPERIMENTS
WAVEFORMS
SOFTWARE
Aim:
Theory:
Intel introduced 8051, referred as MCS-51, in 1981, 8031AH/8051AH, 8032AH/8052AH are the devices
under Intel MCS 51 Microcontroller family. The MCS 51 microcontroller products are optimized for
control applications. Byte-processing and numerical operations on small data structures are facilitated
by a variety of fast addressing modes for accessing the internal RAM. The instruction set provides a
convenient menu of 8-bit arithmetic instructions, including multiply and divide instructions. Extensive
on-chip support is provided for one-bit variables as a separate data type, allowing direct bit
manipulation and testing in control and logic systems that require Boolean processing. The 8051 is a
subset of the 8052 and the 8031 is a ROM-less 8051.
Description
Features
• Compatible with MCS-51® Products
• 4K Bytes of In-System Programmable (ISP) Flash Memory
• Endurance: 1000 Write/Erase Cycles
• 4.0V to 5.5V Operating Range
• Fully Static Operation: 0 Hz to 33 MHz
• Three-level Program Memory Lock
• 128 x 8-bit Internal RAM
• 32 Programmable I/O Lines
• Two 16-bit Timer/Counters
• Six Interrupt Sources
• Full Duplex UART Serial Channel
• Low-power Idle and Power-down Modes
• Interrupt Recovery from Power-down Mode
• Watchdog Timer
• Dual Data Pointer
• Power-off Flag
• Fast Programming Time
• Flexible ISP Programming
Result :
Thus, we can study and understood about microcontroller 8051/8031/8096 & Flash Controller.
Expt. No: 2
Date: ARITHMETIC OPERATIONS USING 8051
Aim:
Program:
2(a)
2(b)
2(c)
2(d)
Result:
Thus, we can perform 8-bit arithmetic operations using 8051 microcontroller.
Expt. No: 3
Date:
ANALOG TO DIGITAL CONVERTER INTERFACE TO 8051
Aim:
To perform ADC programming using 8051 Microcontroller.
Procedure:
8031/51 assembly language to be practiced with VBMB-003 revision 5. The programs are written for
practicing with Micro-51.The following steps are required for execution of program
ADC Programming:
Result :
Thus, we can perform ADC programming and verify the output using 8051 microcontroller.
Expt. No: 4
Date: DIGITAL TO ANALOG CONVERTER INTERFACE TO 8051
Aim:
To perform DAC programming using 8051 Microcontroller.
DAC Programming:
The basic microprocessor board, VBMB-002, incorporates two 8-bit Digital-to-Analog converters, DAC
0800.DAC 0800 is a monolithic, high speed, current output Digital to Analog converter. Its unique
features are:
Result :
Thus, we can perform DAC programming and verify the output using 8051 microcontroller.
Expt. No: 5
Date:
Aim:
To perform 8051 based DAC interface experiment for generate waveforms.
Result:
Thus,We can generate various waveforms using 8051 based DAC interface.
Expt. No: 6
Date:
SORTING OF AN ARRAY USING 8051
Aim:
To perform Ascending and Descending order sorting of an array using 8051.
Expt. No: 7
Date:
STUDY OF REAL TIME OPERATING SYSTEM
Aim:
To Study about RTOS Environment and System Programming concepts in Keil /Tornado Tool.
Theory:
Tornado
An IDE to develop real-time and embedded applications with minimal intrusion on the target system.
Tornado comprises:
Thus, we can study and understand RTOS Environment and System Programming concepts in
Keil/Tornado Tool.
PROCEDURE FOR PROGRAMS ON KEIL SOFTWARE
ORG 0000H
MOV A,#05H
MOV B,A
MOV B,#03H
ADD A,B
MOV R0,A
L:SJMP L
END
ORG 0000H
MOV A,#03H
MOV B,A
MOV B,#05H
SUBB A,B
MOV R0,A
L:SJMP L
END
ORG 0000H
MOV A,#03H
MOV B,#03H
MUL AB
MOV R1,A
l:SJMP L
END
ORG 0000H
MOV A,#03H
MOV B,#09H
DIV AB
MOV R1,A
MOV R2,B
l:SJMP L
END
Result:
Thus, we can perform arithmetic operations using keil software.
Expt. No: 9
Date:
PROGRAM:
MOV R0,#20H
MOV R1,#30H
MOV R3,#10H
CLR A
AGAIN:MOV A,@R0
MOV @R1,A
INC R0
INC R1
DJNZ R3,AGAIN
END
RESULT:
Inputs:
i: 0x20 -- 01h, 02h, 03h, 04h
Output:
i: 0x30 -- 01h, 02h, 03h, 04h
Result:
Thus, we can perform data transfer operation using keil software.
Expt. No: 10
Date:
Aim: Write an assembly language program for arranging in ascending/descending order using keil software
RESULT:
Inputs:
x: 0x2000 -- 05h, 02h, 01h, 04h
Output:
x: 0x2000 -- 01h, 02h, 04h, 05h
10(b) PROGRAM FOR DESCENDING ORDER:
Result:
Thus, we can perform ascending and descending order sorting of an array using keil software.