Help ....Temperature Sensor

Thread Starter

Zevoic

Joined Dec 31, 2011
3
hi all...can any one help me....about this ...one my programming assembly cannot connected with my electronic circuit ...i dont now how can do any thing else...about that..
this my circuit link download :
http://www.mediafire.com/?q82xypbqdeza236
i make proteus 7.8 SP1 ...
i m sorry about my english ...!!!

regards

Zevoic
 

bertus

Joined Apr 5, 2008
20,535
Hello,

Can you post the schematic in a graphic format like .png.
Not many have the proteus software over here (like me).

Bertus
 

Thread Starter

Zevoic

Joined Dec 31, 2011
3
please correct my program .........i using 8051IDE editor....compile make .HEX file..!!!

Program:

Rich (BB code):
rs equ p3.7 
rw equ p3.6 
LCD
en equ p3.5
Fan Bit P2.1
Heater Bit P2.0
Interrupt Bit P2.2
Clr Fan 
Clr Heater 
pesan: 
call delay2
call clear_screen 
call data_show2 
call delay 
mov b,#'T' 
call send_data 
call delay 
mov b,#'E' 
call _data 
call delay 
mov b,#'M' 
call send_data
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#' ' 
call send_data
call delay 
mov b,#'L' 
call send_data 
call delay 
mov b,#'A' 
call send_data 
call delay 
mov b,#'S' 
call send_data 
call delay 
mov b,#'S' 
call send_data 
call delay

main: 
acall tadc 
mov a,p0 
cjne a,#50,cek49 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'5' 
call send_data 
call delay 
mov b,#'0' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay
mov b,#')' 
call send_data 
call delay 
Setb fan 
Clr Heater 
ljmp main 

cek49: 
mov a,62h 
cjne a,#49,cek48 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'4' 
call send_data 
call delay 
mov b,#'9' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
Setb fan
clr Heater 
ljmp main 

cek48: 
mov a,62h 
cjne a,#48,cek47 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'4' 
call send_data
call delay 
mov b,#'8' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
Setb fan
clr Heater
ljmp main

cek47: 
mov a,62h 
cjne a,#47,cek46 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'4' 
call send_data 
call delay 
mov b,#'7' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
Setb fan 
clr Heater 
ljmp main

cek46: 
mov a,62h 
cjne a,#46,cek45 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'4' 
call send_data 
call delay 
mov b,#'6' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
Setb fan 
clr Heater 
ljmp main

cek45: 
mov a,62h 
cjne a,#45,cek44 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'4' 
call send_data 
call delay 
mov b,#'5' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
Setb fan 
clr Heater 
ljmp main 

cek44: 
mov a,62h 
cjne a,#44,cek43 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'4' 
call send_data 
call delay 
mov b,#'4' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
Setb fan 
clr Heater 
ljmp main 

cek43: 
mov a,62h 
cjne a,#43,cek42 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data
call delay 
mov b,#'4' 
call send_data 
call delay 
mov b,#'3' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
Setb fan 
clr Heater 
ljmp main 

cek42: 
mov a,62h 
cjne a,#42,cek41 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'4' 
call send_data 
call delay 
mov b,#'2' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
Setb fan
clr Heater 
ljmp main 

cek41: 
mov a,62h 
cjne a,#41,cek40 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'4' 
call send_data 
call delay 
mov b,#'1' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
Setb fan 
clr Heater 
ljmp main 

cek40: 
mov a,62h 
cjne a,#40,cek39 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'4' 
call send_data 
call delay 
mov b,#'0' 
call send_data 
call delay
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
Setb fan 
clr Heater 
ljmp main 

cek39: 
mov a,62h 
cjne a,#39,cek38 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'3' 
call send_data 
call delay 
mov b,#'9' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
clr fan 
clr Heater 
ljmp main 

cek38: 
mov a,62h 
cjne a,#38,cek37 
call data_show3
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'3' 
call send_data 
call delay 
mov b,#'8' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
clr fan 
clr Heater 
ljmp main 

cek37: 
mov a,62h 
cjne a,#37,cek36 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'3' 
call send_data 
call delay 
mov b,#'7' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')'
call send_data 
call delay 
clr fan 
clr Heater 
ljmp main 

cek36: 
mov a,62h 
cjne a,#36,cek35 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'3' 
call send_data 
call delay 
mov b,#'6' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
clr fan 
setb Heater 
ljmp main 

cek35: 
mov a,62h 
cjne a,#35,cek34 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'3' 
call send_data 
call delay
mov b,#'5' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
clr fan 
setb Heater 
ljmp main 

