Académique Documents
Professionnel Documents
Culture Documents
NOMBRES:
ESTEBAN ESPINOSA
BRYAN CUCHIPARTE
FECHA:
27-FEB-2015
TEMA:
DEMOSTRAR
TERMOCUPLA
EL
PRINCIPIO
DE
UNA
1. Objetivo:
2. Junta de correccin.
3. Cable compensado.
4. Junta de referencias.
3. Diseo(Clculos y esquema)
A continuacin se muestra la conexin del sensor LM35 para que mida temperaturas bajo
cero y genere voltajes negativos (conexin recomendada por el fabricante):
INSTRUMENTACION Y SENSORES
Figura 2: Conexin del LM35 para efectuar la mediciones de temperaturas bajo cero.
INSTRUMENTACION Y SENSORES
TRISB=0
DEFINE
DEFINE
DEFINE
RS
DEFINE
DEFINE
enable
INSTRUMENTACION Y SENSORES
;este es el puerto B2
;define el puerto B paraconectar el bit
Ing. Jos Bucheli
DEFINE
DEFINE
DEFINE
DEFINE
LCD_EBIT 3
ADC_BITS 10
ADC_CLOCK 3
ADC_SAMPLEUS 50
G CON 223
R11 VAR BYTE
;puerto B.3
;
;fija el Clock (rc=3)
;fija el tiempo de muestro en uS
; constante 223
TRISA = 255
variable1
var word
ambiente
temambiente
;Temperatura ambiente
variable2
var byte
var word
;Voltaje
;termopar
TRISC=0
PORTC.0=0
FOR R11=0 TO 2
HIGH PORTC.0
PAUSE 500
LOW PORTC.0
PAUSE 500
NEXT
lcdout $fe,$1,"ELECTRO- "
lcdout$fe,$c0,"MAGNETISMO"
PAUSE 2000
;espera 2s
inicio:
;etiqueta
ADCIN 0, variable1
;Lee el canal 0 y guarda los datos en
la variable *
temambiente=variable1/128
;Operacion para la temperatura
ambiente
adcin 1,variable2
;Lee el canal 1 y guarda los datos en
la variable *
volt=variable2/129
;Voltaje
termppar=((volt*19)/50 + temambiente) ;operacion para el termopar
lcdout $fe,1," TEMP. AMB ",DEC temambiente,G,"C" ; limpia saca
texto
INSTRUMENTACION Y SENSORES
4. Conclusiones:
5. Bibliografa.
http://www.datasheetcatalog.org/datasheet/nationalsemiconductor/DS005516.
PDF
INSTRUMENTACION Y SENSORES
INSTRUMENTACION Y SENSORES
INSTRUMENTACION Y SENSORES