lm34 math


Closed Thread
Results 1 to 2 of 2

Thread: lm34 math

  1. #1
    Join Date
    Jun 2006
    Posts
    60

    Default lm34 math

    Using a lm34 for temp, don't have vref pin so using 5vdc full. So if I take 5/1024 (using 10 bit because already using in another part of program) this gives me steps of adconversion? So that said if temp is 40 deg I would take .4/.005 to get digital output?

  2. #2
    Join Date
    Sep 2009
    Posts
    737


    Did you find this post helpful? Yes | No

    Default

    You use the operational amplifier to get the output 0-5V.
    If you connect the output directly to the pic, you will lose the accuracy.
    You can try this T = (500 * ad_res) / 1024

Members who have read this thread : 1

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