cek34: 
mov a,62h 
cjne a,#34,cek33 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'3' 
call send_data 
call delay 
mov b,#'4' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
clr fan 
setb Heater 
ljmp main 

cek33:
mov a,62h 
cjne a,#33,cek32 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'3' 
call send_data 
call delay 
mov b,#'3' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay
clr fan 
setb Heater 
ljmp main 

cek32: 
mov a,62h 
cjne a,#32,cek31 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'3' 
call send_data 
call delay 
mov b,#'2' 
call send_data 
call delay 
mov b,#'"' 
call send_data
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
clr fan 
setb Heater 
ljmp main 

cek31: 
mov a,62h 
cjne a,#31,cek30 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'3' 
call send_data 
call delay 
mov b,#'1' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
clr fan 
setb Heater 
ljmp main 

cek30: 
mov a,62h 
cjne a,#30,cek29 
call data_show3 
call data_scan 
mov b,#'('
call send_data 
call delay 
mov b,#'3' 
call send_data 
call delay 
mov b,#'0' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay 
clr fan 
setb Heater 
ljmp main 

cek29: 
mov a,62h 
cjne a,#29,balik_main 
call data_show3 
call data_scan 
mov b,#'(' 
call send_data 
call delay 
mov b,#'2' 
call send_data 
call delay
 mov b,#'9' 
call send_data 
call delay 
mov b,#'"' 
call send_data 
call delay 
mov b,#'C' 
call send_data 
call delay 
mov b,#')' 
call send_data 
call delay
clr fan 
setb Heater 
ljmp main 
balik_main: 
ljmp main

data_show2: 
mov b,#0ch     ; writings appear or not
call data_scan 
mov b,#06h     ; slide right / left / fixed
call data_scan 
mov b,#80h     ; initial position of the character
call data_scan 
ret
data_show3: 
mov b,#0ch     ; writings appear or not
call data_scan 
mov b,#06h     ; slide right / left / fixed
call data_scan 
mov b,#0c0h    ; initial position of the character
call data_scan 
ret

clear_screen: 
mov b,#01h 
call data_scan 
ret

data_scan: 
mov p1,b 
clr rs 
clr rw 
setb en 
call delay 
clr en 
call delay 
ret 
send_data: 
mov p1,b 
setb rs 
clr rw 
setb en 
call delay 
clr en
call delay 
ret 
delay: 
mov r7,#100 
dly: 
mov r6,#255 
djnz r6,$ 
djnz r7,dly 
ret 
dly2: 
mov r7,#100 
delay2:
mov r6,#70 
dl2: 
mov r5,#60 
djnz r5,$ 
djnz r6,dl2 
djnz r7,dly2 
ret 
tadc: 
mov r7,#80h 
adc: mov r6,#50h 
djnz r6,$ 
djnz r7,adc 
ret 
end
 
Last edited by a moderator:

bertus

Joined Apr 5, 2008
20,535
Hello,

I dislike the site you use, it gives some unwanted popups.

You can have a look at the FAQ:

Attachments and Images


How do I attach a file to a post?

To attach a file to your post, you need to be using the main 'New Post' or 'New Thread' page and not 'Quick Reply'. To use the main 'New Post' page, click the 'Post Reply' button in the relevant thread.

On this page, below the message box, you will find a button labelled 'Manage Attachments'. Clicking this button will open a new window for uploading attachments. You can upload an attachment either from your computer or from another URL by using the appropriate box on this page. Alternatively you can click the Attachment Icon to open this page.

To upload a file from your computer, click the 'Browse' button and locate the file. To upload a file from another URL, enter the full URL for the file in the second box on this page. Once you have completed one of the boxes, click 'Upload'.

Once the upload is completed the file name will appear below the input boxes in this window. You can then close the window to return to the new post screen.

What files types can I use? How large can attachments be?

In the attachment window you will find a list of the allowed file types and their maximum sizes. Files that are larger than these sizes will be rejected. There may also be an overall quota limit to the number of attachments you can post to the board.

How do I add an image to a post?

If you have uploaded an image as an attachment, you can click the arrow next to the 'Attachment Icon' and select it from the list. This will be inserted into your post and can be located where you want it displayed.

To include an image that is not uploaded as an attachment and is located on another website, you can do so by copying the full URL to the image, (not the page on which the image is located), and either pressing the 'Insert Image' icon or by typing
after it, ensuring that you do not have any spaces before or after the URL of the image. You can insert pictures from your albums (?) in this way too.
Bertus
 
Top