temperature's values with thermistor

Status
Not open for further replies.

sorel_789

Newbie level 3
Joined
May 16, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,304
thermistor site:edaboard.com -search

i'm using a 80C552 mc from Philips ( 8051 family) .. i have a thermistor.. i take it from thermaltek volcano cooler...

i want to use it for monitoring temperature while charging a battery. I want to know how can i transform the data from microcontroller in Celsius? any other idea for code? thank you anyway


i used this :
temp:
mov dptr, #0140h
mov a,#00h ; 0 logic in output register
movx @dptr,a
lcall wait ;wait for discharge the capacitor
mov a,#01h
movx #@dptr,a ; 1 logic in output register
mov dptr,#0160h ; the address to read the termistor
setb TR0 ;start timer
num: movx a,@dptr
jnb acc.0,num ;wait while voltage on C is 1 logic
clr TR0 ;stop timer
send_data_to_lcd
jmp temp
 

I would suggest a digital temperature sensor. They usually give a reading in degrees celsius. Examples are LM75 from National (I2C), DS18(B/S)20 from Maxim (1-wire) and SMT160 from Smartec (pulse width propotional to frequency).

These digital sensors don't need calibration, and they don't require analog ports. They cost a couple of dollars, but it's well worth it. And some of them can be ordered as free samples.
 

i need a slim sensor... my sensor has 0,1 mm (0.001cm) ..
how can i measure the temperature ? the degrees in celsius
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…