LM35DZ + Temp


Closed Thread
Results 1 to 14 of 14

Thread: LM35DZ + Temp

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Location
    Greece
    Posts
    302


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    Ok, forget all the math and displaying for the moment...

    What is the output on the LCD if you only read the A/D converter with the LM35DZ connected... no averaging, no multiple samples, no nothing, just one saple, one display...pause, one sample, one display, and so on...
    Get a good reading that seems to make sense, then we can work on displaying it correctly...
    The output on the LCD is 44-46 (Vin = 44~46)
    The temperature is about 22C in room

  2. #2
    Join Date
    Jun 2006
    Location
    Greece
    Posts
    302


    Did you find this post helpful? Yes | No

    Default

    I change to :
    Code:
    ADCloop:
    
        ADCIN 2,Vin
        Pause 200 
        Vin=(Vin* 10)/2
        Lcdout $fe, 1
        LCDOUT $FE,2
        Lcdout "Temp=",DEC (Vin DIG 2),DEC (Vin DIG 1),".",DEC (Vin dig 0),"C"			          
        goto ADCLoop
    and believe is right
    The LCD now show : Temp=22.5C

Similar Threads

  1. Graphic LCD with PICbasic pro
    By amindzo in forum mel PIC BASIC Pro
    Replies: 41
    Last Post: - 25th November 2012, 12:45
  2. Stuck with 85C temp on ds18b20
    By revelator in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 3rd April 2009, 20:50
  3. Random Numbers
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 18th December 2008, 09:47
  4. help with write command
    By cphillips82 in forum General
    Replies: 9
    Last Post: - 21st April 2008, 00:49
  5. LM35DZ and 18F2455 settings
    By Mark J in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 25th January 2008, 09:31

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts