caramoan tour package

caramoan tour package

Author Topic: lm35 problem (milivolts)  (Read 3066 times)

Offline fred070

  • CR2032 Battery
  • **
  • Posts: 20
  • Pogi/Ganda Points: 0
lm35 problem (milivolts)
« on: October 05, 2009, 12:05:08 AM »
hello gandang gabi.. may tanong lng ako about sa output ng Lm35 precision centrigrade temperature sensor. . db may output xa na mV according sa mase2nse nyang heat. for example .. v = temp / 100..

first of all, gusto kong ma retrive ung value ng sensor na to to my computer, (im planning to use rs232 as the connector if availble but i think mrami pa kong dapat gmitn na capacitor resistors IC and etc pra magawa to), so nag isip ako ng  isa pa.. meron ako d2ng device na nakaka measure ng resistance, na nare2ceive nmn ng PC improvised xa pero tlgang gumagana  ;D.. ngaun ung problem ko. pwede kayang gawing resistance ung milivolts na nilalabas ng lm35 prang gn2.. 0.01v = 1 celcius = 100 ohms

i planning to use thermistor, but wla pa kong mkta ngaun d2 haha.. (thermistor = as the temperature increases the resistance increases too)
which is connected in series connection, pero nabasa ko n mas precise daw ung lm35 kesa d2 sa thermistor..

God bless to all :)

Philippine Electronics Forum

lm35 problem (milivolts)
« on: October 05, 2009, 12:05:08 AM »

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6016
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: lm35 problem (milivolts)
« Reply #1 on: October 05, 2009, 12:49:27 AM »
the easiest way to capture the reading of LM35 is to interface it to an ADC pin of an MCU. 

so parang ganito:

LM35 ---> (adc pin) [MCU](UART)<---> level translato(max232) <---> PC serial port.

after that you could check the data sent through hyperterminal.
pwede din gumawa ng simple program sa visual C#.
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Philippine Electronics Forum

Re: lm35 problem (milivolts)
« Reply #1 on: October 05, 2009, 12:49:27 AM »

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6129
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: lm35 problem (milivolts)
« Reply #2 on: October 05, 2009, 07:25:52 AM »
meron akong naisip na simple idea sa ADC interfacing through serial port without using MCU. an SPI ADC0831 interface through the serial and bitbanging the handshaking lines



CS and CLK nakadikit sa DTR and RTS outputs, whle yung DO is nakakabit doon sa DSR or CTS inputs. (with limiting resistors + negative and positive voltage diode clamps)

parang ganito:
LM35 --- ADC0831 --- PC serial port

E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Philippine Electronics Forum

Re: lm35 problem (milivolts)
« Reply #2 on: October 05, 2009, 07:25:52 AM »

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6016
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: lm35 problem (milivolts)
« Reply #3 on: October 05, 2009, 07:41:28 AM »
^sige nga sis, pag-experimentuhan mo!

baka may parts ka naman dyan... ;D
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Philippine Electronics Forum

Re: lm35 problem (milivolts)
« Reply #3 on: October 05, 2009, 07:41:28 AM »

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6129
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: lm35 problem (milivolts)
« Reply #4 on: October 05, 2009, 07:54:47 AM »
pag nagpunta ako ng gizmo bili ako ng parts ;D
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Philippine Electronics Forum

Re: lm35 problem (milivolts)
« Reply #4 on: October 05, 2009, 07:54:47 AM »

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6016
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: lm35 problem (milivolts)
« Reply #5 on: October 05, 2009, 08:20:37 AM »
sis, meron ako dito TLV1572. di yan differential input... pero SPI din.

pwede din ba yan gamitin sa proposal mo?

turuan mo ako, at try kong gawin. ;)
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Offline Shey

  • Administrator
  • Gas Turbine
  • *****
  • Posts: 2004
  • Pogi/Ganda Points: 154
  • Gender: Female
  • "E tangi ana koe Hine e hine, E hine e Hoki maira"
    • Elab.PH
Re: lm35 problem (milivolts)
« Reply #6 on: October 05, 2009, 09:46:37 AM »
hello gandang gabi.. may tanong lng ako about sa output ng Lm35 precision centrigrade temperature sensor. . db may output xa na mV according sa mase2nse nyang heat. for example .. v = temp / 100..

first of all, gusto kong ma retrive ung value ng sensor na to to my computer, (im planning to use rs232 as the connector if availble but i think mrami pa kong dapat gmitn na capacitor resistors IC and etc pra magawa to), so nag isip ako ng  isa pa.. meron ako d2ng device na nakaka measure ng resistance, na nare2ceive nmn ng PC improvised xa pero tlgang gumagana  ;D.. ngaun ung problem ko. pwede kayang gawing resistance ung milivolts na nilalabas ng lm35 prang gn2.. 0.01v = 1 celcius = 100 ohms

i planning to use thermistor, but wla pa kong mkta ngaun d2 haha.. (thermistor = as the temperature increases the resistance increases too)
which is connected in series connection, pero nabasa ko n mas precise daw ung lm35 kesa d2 sa thermistor..

God bless to all :)


LM35 is designed kasi to be interfaced directly on the ADC pin of a PIC microcontroller or on standalone ADC chips..  mas accurate siya sa thermistor kasi linear yung response niya throughout the temperature range na kaya niyang i-measure..
I wish for this night-time to last for a lifetime
The darkness around me
Shores of a solar sea
Oh how I wish to go down with the sun
Sleeping
Weeping
With you

I walk alone
Every step I take
I walk alone
My winter storm
Holding me awake
It’s never gone

I fear that soon you'll reveal
Your dangerous mind
As your true colours show
A dangerous sign

Offline fred070

  • CR2032 Battery
  • **
  • Posts: 20
  • Pogi/Ganda Points: 0
Re: lm35 problem (milivolts)
« Reply #7 on: October 05, 2009, 11:10:50 AM »
meron akong naisip na simple idea sa ADC interfacing through serial port without using MCU. an SPI ADC0831 interface through the serial and bitbanging the handshaking lines



CS and CLK nakadikit sa DTR and RTS outputs, whle yung DO is nakakabit doon sa DSR or CTS inputs. (with limiting resistors + negative and positive voltage diode clamps)

parang ganito:
LM35 --- ADC0831 --- PC serial port




wow! ndi nga? pwde yan ha? without using MCU and max232

tska kuya mejo nalito ako haha.. pwede pa provide po ng diagram, slow po e  ;D

Offline nucleus

  • Gas Turbine
  • **
  • Posts: 2573
  • Pogi/Ganda Points: 123
  • Gender: Male
Re: lm35 problem (milivolts)
« Reply #8 on: October 05, 2009, 11:30:39 AM »
yung project dito:

http://www.riccibitti.com/pc_therm.htm

ayus naman din
Hi! I'm nucleus and i carry the charge 8)

Hindi ako nandito para makipagkumpitensya kanino man

Offline fred070

  • CR2032 Battery
  • **
  • Posts: 20
  • Pogi/Ganda Points: 0
Re: lm35 problem (milivolts)
« Reply #9 on: October 05, 2009, 12:16:41 PM »
yung project dito:

http://www.riccibitti.com/pc_therm.htm

ayus naman din

nagawa mo na ba to bossing?

insomartin

  • Guest
Re: lm35 problem (milivolts)
« Reply #10 on: October 05, 2009, 12:24:35 PM »
i think kahit di pa nagawa ni sir nucleus eh fully working yan. analysis pa lang ok na ok na.  ;D ;D ;D

Offline nucleus

  • Gas Turbine
  • **
  • Posts: 2573
  • Pogi/Ganda Points: 123
  • Gender: Male
Re: lm35 problem (milivolts)
« Reply #11 on: October 05, 2009, 12:25:21 PM »
nagawa mo na ba to bossing?

yup pati din ata si nothing hehehe
Hi! I'm nucleus and i carry the charge 8)

Hindi ako nandito para makipagkumpitensya kanino man

insomartin

  • Guest
