VTech Alphabert s Magic Readport Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Zabawki i akcesoria VTech Alphabert s Magic Readport. Microcontroller & Interfacing - Biomedical Department Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 80
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
BM Dept., Govt. Engg. College, Gandhinagar Page 1
Microcontroller
& I
nt
e
rf
ac
in
g
Laboratory
Manual
Enrollment No.:
Name of the Student:
Biomedical Engineering Depa
rtment
Government Engineering College,
Sect-28, Gandhinagar
Przeglądanie stron 0
1 2 3 4 5 6 ... 79 80

Podsumowanie treści

Strona 1 - Laboratory

BM Dept., Govt. Engg. College, Gandhinagar Page 1 Microcontroller & Interfacing Laboratory Manual Enrollment No.: Name of the

Strona 2 - CERTIFICATE

Lab Manual of Microcontroller & Interfacing Page 10 EXPERIMENT NO. 2 AIM: Write a C language programs to… • Read data from port P2 and P3. Add

Strona 3

BM Dept., Govt. Engg. College, Gandhinagar Page 11 Program 3: Write program to read switch connected at port pin P1.0, toggle it and send it to port

Strona 4

Lab Manual of Microcontroller & Interfacing Page 12 C. Write C language program to read port P1, Compare content of port P1with data 80h. If da

Strona 5 - EXPERIMENT NO. 1

BM Dept., Govt. Engg. College, Gandhinagar Page 13 EXPERIMENT NO. 3 AIM: Write programs to …. • To add two sixteen bit numbers stored in DPTR and a

Strona 6

Lab Manual of Microcontroller & Interfacing Page 14 ADDC A,#00h ;Add zero (plus the carry, if any) MOV R1,A ;Move the resulting answer

Strona 7

BM Dept., Govt. Engg. College, Gandhinagar Page 15 :: WORKSHEET :: Exercise: A. Write assembly language program to find square of given number stor

Strona 8

Lab Manual of Microcontroller & Interfacing Page 16 B. Write assembly language program to add 4 digit BCD numbers. First 4 digit number stored

Strona 9

BM Dept., Govt. Engg. College, Gandhinagar Page 17 C. Divide content of register R1 by 8 using logical shift instruction. Memory Location HEX code

Strona 10 - EXPERIMENT NO. 2

Lab Manual of Microcontroller & Interfacing Page 18 EXPERIMENT NO. 4 AIM: Write a program to …. • Add block of data stored at location 40h to 4

Strona 11

BM Dept., Govt. Engg. College, Gandhinagar Page 19 JC next ;If A<next data then check next data MOV 60h,R0 ;Save smallest location at R

Strona 12

Lab Manual of Microcontroller & Interfacing Page 2 GGGGOOOOVVVVEEEERRRRNNNNMMMMEEEENNNNTTTT EEEENNNNGGGGIIIINNNNEEEEEEEERRRRIIIINNNNGGGG

Strona 13 - EXPERIMENT NO. 3

Lab Manual of Microcontroller & Interfacing Page 20

Strona 14

BM Dept., Govt. Engg. College, Gandhinagar Page 21

Strona 15 - :: WORKSHEET ::

Lab Manual of Microcontroller & Interfacing Page 22

Strona 16

BM Dept., Govt. Engg. College, Gandhinagar Page 23 EXPERIMENT NO. 5 AIM: Write a program to …. • Keep monitoring port pin P1.2 until it becomes hig

Strona 17

Lab Manual of Microcontroller & Interfacing Page 24 :: WORKSHEET :: A. Write assembly language and C program to make ALL LEDs connected at port

Strona 18 - EXPERIMENT NO. 4

BM Dept., Govt. Engg. College, Gandhinagar Page 25 D. A switch is connected to P3.2. Write a program to perform following: a. If Switch is OFF, se

Strona 19

Lab Manual of Microcontroller & Interfacing Page 26 EXPERIMENT NO. 6 AIM: Write a program to generate square wave of 50% duty cycle having frequ

Strona 20

BM Dept., Govt. Engg. College, Gandhinagar Page 27

Strona 21

Lab Manual of Microcontroller & Interfacing Page 28

Strona 22 - :: Rough Work ::

BM Dept., Govt. Engg. College, Gandhinagar Page 29 EXPERIMENT NO. 7 Aim: Generate external interrupt INT0 and INT1 by connecting push button switch.

Strona 23 - EXPERIMENT NO. 5

BM Dept., Govt. Engg. College, Gandhinagar Page 3 INDEX Sr. No. Name of Experiment Date Sign 1 Write a assembly language program to …. • Ad

Strona 24

Lab Manual of Microcontroller & Interfacing Page 30 ajmp flash sequence: mov a,#0FEh ; Bit pattern for First LED ON, others OFF next: mov P

Strona 25

BM Dept., Govt. Engg. College, Gandhinagar Page 31 EXPERIMENT NO. 8 Aim: Interface seven segment display with Port P1. Write program to display numb

