You are on page 1of 8

1/17/14

Microprocessor and microcontroller: Aseembly language programs: Temperature Control system using 8086
Share

More

Next Blog

Create Blog

Sign In

Microprocessor and microcontroller: Aseembly language programs


Interfacing microprocessors, 8086, MASM 6.11, microcontroller 8085 and assembly language programming, projects, ebooks and tutorials on microprocessors and microcontrollers

Search Web jntuimplab.blogspot.com

Sign up to receive updates via email Enter your email address:

Temperature Controller
www.alibaba.com Find Quality Products from Verified Manufacturers.Get a Live Quote Now!

Subscribe After subscribing please check your inbox and click on the confirmation link to get updates

J A N 28, 200 8

Temperature Control system using 8086


AIM:To develop Temperature Control system using 8086 APPARATUS:Microprocessor trainer kit, Temperature controller kit, power supply, data cable etc THEORY:Temperature control system involved interfacing successive approximation ADC and typical method of measuring and controlling the temperature using microprocessor. ADC is among the most widely used devices for data acquisition. A digital computer uses binary values, but in physical world everything is analog, temperature, pressure, humidity, and velocity are few examples of physical quantities that we seal with every day.
jntuimplab.blogspot.in/2008/01/temperature-control-system-using-8086.html 1/8

1/17/14

Microprocessor and microcontroller: Aseembly language programs: Temperature Control system using 8086

Temperature measurement is of great importance in industry as most of the processes are temperature dependent. A number of devices and schemes have been used over the years, for the measurement of temperature. Typical sensors include devices like thermocouples, thermostats, RTDs and semiconductor sensor. This system uses semiconductor sensor AD590 to monitor the temperature of water bath. The AD590 is basically a PTAT (proportional to absolute temperature) current regulator. It generates a current O/P of 1A/K above absolute zero temperature that is -2730C. Thus at 00C the current O/P will be 273A and 250 if will be 298A and 373mV at 1000. This O/p is buffered through an OPAMP having a gain of 10. To enable easy equivalence between the transducers O/P in volts and the measured temperature a calibration procedure needs to be done. WORKING:8255 is interfaced with 8086 in I/O mapped I/O. port A (PA0-PA7) as input port is connect to data lines of ADC, PB0, PB1, PB2 lines of port B for channel selection, PC2 connected to Start of conversion (SOC) and PC3 to O/P enable. Channel 1 of ADC is used to input analog signal, Channel 0 of ADC for temperature controller. ADC will give binary equivalent of the I/P voltage. Input will vary from 0 to 5V (0 to 100 degree C) and the ADC O/P varies from 00-FFH. So 5V/100 i.e. 5000mvs/100 gives 50mvs/0C. And the counts for indication of temperature are taken as 2.5 (256/100) per degree C. AC supply to the external heating element is controlled through the onboard Relay, based on the set value. When the temperature of the heating element (which is sensed by AD590, AD590 output is analog which is converted to digital by ADC) is less than the set value (reference value) heating element will be switched ON and when temperature crosses the set temperature AC supply is turned OFF. Recent posts PWM with 89S52 How to access R0 to R7 registers in Keil C?
M O D E LS M A L L . S T A C K1 0 0 . D A T A S T A R T : P O R T AE Q UF F C 0 H;P O R T Aa d d r e s s P O R T BE Q UF F C 2 H;P O R T Ba d d r e s s P O R T CE Q UF F C 4 H;P O R T Ca d d r e s s C T LE Q UF F C 6 H;C o n t r o lp o r ta d d r e s s C T L _ B Y T EE Q U9 8 H;8 2 5 5c o n t r o lr e g . C L E A R _ D I S P L A YE Q UF 8 0 0 : 4 B B 1 H D W A DE Q UF 8 0 0 : 4 B B 1 H D B D T AE Q UF 8 0 0 : 4 F 1 F D E C _ T E M PD B0

Program to initialise the LCD in 4 bit mode using PIC microcontroller Program for multiplexing of led displays for pic microcontrollers version control system for keil & MPLAB.

TAGS Assembly Language (50) Program (41)


2/8

jntuimplab.blogspot.in/2008/01/temperature-control-system-using-8086.html

1/17/14
S E T _ T E M PD B0 A D C _ V A LD B0 C O U N TD B0 P R E _ T E M PD B0 . C O D E A D CT A B L E :

Microprocessor and microcontroller: Aseembly language programs: Temperature Control system using 8086

8086 (24) microprocessor (15) Experiment (13) pic microcontroller (11) pic (10) 8051 (6)

D B0 0 H , 0 3 H , 0 5 H , 0 8 H , 0 a H , 0 d H , 0 f H , 1 1 H , 1 4 H , 1 6 H

