[phoenix-project] Phonix

  • From: "Venkata Hanuman Choudari S" <venkat.spec@xxxxxxxxx>
  • To: phoenix-project@xxxxxxxxxxxxx
  • Date: Tue, 19 Feb 2008 14:05:54 +0000

Dear sir/madam,

                  I'm a doing a 'Temperature monitor and control system'
project in which i need  to monitor  room  Temperature from LM 35 sensor..
i'm giving analog input as 225 mv (from LM35) to phonix kit and getting
digital output as below

244.4
259.0
229.7
288.4
317.7

my Python program is

import phm, math, time
p = phm.phm()
p.select_adc(1)
p.set_adc_size(2)
p.set_adc_delay(20000)

strt = p.zero_to_5000()[0]
for x in range(1000):
    res = p.zero_to_5000()
    res=res[1]
    print '%.1f' % res
    time.sleep(1.0)

so Please help me out to get the  proper digital output in centigrade (C)..


                                     Thank you,

Regards,
S.V.H.Chowdary

Other related posts: