0% found this document useful (0 votes)
15 views2 pages

Sample Program On Hyper Terminal

My project is pc based temp monitoring using 89s52 I am not geetting temperature values displayed in the pc, plz help me fast.

Uploaded by

stanvic
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

Sample Program On Hyper Terminal

My project is pc based temp monitoring using 89s52 I am not geetting temperature values displayed in the pc, plz help me fast.

Uploaded by

stanvic
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

,my project is pc based temp monitoring using 89s52 i am not geetting temperature values displayed in the pc, plz

help me fast ,i should submit project next week, i dont have time to che ck code because i dont have microcontroller kit,plz plz help me friends plzzzzzz zz soon :( org 0000h mov p1,#0ffh mov p2,#00h mov tmod,#20h mov th1,#-3 mov scon,#50h setb tr1 ;3.2------------------rd ;3.3------------------wr ;3.4------------------intr adc: setb p2.0 ;rd pin setb p2.1;wr pin setb p2.2;intr pin clr p2.1 acall delay setb p2.1 acall acall acall acall acall acall acall acall delay delay delay delay delay delay delay delay

mov sbuf,a here5: jnb ti,here5 clr ti inc dptr ;sjmp back here:jb p2.2,here setb p2.0 acall delay clr p2.0 acall dev sjmp adc delay: mov r1,#0ffh here3: mov r2,#0ffh here2: djnz r2,here2 djnz r1,here3 ret dev: mov a,p1

mov b,#100 div ab ; mov r3,a orl a,#30h mov sbuf,a here1: jnb ti,here1 clr ti mov a,b mov b,#10 div ab orl a,#30h mov sbuf,a here4: jnb ti,here4 clr ti mov MOV mov orl mov a,b R6,B a,0f0h a,#30h sbuf,a

here6: jnb ti,here6 clr ti ret org 200h tmp :db"temperature=",0 ret end,,

You might also like