Re: lm35 problem (milivolts)
« Reply #12 on: October 05, 2009, 12:27:00 PM »
OT:
oo nga pala yan c friend nucleus, resident researcher namin dito sa electronics lab. part time devil's advocate din.

insomartin

  • Guest
Re: lm35 problem (milivolts)
« Reply #13 on: October 05, 2009, 12:27:43 PM »
yup pati din ata si nothing hehehe


nothing but chu...

Offline n0th1n6

  • Diesel Generator
  • *
  • Posts: 1988
  • Pogi/Ganda Points: 62
Re: lm35 problem (milivolts)
« Reply #14 on: October 05, 2009, 12:36:40 PM »
Ay syanga, nagawa ko na pala yan. Kelangan lang na rung regulator ay low dropout, otherwise di talaga gagana yan. At kelangan nyan yung serial port na nakakabit mismo sa motherboard, di ubra ung mga usb to serial from cdrking.

insomartin

  • Guest
Re: lm35 problem (milivolts)
« Reply #15 on: October 05, 2009, 12:39:00 PM »
downloading datasheet...

Offline fred070

  • CR2032 Battery
  • **
  • Posts: 20
  • Pogi/Ganda Points: 0
Re: lm35 problem (milivolts)
« Reply #16 on: October 05, 2009, 12:46:22 PM »
wow ang ti2ndi nyo nmn.. prang mdaling gawin.. i2 nga gamitin ko.. tanong ko lng san pwede bumili ng materials n2 esp. dun sa


ds1621 or ds1631 (thermostat[digital temp sensor])
tska lm29 ( ndi ba pwede i substitute ung lm35)?

diode 1n4148 zener diod 5.1 1/2w

capacitor 47microF                -gizmo?
capacitor 100nanofarad          -gizmo?

ganda ganda.. excited na ko gawin!! weee! ;D

Offline fred070

  • CR2032 Battery
  • **
  • Posts: 20
  • Pogi/Ganda Points: 0
Re: lm35 problem (milivolts)
« Reply #17 on: October 05, 2009, 12:50:50 PM »
i think kahit di pa nagawa ni sir nucleus eh fully working yan. analysis pa lang ok na ok na.  ;D ;D ;D

haha.. xD xD fully working ba? san ka ba nakatira sir nucleus? patingin nga ng gawa m? hehe khit scrShot lng

Online glutnix_neo

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4162
  • Pogi/Ganda Points: 166
  • Gender: Female
  • A journey to a thousand lines begins w/ LED Blink
    • Underground Workbench
Re: lm35 problem (milivolts)
« Reply #18 on: October 05, 2009, 12:51:54 PM »
may project ang electronic enthusiast na ginamit ito, simple temp probe na ang temp reading ay diretso sa mutimeter (10mV IIRC).

Vin, Ground, at Temp lang naman pinouts nya.

gamit kayo webcam may pc interface na kayo, hehehehe, joke.



If we hear,we forget;if we see, we remember;if we do,we understand.
Let's support the use of free and open source softwares...
http://UndergroundWorkbench.wordpress.com

Offline nucleus

  • Gas Turbine
  • **
  • Posts: 2573
  • Pogi/Ganda Points: 123
  • Gender: Male
Re: lm35 problem (milivolts)
« Reply #19 on: October 05, 2009, 01:23:10 PM »
Ay syanga, nagawa ko na pala yan. Kelangan lang na rung regulator ay low dropout, otherwise di talaga gagana yan. At kelangan nyan yung serial port na nakakabit mismo sa motherboard, di ubra ung mga usb to serial from cdrking.

pero pede sa datacble na katulad nung ginamit ni yus sa DS89C4XX programmer nya, tunay na rs232 level kasi yung output nun di tulad ng sa usb to rs232 ng cdrking na uart level lang
Hi! I'm nucleus and i carry the charge 8)

Hindi ako nandito para makipagkumpitensya kanino man

Philippine Electronics Forum

Re: lm35 problem (milivolts)
« Reply #19 on: October 05, 2009, 01:23:10 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com