8255 (6) c program (6)

D B1 9 H , 1 c H , 1 e H , 2 1 H , 2 4 H , 2 7 H , 2 a H , 2 c H , 2 e H , 3 2 H

AVR (5) atmega (4)

D B3 4 H , 3 6 H , 3 9 H , 3 c H , 3 f H , 4 2 H , 4 5 H , 4 8 H , 4 a H , 4 c H

software (4) stepper motor (4)

D B4 e H , 5 0 H , 5 2 H , 5 4 H , 5 6 H , 5 8 H , 5 b H , 6 1 H , 6 4 H , 6 7 H

AVR Microprocessor (3) atmega32 (3) projects (3)

D B6 a H , 6 d H , 7 0 H , 7 2 H , 7 4 H , 7 7 H , 7 a H , 7 d H , 7 f H , 8 2 H

D Ba 0 H , a 2 H , a 5 H , a 8 H , a a H , a D H , a f H , b 0 H , b 3 H , b 6 H

robotics (3) 8085 (2)

D Bb 9 H , b c H , b f H , c 1 H , c 4 H , c 6 H , c 9 H , c c H , c f H , d 0 H

Traffic light control system (2) array (2) bcd to ascii (2)

D Bd 2 H , d 5 H , d 7 H , d a H , d c H , d f H , e 0 H , e 2 H , e 5 H , e 7 H

D Be 9 H , e b H , e e H , f 1 H , f 4 H , f 6 H , f 9 H , f c H , f f H

generate square waveform (2) interface stepper motor (2)

S T A R T : M O VA L , C T L _ B Y T E;8 2 5 5 M O VD X , C T L;P O R T C( l o w e r )a so u t p u t O U TD X , A L;P O R T Aa si n p u t M O VA L , D E C _ T E M P C A L LD E C _ H E X M O VS E T _ T E M P , A L M O VA L , D E C _ T E M P M O VA H , 0 0 M O VS I , A X C A L LF A RD W A D M O VD X , C T L M O VA L , 0 2 O U TD X , A L M O VA L , 0 0 O U TD X , A L M O VC X , 7 0 L 0 : L O O PL 0 B A C K : M O VC O U N T , 0 C A L LA D C C A L LD I S P _ T E M P

largest number (2) linux (2) masm611 (2) microcontroller (2) real time clock (2) simulator 8085 (2) temperature control (2) video (2) 8255 ic (1) ATmega16L (1) Analog-to-Digital converter (1) DIY (1) Digital to Analog converter (1) NMI (1) PIC16F877A (1) PIC1F4550 (1) Troubleshooting (1) a86 (1) architeture (1)
3/8

jntuimplab.blogspot.in/2008/01/temperature-control-system-using-8086.html

1/17/14
C A L LT E M P _ C O N T L J M PB A C K D I S P _ T E M P : M O VA L , A D C _ V A L

Microprocessor and microcontroller: Aseembly language programs: Temperature Control system using 8086

arithmetic mean (1) arm (1) celsius (1) centigrade (1) complier (1) ebook (1) emulator (1) factorial (1) fahrenheit (1) faqs (1) fibonacci series (1) floating point (1) freescale (1) ground pin (1) indirect addressing (1) initialization (1) interfacing (1) intreview questions (1) keil (1) learn (1) masm (1) memory (1) moving block of data (1) packed bcd (1) pop (1) product of numbers (1) push (1) pwm (1) ramp (1) registers (1) reverse (1) simulator (1) sourceforge (1) square root (1) square wave (1) stack (1) statistics (1) string (1) subtraction (1) sum of cubes (1)
4/8

M O VS I , O F F S E TA D C _ T A B L E A G A I N : C M PA L , [ S I ] J CF O U N D J EF O U N D I N CS I I N CC O U N T J M PA G A I N F O U N D : M O VA L , C O U N T C A L LH E X _ D E C M O VA H , 0 M O VS I , A X C A L LF A RD B D T A R E T T E M P _ C O N T L : M O VA L , C O U N T C M PA L , S E T _ T E M P J CT U R N _ O N _ R E L A Y R E L A Y _ O F F : M O VD X , P O R T B M O VA L , 0 F F H O U TD X , A L M O VD L , 2 0 H H E R E 1 : M O VC X , F F F F H H E R E : L O O PH E R E D E CD L J N ZH E R E 1 R E T T U R N _ O N _ R E L A Y : M O VD X , P O R T B M O VA L , 0 0 H O U TD X , A L C O N T I N U E : M O VC X , F F F F H L 2 2 : L O O PL 2 2 R E T A D C : M O VD X , C T L M O VA L , 0 1 O U TD X , A L M O VC X , 7 0

