Shop OBEX P1 Docs P2 Docs Learn Events
? about temp sensor — Parallax Forums

? about temp sensor

prestonpreston Posts: 3
edited 2004-08-12 01:22 in BASIC Stamp
· I recently bought a LM34 TEMPERATURE PROBE and a basic 2 stamp (BOE).· Just wondering if the two are compatible?· If so, how is it wired to the bs2?

·· thanks in advance.

·

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-08-11 06:39
    Yes. Download our "Applied Sensors" text connections and code.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • Tracy AllenTracy Allen Posts: 6,656
    edited 2004-08-11 07:33
    You will need an analog to digital converter. The Stamp does not have one built in. The output of the LM34 is 10 millivolts per degree Fahrenheit.

    Well, it is not quite true that you can't use the LM34 with the BS2 without an analog to digital converter. The LM34 can be configured with a resistor to output a current proportional to temperature, and then you can use the Stamp's native RCtime command to read the temperature. (The Applied Sensors text has lots of information about how to use the RCtime command.)

    - - Tracy

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tracy Allen
    www.emesystems.com
  • AlWilliamsAWCAlWilliamsAWC Posts: 135
    edited 2004-08-11 13:02
    Here's an article about using a PAK-XII (which is an A/D and a math coprocessor) connected to a Stamp and an LM34 to do temperature measurements: http://www.al-williams.com/pak12app.htm. Of course, this is overkill unless you want the advanced math capabilities.

    Regards,

    Al Williams
    AWC
    8 Channels of PWM
    http://www.awce.com/pak5.htm
    ·
  • prestonpreston Posts: 3
    edited 2004-08-12 01:07
    ·Thanks for the reply's, ·but i can't seem to find·The "Applied Sensors" download.· I know it's here some where but no luck.

    Thanks
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2004-08-12 01:22
    Preston -

    You can download that text from the link below, thanks to Parallax!
    http://www.parallax.com/detail.asp?product_id=28127

    Regards,

    Bruce Bates
Sign In or Register to comment.