Shop OBEX P1 Docs P2 Docs Learn Events
BS1 and Thermistor — Parallax Forums

BS1 and Thermistor

kishkumenkishkumen Posts: 3
edited 2009-12-14 21:38 in BASIC Stamp
Dear Sir:

I need some help. I want to use a Thermistor to read temperature in my smoker. I seen in the Stamp1 manual about using a Thermistor from Radio Shack to read the temperature, but this Thermistor is no longer carried by Radio shack. I can of course can get a different make.

My question is will the different type Thermistor read so far off that it will not work and can it read higher then 149 deg.

I need to read up to 170·deg

Thank You,
Kishkumen


Post Edited (kishkumen) : 12/14/2009 8:30:01 AM GMT

Comments

  • $WMc%$WMc% Posts: 1,884
    edited 2009-12-14 07:43
    kishkumen

    I'm not sure what Thermistor Your useing,·But if You post the code Your useing

    We'll help You make it work!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
  • $WMc%$WMc% Posts: 1,884
    edited 2009-12-14 07:59
    kishkumen

    To help You to get the hang of the forums, You need to fill in the subject part of the POST. its not a biggy, but some others will crip about "no subject" on Your post.
    Simply click on the pencil icon on Your post and You can easily edit Your post.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
  • kishkumenkishkumen Posts: 3
    edited 2009-12-14 08:01
    Hi $WMc%

    I'm using part of the code that parallax siad to use with a Thermistor, the Thermistor I want to use is a NTC-101.
    Here is the program.

    ' {$STAMP BS1}
    ' Program THERM-A.BAS
    ' This program reads a thermistor with the BASIC pot command,
    ' computes the temperature using a power-series polynomial equation,
    ' and reports the result to a host PC via the Stamp cable
    ' using the debug command.

    ' Symbol constants represent factored portions of the coefficients
    ' C0, C1, and C2. "Top" and "btm" refer to the values' positions in
    ' the fractions; on top as a multiplier or on the bottom as a divisor.
    SYMBOL co0 = 162
    SYMBOL co1top = 255
    SYMBOL co1btm = 2125
    SYMBOL co2bt1 = 25
    SYMBOL co2top = 3
    SYMBOL co2btm = 50


    Check_temp:

    PAUSE 1000 ' pause 1 sec

    POT 0,46,W0 ' 46 is the scale factor.
    LET W1 = W0*W0/co2bt1*co2top/co2btm
    LET W0 = W0*co1top/co1btm+W0
    LET W0 = co0+W1-W0
    LET PINS = 00100000 'All pins set to input except pin 2

    DEBUG W0 ' show smoker temp on main computer

    IF PIN1 = 1 THEN lowtemp 'next four pins are temp zones
    IF PIN3 = 1 THEN midtemp
    IF PIN4 = 1 THEN Hightemp
    IF PIN5 = 1 THEN steamtemp

    lowtemp: IF W0 > 130 THEN lowtemp_A
    IF W0 < 128 THEN lowtemp_B
    lowtemp_A:
    LOW 2
    GOTO Check_temp
    lowtemp_B:
    HIGH 2
    GOTO Check_temp

    midtemp: IF W0 > 145 THEN midtemp_A
    IF W0 < 143 THEN midtemp_B
    midtemp_A:
    LOW 2
    GOTO Check_temp
    midtemp_B:
    HIGH 2
    GOTO Check_temp

    Hightemp: IF W0 > 160 THEN Hightemp_A
    IF W0 < 158 THEN Hightemp_B
    Hightemp_A:
    LOW 2
    Hightemp_B:
    HIGH 2
    GOTO Check_temp

    steamtemp: IF W0 < 250 THEN steamtemp_A
    steamtemp_A:
    HIGH 2
    GOTO Check_temp

    END
  • $WMc%$WMc% Posts: 1,884
    edited 2009-12-14 08:27
    kishkumen

    Dose your local RadioShack carry any other thermistor?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
  • $WMc%$WMc% Posts: 1,884
    edited 2009-12-14 08:33
    kishkumen

    Take a look at the Parallax web site home page.

    Surf there home site well, I think you'll find what Your after.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
  • kishkumenkishkumen Posts: 3
    edited 2009-12-14 16:04
    $WMc%

    I did as you said, I looked·at the Parallax web site good and found no Thermistor listed there.

    No, Radio Shack does not handle any Thermistors at this time.

    Thank you for your help.
    Kishkumen
  • ercoerco Posts: 20,256
    edited 2009-12-14 21:38
    kishkumen:

    PM·me your address and I'll mail you a RadioShack thermistor, SKU # 271-110 such as seen at http://www.extremenxt.com/temp.htm . Discontinued many moons ago, I still have a couple new units.

    Merry Christmas from erco!



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."
Sign In or Register to comment.