Strona 26 - EXPERIMENT NO. 6

Lab Manual of Microcontroller & Interfacing Page 32 INC DPTR AJMP next ; Next digit DELAY: MOV R7,#22h L3: MOV R6,#0FFh L2: MOV R5,#

Strona 27

BM Dept., Govt. Engg. College, Gandhinagar Page 33 ACALL DELAY MOVC A,@A+DPTR MOV P1,A ;Display count value AJMP again ;Continue DIP switch reading

Strona 28

Lab Manual of Microcontroller & Interfacing Page 34 EXPERIMENT NO. 9 AIM: Interface LCD with the microcontroller. Display your name on the LCD.

Strona 29 - EXPERIMENT NO. 7

BM Dept., Govt. Engg. College, Gandhinagar Page 35 between two data which gives enough time to LCD for its operation and does not require to check t

Strona 30

Lab Manual of Microcontroller & Interfacing Page 36 acall delay clr a movc a,@a+dptr jz exit acall disp_data inc dptr sjmp disp_msg exit: ret de

Strona 31 - EXPERIMENT NO. 8

BM Dept., Govt. Engg. College, Gandhinagar Page 37

Strona 32

Lab Manual of Microcontroller & Interfacing Page 38

Strona 33

BM Dept., Govt. Engg. College, Gandhinagar Page 39 EXPERIMENT NO. 10 AIM: Write a program to transmit letter “E” continuously using serial port. Mod

Strona 34 - EXPERIMENT NO. 9

Lab Manual of Microcontroller & Interfacing Page 4 Sr. No. Name of Experiment Date Sign 8. Interface seven segment display with Port P2.

Strona 35

Lab Manual of Microcontroller & Interfacing Page 40 START: MOV TMOD,#20h ;Configure Timer 1 in mode 2 auto reload mode. MOV TH1,#0fdh

Strona 36

BM Dept., Govt. Engg. College, Gandhinagar Page 41 MOV P1,#0ffh ;Make P1 output port MOV P2,#00h ;Make P2 output port MOV TMOD,#20h ;Tim

Strona 37

Lab Manual of Microcontroller & Interfacing Page 42

Strona 38

BM Dept., Govt. Engg. College, Gandhinagar Page 43

Strona 39 - EXPERIMENT NO. 10

Lab Manual of Microcontroller & Interfacing Page 44 EXPERIMENT NO. 11 AIM: Write a program to receive bytes of data serially and displ

Strona 40

BM Dept., Govt. Engg. College, Gandhinagar Page 45 MOV TH1,#0FDh ;Count value for baud rate 9600 MOV SCON,#50h ;8 bit UART mode, REN enable MOV

Strona 41 - :: WORKSHEET::

Lab Manual of Microcontroller & Interfacing Page 46 /* 0x06 = 19,200 BPS 0x0C = 9,600 BPS 0x18 = 4,800 BPS */ /* 0x30 = 2,400 BPS */ outportb(PO

Strona 42

BM Dept., Govt. Engg. College, Gandhinagar Page 47 MOV TH1,#0FDh ;Count value for baud rate 9600 MOV SCON,#50h ;8 bit UART mode, REN enable

Strona 43

Lab Manual of Microcontroller & Interfacing Page 48

Strona 44 - EXPERIMENT NO. 11

BM Dept., Govt. Engg. College, Gandhinagar Page 49 EXPERIMENT NO. 12 AIM: Write a program to measure frequency of external pulses given at the timer

Strona 45

BM Dept., Govt. Engg. College, Gandhinagar Page 5 EXPERIMENT NO. 1 AIM: Write a program to …. • Add two 8 bit numbers stored in register R6 and R7.

Strona 46

Lab Manual of Microcontroller & Interfacing Page 50 ORG 1BH RETI ORG 23H RETI START: MOV SP,#60H MOV P1,#00H ;Set P1 as an output port MOV P

Strona 47

BM Dept., Govt. Engg. College, Gandhinagar Page 51 MOV A,37H ;Convert the number stored at 37h into ASCII ACALL HEXASCI ACALL DISP_DATA ; Di

Strona 48

Lab Manual of Microcontroller & Interfacing Page 52 MOV A,@R0 MOV B,#6 MUL AB DEC R0 DEC R0 ADD A,@R0 MOV @R0,A INC R0 INC R0 MOV A,@R0 MOV B,#5

Strona 49 - EXPERIMENT NO. 12

BM Dept., Govt. Engg. College, Gandhinagar Page 53 ACALL DELAY MOV P1,A ;Get data for display SETB P3.0 ;Select data register CLR P3.2

Strona 50

Lab Manual of Microcontroller & Interfacing Page 54

Strona 51

BM Dept., Govt. Engg. College, Gandhinagar Page 55 EXPERIMENT NO. 13 AIM: Interface matrix keyboard with 8051. Write program to display key pressed

Strona 52

Lab Manual of Microcontroller & Interfacing Page 56 ANL A,#0FH ;Maks Upper Bits Because They Are Not Used CJNE A,#0FH,REL ;Check Till All K

Strona 53

BM Dept., Govt. Engg. College, Gandhinagar Page 57 INC DPTR SJMP CHECK_C GET_CODE: CLR A MOVC A,@A+dptr MOV P0,A LJMP REL DELAY: MOV R7,#0FFh DLOO

Strona 54

Lab Manual of Microcontroller & Interfacing Page 58

Strona 55 - EXPERIMENT NO. 13

BM Dept., Govt. Engg. College, Gandhinagar Page 59

Strona 56

Lab Manual of Microcontroller & Interfacing Page 6 :: WORKSHEET :: A. Write assembly language program to add two 8 bit data stored at memory lo

Strona 57

Lab Manual of Microcontroller & Interfacing Page 60 EXPERIMENT NO. 14 AIM: Interface stepper motor with port P0 of the microcontroller.

Strona 58

BM Dept., Govt. Engg. College, Gandhinagar Page 61 Sequence of pulses required to send on port P0 to rotate motor in clockwise and anticlockwise di

Strona 59

Lab Manual of Microcontroller & Interfacing Page 62 Sequence of pulses required to send on port P0 to rotate motor in clockwise and anticlockwis

Strona 60 - EXPERIMENT NO. 14

BM Dept., Govt. Engg. College, Gandhinagar Page 63 Memory Location HEX code Label Opcode Operands Comments

Strona 61

Lab Manual of Microcontroller & Interfacing Page 64 B. Consider that switch SW1 and SW2 shown in the circuit are two limit switche

Strona 62

BM Dept., Govt. Engg. College, Gandhinagar Page 65 EXPERIMENT NO. 15 AIM: Interface DC motor with AT89C51 microcontroller. Write a program to rotate

Strona 63

Lab Manual of Microcontroller & Interfacing Page 66 pulses decreases when we press the switch SW2. This will control speed of the motor. Transis

Strona 64

BM Dept., Govt. Engg. College, Gandhinagar Page 67 When port pin P1.1 is low, LED of opto-isolator will glow which makes transistor of opto-is

Strona 65 - EXPERIMENT NO. 15

Lab Manual of Microcontroller & Interfacing Page 68 H-bridge is available in single IC form such as L293. Four transistors are inbuilt in this

Strona 66

BM Dept., Govt. Engg. College, Gandhinagar Page 69 Program: Write a program to rotate DC motor connected in above circuit such that when switch SW1

Strona 67

BM Dept., Govt. Engg. College, Gandhinagar Page 7 D. Writ

Strona 68

Lab Manual of Microcontroller & Interfacing Page 70

Strona 69

BM Dept., Govt. Engg. College, Gandhinagar Page 71

Strona 70

Lab Manual of Microcontroller & Interfacing Page 72 EXPERIMENT NO. 16 AIM: Interface ADC0808 with AT89C51 microcontroller. Write a progr

Strona 71

BM Dept., Govt. Engg. College, Gandhinagar Page 73 SETB EOC ; MAKE EOC INPUT CLR ALE CLR OE CLR START SETB START ACALL SDELAY CLR START HERE:

Strona 72 - EXPERIMENT NO. 16

Lab Manual of Microcontroller & Interfacing Page 74 :: WORKSHEET:: A. Write a program to read analog value at the interval of 1 second and stor

Strona 73

BM Dept., Govt. Engg. College, Gandhinagar Page 75 B. Draw interfacing diagram to interface ADC0804 with AT89C51 microcontroller. Write program to

Strona 74

Lab Manual of Microcontroller & Interfacing Page 76

Strona 75

BM Dept., Govt. Engg. College, Gandhinagar Page 77 EXPERIMENT NO. 17 AIM: Interface 8 bit DAC chip with 89C51 microcontroller. Write a program to ge

Strona 76 - :: Roght Work ::

Lab Manual of Microcontroller & Interfacing Page 78 org 0400h DB 1,8,16,24,32,40,47,54,62,69,75,82,88,93,99,104,108,112,116,119,122,124,124 DB 1

Strona 77 - EXPERIMENT NO. 17

BM Dept., Govt. Engg. College, Gandhinagar Page 79 B. Modify DAC program to generate Full wave rectifier w

Strona 78

Lab Manual of Microcontroller & Interfacing Page 8 F. Write and execute program to subtract content of register R6 from register R7 and store

Strona 79

Lab Manual of Microcontroller & Interfacing Page 80 Component list for microcontroller mini-project and practical: Part 1: List of components co

Strona 80

BM Dept., Govt. Engg. College, Gandhinagar Page 9 :: Rough Work ::

Komentarze do niniejszej Instrukcji

Brak uwag