jntuimplab.blogspot.in/2008/01/temperature-control-system-using-8086.html

1/17/14
L 1 0 : L O O PL 1 0 M O VA L , 0 0 O U TD X , A L L 1 : M O VD X , P O R T C I NA L , D X A N DA L , 8 0 H C M PA L , 8 0 H J N ZL 1 M O VD X , P O R T A I NA L , D X M O VA D C _ V A L , A L R E T H E X _ D E C : M O VA H , 0 0 H M O VC L , 0 A H D I VC L M O VC L , 0 4 H R O LA L , C L A N DA L , F 0 H O RA L , A H R E T D E C _ H E X : M O VB L , A L A N DB L , 0 F H A N DA L , F 0 H M O VC L , 0 4 R O RA L , C L M O VC L , 0 A H M U LC L A D DA L , B L R E T E N DS T A R T

Microprocessor and microcontroller: Aseembly language programs: Temperature Control system using 8086

sum of elements (1) sum of squares (1) switch (1) tcp (1) temperature (1) triangular (1) waveform generation (1)

Blog Archive March (2) February (5) January (1) October (3) June (1) May (1) March (2) February (1) January (1) December (7) November (5) October (6) September (11) August (3) July (17) June (13) May (13) April (2) March (7) February (3) January (8) December (6)

PROCEDURE:1. Connect power supply 5V & GND to both microprocessor trainer kit & temperature controller interfacing kit. 2. Connect data bus between microprocessor trainer kit & temperature controller interfacing kit. 3. Enter the program to read temperature of the water bath from ADC at 0000:4000. 4. Execute the program by typing GO 0000:4000 enter. 5. Enter the reference temperature value, when temperature of water bath exceeds reference value then power supply to water bath is switched OFF.
jntuimplab.blogspot.in/2008/01/temperature-control-system-using-8086.html

5/8

1/17/14

Microprocessor and microcontroller: Aseembly language programs: Temperature Control system using 8086

You might be also interested in: :: Traffic light control system using 8086 :: Assembly Language Program to serve NMI :: Interfacing Stepper Motor to 8086 using 8255

Labels: 8086, Experiment, microprocessor, Program, temperature control

10 comments:
rishabh said... hi u have used a ad590 chip here..which has a temperature range limitation.(0 to 100) i have to design a similar system, but for a higher range, like 450-600 degree Celsius. ive read the data sheet...and there it says that by modifying the output range of opamps, the temp range limitation can be modified. is that the only solution or should i go for another chip, if yes could you please suggest me which one. awaiting your reply July 4, 2008 at 2:12 PM AMIT said... hi.. can someone tell me something about temperature controller using 8085 ..? November 4, 2009 at 11:09 AM manju said... to mr. Amit pls refer this site....... www.rbainnovations.com/abstracts/.../G%20temp%20controller .doc December 10, 2009 at 5:01 AM helloworld0707 said... hi can i please get the circuit diagram for the temperature control system or where i can find it? January 27, 2010 at 7:19 AM
jntuimplab.blogspot.in/2008/01/temperature-control-system-using-8086.html 6/8

1/17/14

Microprocessor and microcontroller: Aseembly language programs: Temperature Control system using 8086

Anisha said... hello........... i want to know about temperature sensor using 8255 microprocessor March 13, 2010 at 8:48 AM san said... hi friends, need 8085programs for the following, 1)DAC 2)ADC 3)TEMPERATURE 4)traffic light controller 5)stepper motor March 17, 2010 at 10:41 PM yousuf said... plz post a circuit diagram of temperature controlling......... or mail me at yousuf.gill@yahoo.com yousuf.gill@hotmail.com , yousufgill@gmail.com April 29, 2010 at 4:53 PM reddy royals said... can you please send the circuit diagram for the temperature control system using 8086 November 10, 2010 at 6:19 AM shraiya said... anyone got the circuit diagram??? April 20, 2011 at 10:11 PM nhmdp said... In the program what does the following instruction mean? DWAD EQU F800:4BB1H DBDTA EQU F800:4F1F I want to know what is DWAD and DBDTA. Please reply soon.

April 28, 2013 at 9:03 AM Post a Comment

jntuimplab.blogspot.in/2008/01/temperature-control-system-using-8086.html

7/8

1/17/14

Microprocessor and microcontroller: Aseembly language programs: Temperature Control system using 8086

Newer Post

Home

Older Post

Subscribe to: Post Comments (Atom)

stat

jntuimplab.blogspot.in/2008/01/temperature-control-system-using-8086.html

8/8

You might also like