Shop OBEX P1 Docs P2 Docs Learn Events
Temperature control with a stamp — Parallax Forums

Temperature control with a stamp

ArchiverArchiver Posts: 46,084
edited 2001-05-30 16:30 in General Discussion
I'd like to be able to do two things with a basic stamp that I
don't know how to do. Looking for some advice.

First, I want to be able to measure the temperature of peanut oil
when it's between 300 and 400 degrees F. (I'm cooking with it.)

Second, I want to be able to control the flow of propane to the
burner to control the oil temperature to a setpoint in that
range.

On the software side I know a bit about real-time control but I'm
not a real electrical geek and don't know how to connect the
stamp to these real-world devices (temperature input and valve
control).

For the temperature I assume I'll need a thermocouple that can be put
in hot liquid. I'm looking for suggestions on where to shop for them
and how to connect them to the stamp.

For gas flow control I need some kind of computer-controlled-valve.
I'd love to be able to do this and keep as much of the propane
standard connection scheme as possible but I'm flexible.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-05-28 03:03
    Greetings,

    On Mon, 28 May 2001 abreu@m... wrote:

    > I'd like to be able to do two things with a basic stamp that I
    > don't know how to do. Looking for some advice.
    >
    > First, I want to be able to measure the temperature of peanut oil
    > when it's between 300 and 400 degrees F. (I'm cooking with it.)
    >
    > Second, I want to be able to control the flow of propane to the
    > burner to control the oil temperature to a setpoint in that
    > range.
    >
    > On the software side I know a bit about real-time control but I'm
    > not a real electrical geek and don't know how to connect the
    > stamp to these real-world devices (temperature input and valve
    > control).
    >
    > For the temperature I assume I'll need a thermocouple that can be put
    > in hot liquid. I'm looking for suggestions on where to shop for them
    > and how to connect them to the stamp.

    I just finished a project for a customer that needed to measure and
    maintain the temperature of oil to within one degree. I used a Type-J
    Thermocouple connected to an AD594CD thermocouple chip. The chip outputs
    10mV/degreeC in the range of 0-5 volts. I then fed the 0-5 volts into a
    12-bit A/D converter.


    --- Jay

    +
    +
    | Jay Nugent jjn@n... (734)971-1076 (734)971-4529/Fax |
    | Nugent Telecommunications [noparse][[/noparse]www.nuge.com] (734)649-0850/Cell |
    | Internet Consulting/Linux SysAdmin/Engineering & Design/ISP Reseller |
    | ISP Monitoring [noparse][[/noparse]www.ispmonitor.net] ISP & Modem Performance Monitoring |
    | Web-Pegasus [noparse][[/noparse]www.webpegasus.com] Web Hosting/DNS Hosting/Shell Accts|
    | LinuxNIC, Inc. [noparse][[/noparse]www.linuxnic.net] Registrar of the .linux TLD |
    +
    +
    9:00pm up 91 days, 14:28, 9 users, load average: 0.10, 0.08, 0.07
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-28 06:37
    Hey:

    Great info I have a similar problem however I was wondering in
    regards to measuring more than one thermocouple. would putting the
    different thermocouples through a multiplexer be okay or would you
    suggest that I use 4 independant ad594's then feed those voltages
    into an ADC0834. Or is there a different way to do this I would
    greatly value any input

    Thank you
    Aaron
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-28 16:47
    I sent this one last night, but I must have used the wrong 'mail to'
    address, hence, a Yahoo server returned the message undelivered. To try
    again:

    Ditto on the 594. They're costly, but reliable. Be sure to make your
    thermocouple connections according to the ap notes so your results will be
    fairly close to real-world temps.
    As for PID control with the Stamp, there is a well-done section in "Stamps
    in Class" I believe, or some such place on the Parallax site that should
    help. A stamp is not the best device for any kind of complex PID control,
    but you should be able to keep a super-slow process like heating a pot of
    oil within a tight enough hysteresis for on-off control of a burner for
    cooking.
    Chris
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-28 20:58
    [font=arial,helvetica]Try using a Cirrus Logic CS5522 connected to a BS2p to read temperature from
    a K type thermocouple. Below is example pbasic code. This is a dip chip that
    can handle up to eight thermocouples.

    Chuck


    'Program used to measure voltage analog data using a CIRRUS LOGIC CS5522, 24
    bit ADC chip
    'PARALLAX BS2p24 reads I/O data from the CS5522 thermocouple input (0 to
    100mv) channels 1 and 2
    'Crystal CS5521/22/23/24 Datatasheet DS317F2 (May '00) page 43, figure 21,
    for connection setup
    'requires chromel/alumel thermocouple table in program #1, ktab.bsp
    '5/7/01
    '{$STAMP BS2p,ktab}

    dathi var word 'thermocouple 12 bit high address
    datlo var word 'thermocouple 12 bit low address
    cojhi var word 'cold junction 12 bit high address
    cojlo var word 'cold junction 12 bit low address
    x var word
    y var word
    r var word
    v var word
    s var word
    rhi var byte
    rlo var byte
    rn var byte
    'BS2p pin connections to CS5522
    SCLK con 11 ' ADC Clock
    SDO con 10 ' ADC Data output
    SDI con 9 ' ADC Data input
    CS con 8 ' Chip select

    high CS
    pause 500
    serout 14,16630,[noparse][[/noparse]254,255] 'turn on lcd backlight
    serout 14,16620,[noparse][[/noparse]254,1]
    serout 14,16620,[noparse][[/noparse]"Setup for reading a"]
    serout 14,16620,[noparse][[/noparse]254,192]
    serout 14,16620,[noparse][[/noparse]"thermocouple and a"]
    serout 14,16620,[noparse][[/noparse]254,148]
    serout 14,16620,[noparse][[/noparse]"cold junction room"]
    serout 14,16620,[noparse][[/noparse]254,212]
    serout 14,16620,[noparse][[/noparse]"temperatures."]
    pause 5000
    low CS
    gosub RESET 'reset CS5522
    shiftout SDI,SCLK,1,[noparse][[/noparse]%00001011] 'read configuration register
    shiftin SDO,SCLK,0,[noparse][[/noparse]dathi\12,datlo\12]
    debug " CONFIG:",cr,"bits 23 to 12 ",bin12 dathi,cr,"bits 11 to 0 ",bin12
    datlo,cr,cr

    dathi=%000000001000 'write cnfiguration register
    datlo=%000000000000
    shiftout SDI,SCLK,1,[noparse][[/noparse]%00000011,dathi\12,datlo\12]

    shiftout SDI,SCLK,1,[noparse][[/noparse]%00001011] 'read configuration register
    shiftin SDO,SCLK,0,[noparse][[/noparse]dathi\12,datlo\12]
    debug " CONFIG:",cr,"bits 23 to 12 ",bin12 dathi,cr,"bits 11 to 0 ",bin12
    datlo,cr,cr

    dathi=%000000001000 'write cnfiguration register
    datlo=%000000000000
    shiftout SDI,SCLK,1,[noparse][[/noparse]%00000011,dathi\12,datlo\12]

    shiftout SDI,SCLK,1,[noparse][[/noparse]%00001011] 'read configuration register
    shiftin SDO,SCLK,0,[noparse][[/noparse]dathi\12,datlo\12]
    debug " CONFIG:",cr,"bits 23 to 12 ",bin12 dathi,cr,"bits 11 to 0 ",bin12
    datlo,cr,cr

    dathi=%000001100001 'write cnfiguration register
    datlo=%000000000000
    shiftout SDI,SCLK,1,[noparse][[/noparse]%00000011,dathi\12,datlo\12]

    shiftout SDI,SCLK,1,[noparse][[/noparse]%00001011] 'read configuration register
    shiftin SDO,SCLK,0,[noparse][[/noparse]dathi\12,datlo\12]
    debug " CONFIG:",cr,"bits 23 to 12 ",bin12 dathi,cr,"bits 11 to 0 ",bin12
    datlo,cr,cr

    dathi=%100100111010 'write gain register 1 (C/A thermocouple)
    datlo=%000000000000
    shiftout SDI,SCLK,1,[noparse][[/noparse]%00010010,dathi\12,datlo\12]

    dathi=%010000000000 'write gain register 2 (LM334 cold
    junction)
    datlo=%000000000000
    shiftout SDI,SCLK,1,[noparse][[/noparse]%00000010,dathi\12,datlo\12]

    shiftout SDI,SCLK,1,[noparse][[/noparse]%00001010] 'read gain register 1
    shiftin SDO,SCLK,0,[noparse][[/noparse]dathi\12,datlo\12]
    debug " GAIN:",cr,"bits 23 to 12 ",bin12 dathi,cr,"bits 11 to 0 ",bin12
    datlo,cr,cr

    datlo=%000010000011 'write channel setup registers 1 and 2
    dathi=%000000001000
    shiftout SDI,SCLK,1,[noparse][[/noparse]%00000101,dathi\12,datlo\12]

    shiftout SDI,SCLK,1,[noparse][[/noparse]%00001101] 'read channel setup register 1
    shiftin SDO,SCLK,0,[noparse][[/noparse]dathi\12,datlo\12]
    debug " SETUP:",cr,"bits 23 to 12 ",bin12 dathi,cr,"bits 11 to 0 ",bin12
    datlo,cr,cr

    store 1 'C/A thermocouple data table from 0 to 2000 C

    serout 14,16620,[noparse][[/noparse]254,1]
    serout 14,16620,[noparse][[/noparse]"BS2p40 reads a LM335"]
    serout 14,16620,[noparse][[/noparse]254,192]
    serout 14,16620,[noparse][[/noparse]"and C/A Thermocouple"]
    REPEAT
    shiftout SDI,SCLK,1,[noparse][[/noparse]%10001000] 'activate data reading of channels 1
    and 2
    pause 500
    shiftin SDO,SCLK,0,[noparse][[/noparse]cojhi\12,cojlo\12,dathi\12,datlo\12]
    r=(((cojhi<<12)+(cojlo>>0)))
    debug " Voltage1 = ",dec r," counts",cr
    v=(r/79)-273
    serout 14,16620,[noparse][[/noparse]254,148]
    pause 1
    serout 14,16620,[noparse][[/noparse]dec v," deg C @LM335 ··"]
    debug " Voltage1 = ",dec v," deg C @LM335",cr
    s=2*v
    read s,rhi
    read s+1,rlo
    r=(((dathi<<12)+(datlo<<0))*4)-200 'convert to lower 16
    bits only
    v=r
    r=r+(rhi*256)+rlo
    dathi=r.highbyte:datlo=r.lowbyte
    ' debug " Voltage2 = ",dec r," counts",cr
    for x=0 to 2000 step 2
    read x,y
    if y=dathi then aa
    next
    aa:
    for s=x+1 to 2000 step 2
    read s,y
    read s-1,rn
    if dathi<rn then aaa
    if y>= datlo then aaa
    next
    aaa:
    s=s/2
    debug " Voltage2 = ",dec v," counts ", dec s," deg C @LM2904",cr
    pause 1
    v=((s*18)/10)+32
    serout 14,16620,[noparse][[/noparse]254,212,dec v," deg F @LM2940 ·"]
    goto REPEAT

    RESET 'initialize CS5522
    shiftout
    SDI,SCLK,1,[noparse][[/noparse]$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FE]
    dathi=%000000000000 'activate reset in configuration register
    datlo=%000010000000
    shiftout SDI,SCLK,1,[noparse][[/noparse]%00000011,dathi\12,datlo\12]
    return


    'Chromel/Alumel type K thermocouple tables in 16 bit format
    'voltage output (mv)= (highbyte*256 + lowbyte)/1000 @0 C ref. temp
    '4/22/01
    'temp (C) temp+0 temp+1 temp+2 temp+3
    temp+4 temp+5 temp+6 temp+7 temp+8
    temp+9

    k0 data 0 , 0 , 0 , 39 , 0 , 79 , 0 , 119 , 0
    , 158 , 0 , 198 , 0 , 238 , 1 , 21 , 1 , 61 , 1
    , 101
    k10 data 1 , 141 , 1 , 181 , 1 , 221 , 2 , 5 , 2
    , 45 , 2 , 85 , 2 , 125 , 2 , 165 , 2 , 206 , 2
    , 246
    k20 data 3 , 30 , 3 , 70 , 3 , 111 , 3 , 151 , 3
    , 192 , 3 , 232 , 4 , 16 , 4 , 56 , 4 , 98 , 4
    , 139
    k30 data 4 , 179 , 4 , 220 , 5 , 4 , 5 , 46 , 5
    , 86 , 5 , 127 , 5 , 168 , 5 , 209 , 5 , 250 , 6
    , 34
    k40 data 6 , 76 , 6 , 117 , 6 , 158 , 6 , 199 , 6
    , 240 , 7 , 24 , 7 , 66 , 7 , 107 , 7 , 149 , 7
    , 190
    k50 data 7 , 231 , 8 , 16 , 8 , 57 , 8 , 98 , 8
    , 140 , 8 , 182 , 8 , 222 , 9 , 7 , 9 , 50 , 9
    , 91
    k60 data 9 , 132 , 9 , 174 , 9 , 215 , 10 , 0 ,
    10 , 41 , 10 , 84 , 10 , 125 , 10 , 166 , 10 , 207 ,
    10 , 250
    k70 data 11 , 34 , 11 , 76 , 11 , 118 , 11 , 160 ,
    11 , 200 , 11 , 243 , 12 , 28 , 12 , 69 , 12 , 112 ,
    12 , 153
    k80 data 12 , 194 , 12 , 235 , 13 , 22 , 13 , 63 ,
    13 , 104 , 13 , 146 , 13 , 188 , 13 , 229 , 14 , 15 ,
    14 , 56
    k90 data 14 , 97 , 14 , 138 , 14 , 181 , 14 , 222 ,
    15 , 7 , 15 , 48 , 15 , 91 , 15 , 132 , 15 , 172 ,
    15 , 214
    k100 data 16 , 0 , 16 , 41 , 16 , 83 , 16 , 123 ,
    16 , 165 , 16 , 207 , 16 , 248 , 17 , 32 , 17 , 74 ,
    17 , 116
    k110 data 17 , 157 , 17 , 197 , 17 , 239 , 18 , 25 ,
    18 , 66 , 18 , 106 , 18 , 148 , 18 , 188 , 18 , 230 ,
    19 , 14
    k120 data 19 , 55 , 19 , 97 , 19 , 137 , 19 , 179 ,
    19 , 219 , 20 , 3 , 20 , 45 , 20 , 86 , 20 , 126 ,
    20 , 168
    k130 data 20 , 208 , 20 , 248 , 21 , 34 , 21 , 74 ,
    21 , 114 , 21 , 156 , 21 , 196 , 21 , 237 , 22 , 20 ,
    22 , 61
    k140 data 22 , 103 , 22 , 143 , 22 , 183 , 22 , 233 ,
    23 , 7 , 23 , 49 , 23 , 89 , 23 , 129 , 23 , 169 ,
    23 , 209
    k150 data 23 , 249 , 24 , 35 , 24 , 75 , 24 , 115 ,
    24 , 155 , 24 , 195 , 24 , 235 , 25 , 19 , 25 , 59 ,
    25 , 100
    k160 data 25 , 140 , 25 , 180 , 25 , 220 , 26 , 4 ,
    26 , 44 , 26 , 84 , 26 , 124 , 26 , 164 , 26 , 204 ,
    26 , 244
    k170 data 27 , 28 , 27 , 68 , 27 , 108 , 27 , 147 ,
    27 , 187 , 27 , 227 , 28 , 11 , 28 , 51 , 28 , 91 ,
    28 , 131
    k180 data 28 , 171 , 28 , 211 , 28 , 252 , 29 , 35 ,
    29 , 76 , 29 , 116 , 29 , 154 , 29 , 194 , 29 , 234 ,
    30 , 18
    k190 data 30 , 58 , 30 , 98 , 30 , 139 , 30 , 179 ,
    30 , 219 , 31 , 3 , 31 , 43 , 31 , 83 , 31 , 122 ,
    31 , 163
    k200 data 31 , 201 , 31 , 242 , 32 , 25 , 32 , 65 ,
    32 , 106 , 32 , 145 , 32 , 186 , 32 , 225 , 33 , 10 ,
    33 , 51
    k210 data 33 , 90 , 33 , 131 , 33 , 170 , 33 , 211 ,
    33 , 250 , 34 , 35 , 34 , 74 , 34 , 115 , 34 , 155 ,
    34 , 196
    k220 data 34 , 235 , 35 , 20 , 35 , 59 , 35 , 100 ,
    35 , 141 , 35 , 181 , 35 , 220 , 36 , 5 , 36 , 46 ,
    36 , 85
    k230 data 36 , 127 , 36 , 166 , 36 , 207 , 36 , 248 ,
    37 , 31 , 37 , 72 , 37 , 113 , 37 , 153 , 37 , 194 ,
    37 , 235
    k240 data 38 , 18 , 38 , 60 , 38 , 99 , 38 , 140 ,
    38 , 181 , 38 , 221 , 39 , 6 , 39 , 47 , 39 , 87 ,
    39 , 128
    k250 data 39 , 169 , 39 , 210 , 39 , 250 , 40 , 35 ,
    40 , 76 , 40 , 116 , 40 , 157 , 40 , 199 , 40 , 240 ,
    41 , 23
    k260 data 41 , 64 , 41 , 106 , 41 , 147 , 41 , 187 ,
    41 , 228 , 42 , 14 , 42 , 55 , 42 , 96 , 42 , 136 ,
    42 , 177
    k270 data 42 , 219 , 43 , 4 , 43 , 45 , 43 , 85 ,
    43 , 126 , 43 , 168 , 43 , 209 , 43 , 251 , 44 , 36 ,
    44 , 76
    k280 data 44 , 117 , 44 , 159 , 44 , 200 , 44 , 242 ,
    45 , 27 , 45 , 67 , 45 , 110 , 45 , 150 , 45 , 191 ,
    45 , 233
    k290 data 46 , 18 , 43 , 27 , 46 , 101 , 46 , 143 ,
    46 , 184 , 46 , 224 , 47 , 10 , 47 , 51 , 47 , 93 ,
    47 , 134
    k300 data 47 , 176 , 47 , 218 , 48 , 3 , 48 , 45 ,
    48 , 86 , 48 , 128 , 48 , 169 , 48 , 211 , 48 , 251 ,
    49 , 38
    k310 data 49 , 80 , 49 , 120 , 49 , 163 , 49 , 203 ,
    49 , 245 , 50 , 30 , 50 , 72 , 50 , 114 , 50 , 155 ,
    50 , 197
    k320 data 50 , 239 , 51 , 4 , 51 , 66 , 51 , 108 ,
    51 , 149 , 51 , 191 , 51 , 233 , 52 , 18 , 52 , 60 ,
    52 , 102
    k330 data 52 , 145 , 52 , 185 , 52 , 227 , 53 , 14 ,
    53 , 56 , 53 , 96 , 53 , 139 , 53 , 181 , 53 , 223 ,
    54 , 9
    k340 data 54 , 50 , 54 , 92 , 54 , 134 , 54 , 176 ,
    54 , 217 , 55 , 3 , 55 , 45 , 55 , 86 , 55 , 128 ,
    55 , 170
    k350 data 55 , 212 , 55 , 255 , 56 , 41 , 56 , 83 ,
    56 , 125 , 56 , 167 , 56 , 209 , 56 , 250 , 57 , 36 ,
    57 , 78
    k360 data 57 , 120 , 57 , 163 , 57 , 205 , 57 , 247 ,
    58 , 33 , 58 , 75 , 58 , 116 , 58 , 158 , 58 , 200 ,
    58 , 242
    k370 data 59 , 28 , 59 , 71 , 59 , 113 , 59 , 155 ,
    59 , 197 , 59 , 239 , 60 , 24 , 60 , 66 , 60 , 108 ,
    60 , 150
    k380 data 60 , 194 , 60 , 236 , 61 , 21 , 61 , 63 ,
    61 , 105 , 61 , 147 , 61 , 189 , 61 , 233 , 62 , 19 ,
    62 , 60
    k390 data 62 , 102 , 62 , 144 , 62 , 187 , 62 , 230 ,
    63 , 15 , 63 , 57 , 63 , 100 , 63 , 141 , 63 , 184 ,
    63 , 227
    k400 data 64 , 12 , 64 , 55 , 64 , 97 , 64 , 140 ,
    64 , 181 , 64 , 224 , 65 , 10 , 65 , 53 , 65 , 94 ,
    65 , 137
    k410 data 65 , 180 , 65 , 221 , 66 , 7 , 66 , 50 ,
    66 , 93 , 66 , 134 , 66 , 178 , 66 , 219 , 67 , 6 ,
    67 , 49
    k420 data 67 , 90 , 67 , 133 , 67 , 175 , 67 , 218 ,
    68 , 5 , 68 , 46 , 68 , 88 , 68 , 131 , 68 , 174 ,
    68 , 215
    k430 data 69 , 3 , 69 , 44 , 69 , 87 , 69 , 130 ,
    69 , 172 , 69 , 215 , 70 , 0 , 70 , 43 , 70 , 86 ,
    70 , 128
    k440 data 70 , 171 , 70 , 214 , 71 , 0 , 71 , 41 ,
    71 , 84 , 71 , 127 , 71 , 170 , 71 , 212 , 71 , 255 ,
    72 , 40
    k450 data 72 , 83 , 72 , 125 , 72 , 168 , 72 , 211 ,
    72 , 254 , 73 , 40 , 73 , 83 , 73 , 124 , 73 , 168 ,
    73 , 209
    k460 data 73 , 252 , 74 , 39 , 74 , 81 , 74 , 124 ,
    74 , 167 , 74 , 209 , 74 , 252 , 75 , 39 , 75 , 80 ,
    75 , 124
    k470 data 75 , 165 , 75 , 208 , 75 , 251 , 76 , 37 ,
    76 , 80 , 76 , 123 , 76 , 165 , 76 , 208 , 76 , 251 ,
    77 , 38
    k480 data 77 , 80 , 77 , 123 , 77 , 164 , 77 , 208 ,
    77 , 249 , 78 , 36 , 78 , 79 , 78 , 121 , 78 , 164 ,
    78 , 207
    k490 data 78 , 250 , 79 , 36 , 79 , 79 , 79 , 122 ,
    79 , 164 , 79 , 207 , 79 , 250 , 80 , 35 , 80 , 79 ,
    80 , 122
    k500 data 80 , 163 , 80 , 207 , 80 , 250 , 81 , 35 ,
    81 , 79 , 81 , 120 , 81 , 163 , 81 , 207 , 81 , 248 ,
    82 , 35
    k510 data 82 , 79 , 82 , 120 , 82 , 163 , 82 , 207 ,
    82 , 248 , 83 , 35 , 83 , 78 , 83 , 120 , 83 , 163 ,
    83 , 206
    k520 data 83 , 248 , 84 , 35 , 83 , 253 , 84 , 121 ,
    84 , 162 , 84 , 206 , 84 , 249 , 85 , 35 , 85 , 78 ,
    85 , 121
    k530 data 85 , 163 , 85 , 206 , 85 , 249 , 86 , 35 ,
    86 , 78 , 86 , 121 , 86 , 162 , 86 , 206 , 86 , 249 ,
    87 , 34
    k540 data 87 , 78 , 87 , 121 , 87 , 162 , 87 , 206 ,
    87 , 249 , 88 , 34 , 88 , 78 , 88 , 121 , 88 , 162 ,
    88 , 206
    k550 data 88 , 247 , 89 , 34 , 89 , 77 , 89 , 119 ,
    89 , 162 , 89 , 205 , 89 , 248 , 90 , 34 , 90 , 77 ,
    90 , 120
    k560 data 90 , 162 , 90 , 205 , 90 , 248 , 91 , 34 ,
    91 , 77 , 91 , 120 , 91 , 161 , 91 , 205 , 91 , 248 ,
    92 , 33
    k570 data 92 , 77 , 92 , 118 , 92 , 161 , 92 , 205 ,
    92 , 246 , 93 , 33 , 93 , 76 , 93 , 118 , 93 , 161 ,
    93 , 204
    k580 data 93 , 246 , 94 , 33 , 94 , 76 , 94 , 117 ,
    94 , 161 , 94 , 202 , 94 , 245 , 95 , 33 , 95 , 74 ,
    95 , 117
    k590 data 95 , 160 , 95 , 202 , 96 , 88 , 96 , 32 ,
    96 , 84 , 96 , 117 , 96 , 158 , 96 , 201 , 96 , 244 ,
    97 , 30
    k600 data 97 , 73 , 97 , 116 , 97 , 157 , 97 , 201 ,
    97 , 242 , 98 , 29 , 98 , 72 , 102 , 90 , 98 , 157 ,
    98 , 200
    k610 data 98 , 241 , 99 , 29 , 99 , 70 , 99 , 113 ,
    99 , 156 , 99 , 198 , 99 , 241 , 100 , 26 , 100 , 70 ,
    100 , 111
    k620 data 100 , 154 , 100 , 197 , 100 , 239 , 105 , 2 ,
    101 , 67 , 101 , 110 , 101 , 153 , 101 , 195 , 101 , 238 ,
    102 , 23
    k630 data 102 , 66 , 102 , 109 , 102 , 151 , 102 , 194 ,
    102 , 235 , 103 , 22 , 103 , 64 , 103 , 107 , 103 , 148 ,
    103 , 191
    k640 data 103 , 234 , 104 , 19 , 104 , 63 , 104 , 104 ,
    104 , 147 , 104 , 190 , 104 , 232 , 105 , 17 , 105 , 60 ,
    105 , 103
    k650 data 105 , 144 , 105 , 187 , 105 , 229 , 106 , 16 ,
    106 , 57 , 106 , 100 , 106 , 141 , 106 , 184 , 106 , 226 ,
    107 , 13
    k660 data 107 , 54 , 107 , 97 , 107 , 138 , 107 , 182 ,
    107 , 223 , 108 , 10 , 108 , 51 , 108 , 94 , 108 , 135 ,
    108 , 94
    k670 data 108 , 220 , 109 , 7 , 109 , 48 , 109 , 91 ,
    109 , 132 , 109 , 175 , 109 , 216 , 110 , 3 , 110 , 44 ,
    110 , 86
    k680 data 110 , 129 , 110 , 172 , 110 , 213 , 111 , 0 ,
    111 , 0 , 111 , 41 , 111 , 84 , 111 , 167 , 111 , 210 ,
    111 , 251
    k690 data 112 , 38 , 112 , 79 , 112 , 122 , 81 , 99 ,
    112 , 204 , 112 , 247 , 113 , 32 , 113 , 75 , 113 , 117 ,
    113 , 158
    k700 data 113 , 201 , 113 , 242 , 114 , 29 , 114 , 70 ,
    114 , 113 , 114 , 154 , 114 , 195 , 114 , 238 , 115 , 23 ,
    115 , 66
    k710 data 115 , 107 , 115 , 148 , 115 , 191 , 115 , 232 ,
    116 , 18 , 116 , 61 , 116 , 101 , 113 , 111 , 116 , 186 ,
    116 , 227
    k720 data 117 , 12 , 117 , 55 , 117 , 96 , 117 , 137 ,
    117 , 180 , 117 , 221 , 118 , 6 , 118 , 49 , 118 , 90 ,
    118 , 133
    k730 data 118 , 174 , 118 , 215 , 119 , 2 , 119 , 43 ,
    119 , 84 , 119 , 125 , 119 , 168 , 119 , 209 , 119 , 250 ,
    120 , 37
    k740 data 120 , 77 , 120 , 119 , 120 , 161 , 120 , 202 ,
    120 , 243 , 121 , 30 , 121 , 71 , 121 , 112 , 121 , 153 ,
    121 , 196
    k750 data 121 , 237 , 122 , 22 , 122 , 63 , 122 , 106 ,
    122 , 147 , 122 , 188 , 122 , 229 , 123 , 16 , 123 , 57 ,
    123 , 97
    k760 data 123 , 140 , 123 , 181 , 123 , 222 , 124 , 7 ,
    124 , 48 , 124 , 89 , 124 , 132 , 124 , 173 , 124 , 213 ,
    125 , 0
    k770 data 125 , 40 , 125 , 82 , 125 , 124 , 125 , 164 ,
    125 , 206 , 125 , 246 , 126 , 33 , 126 , 73 , 126 , 115 ,
    126 , 155
    k780 data 126 , 197 , 126 , 238 , 127 , 24 , 127 , 188 ,
    127 , 106 , 127 , 146 , 127 , 188 , 127 , 229 , 128 , 15 ,
    128 , 55
    k790 data 128 , 97 , 128 , 137 , 128 , 179 , 128 , 219 ,
    129 , 5 , 129 , 46 , 129 , 86 , 129 , 128 , 129 , 168 ,
    129 , 210
    k800 data 129 , 250 , 130 , 36 , 130 , 76 , 130 , 118 ,
    130 , 159 , 130 , 199 , 130 , 241 , 131 , 25 , 131 , 67 ,
    131 , 107
    k810 data 131 , 149 , 131 , 189 , 131 , 231 , 132 , 15 ,
    132 , 55 , 132 , 97 , 132 , 137 , 132 , 178 , 132 , 220 ,
    133 , 4
    k820 data 133 , 45 , 133 , 86 , 133 , 126 , 133 , 168 ,
    133 , 208 , 133 , 248 , 134 , 34 , 134 , 74 , 134 , 116 ,
    134 , 156
    k830 data 134 , 196 , 134 , 238 , 135 , 22 , 135 , 62 ,
    135 , 104 , 135 , 144 , 135 , 184 , 135 , 226 , 136 , 10 ,
    136 , 50
    k840 data 136 , 92 , 136 , 132 , 136 , 183 , 136 , 213 ,
    136 , 254 , 137 , 37 , 137 , 79 , 137 , 120 , 137 , 159 ,
    137 , 201
    k850 data 137 , 241 , 138 , 25 , 138 , 65 , 138 , 107 ,
    138 , 147 , 138 , 187 , 138 , 227 , 139 , 11 , 139 , 53 ,
    139 , 92
    k860 data 139 , 134 , 143 , 150 , 139 , 214 , 139 , 254 ,
    140 , 38 , 140 , 80 , 140 , 120 , 140 , 160 , 140 , 200 ,
    137 , 9
    k870 data 137 , 49 , 141 , 65 , 141 , 105 , 141 , 145 ,
    141 , 185 , 141 , 227 , 142 , 10 , 142 , 50 , 142 , 90 ,
    142 , 132
    k880 data 142 , 172 , 142 , 212 , 142 , 251 , 143 , 35 ,
    143 , 77 , 143 , 117 , 143 , 157 , 143 , 196 , 143 , 236 ,
    144 , 22
    k890 data 144 , 60 , 144 , 101 , 144 , 142 , 144 , 181 ,
    144 , 221 , 145 , 5 , 145 , 45 , 145 , 86 , 145 , 126 ,
    145 , 166
    k900 data 145 , 206 , 145 , 245 , 146 , 29 , 146 , 69 ,
    146 , 109 , 146 , 150 , 146 , 190 , 146 , 230 , 147 , 14 ,
    147 , 53
    k910 data 147 , 93 , 147 , 133 , 147 , 172 , 147 , 212 ,
    147 , 252 , 148 , 36 , 148 , 77 , 148 , 117 , 140 , 203 ,
    148 , 196
    k920 data 148 , 236 , 149 , 20 , 117 , 252 , 149 , 99 ,
    118 , 75 , 149 , 179 , 149 , 218 , 150 , 2 , 150 , 42 ,
    119 , 17
    k930 data 150 , 121 , 150 , 161 , 150 , 200 , 150 , 240 ,
    151 , 23 , 151 , 63 , 151 , 103 , 151 , 142 , 151 , 182 ,
    151 , 222
    k940 data 152 , 5 , 152 , 45 , 152 , 84 , 152 , 124 ,
    152 , 164 , 152 , 203 , 152 , 252 , 153 , 27 , 153 , 66 ,
    153 , 106
    k950 data 153 , 146 , 153 , 185 , 153 , 225 , 154 , 8 ,
    154 , 46 , 154 , 87 , 154 , 125 , 154 , 166 , 154 , 204 ,
    154 , 244
    k960 data 155 , 27 , 155 , 66 , 155 , 106 , 155 , 146 ,
    155 , 185 , 155 , 225 , 156 , 8 , 156 , 48 , 156 , 87 ,
    156 , 125
    k970 data 156 , 164 , 156 , 204 , 156 , 243 , 157 , 27 ,
    157 , 67 , 157 , 106 , 157 , 145 , 157 , 183 , 157 , 222 ,
    158 , 6
    k980 data 158 , 45 , 158 , 85 , 158 , 124 , 158 , 162 ,
    158 , 203 , 158 , 241 , 159 , 24 , 159 , 61 , 159 , 103 ,
    159 , 141
    k990 data 159 , 100 , 159 , 219 , 160 , 3 , 160 , 42 ,
    160 , 82 , 160 , 121 , 160 , 159 , 160 , 198 , 160 , 238 ,
    161 , 21
    [/font]
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-28 21:47
    Here is an AD595 with a multiplexer:

    http://www.emesystems.com/thc4scm.gif
    http://www.emesystems.com/OWL2face.htm#THC4



    >Hey:
    >
    >Great info I have a similar problem however I was wondering in
    >regards to measuring more than one thermocouple. would putting the
    >different thermocouples through a multiplexer be okay or would you
    >suggest that I use 4 independant ad594's then feed those voltages
    >into an ADC0834. Or is there a different way to do this I would
    >greatly value any input
    >
    >Thank you
    >Aaron
    >
    >
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-29 02:54
    If you need instrumentation quality results from mux'ed T/C's, an isothermal
    block is needed to keep all your t/c wire to copper connections at a like
    temperature. I believe that's what Tracy's (excellent) documentation refers
    to as the 'reference'. What material you use, and the environment it will be
    mounted in should dictate the design. Even a simple block makes the need for
    s/w calibration much less and simpler.

    BTW, has anyone used the AD594/5' sensor break feature in a multiplexed
    application?

    Also a good catch by Tracy, the 595 is trimmed for type K, while the 594 is
    for JTC's.
    (I think I just used up my compliments for the day!!!)

    Chris

    >
    Original Message
    > From: Tracy Allen [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ilg8DB129bv2IEXOrSHRynf8JEZAtJ2sn7mcmNvsuSHS5SKcyY-Yls0FLWgfuzjZZewS3ViNQavLKg]tracy@e...[/url
    > Sent: Monday, May 28, 2001 4:47 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: Temperature control with a stamp
    >
    >
    > Here is an AD595 with a multiplexer:
    >
    > http://www.emesystems.com/thc4scm.gif
    > http://www.emesystems.com/OWL2face.htm#THC4
    >
    >
    >
    > >Hey:
    > >
    > >Great info I have a similar problem however I was wondering in
    > >regards to measuring more than one thermocouple. would putting the
    > >different thermocouples through a multiplexer be okay or would you
    > >suggest that I use 4 independant ad594's then feed those voltages
    > >into an ADC0834. Or is there a different way to do this I would
    > >greatly value any input
    > >
    > >Thank you
    > >Aaron
    > >
    > >
    > >
    > >
    > >Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-30 05:34
    Hello:

    Well I've taken alook at the datasheets for these products and they
    look like exactly what I need however I can't seem to find anybody
    online who has then in stock. i'm kinda new to hunting down chips but
    I tried all the major ones (radio Shack, DigiKey, and SEI) but only
    SEI said it was possible to order and I would have to buy 25. Any
    help would be greatly appreciated.

    Thank You
    Aaron


    --- In basicstamps@y..., Tracy Allen <tracy@e...> wrote:
    > Here is an AD595 with a multiplexer:
    >
    > http://www.emesystems.com/thc4scm.gif
    > http://www.emesystems.com/OWL2face.htm#THC4
    >
    >
    >
    > >Hey:
    > >
    > >Great info I have a similar problem however I was wondering in
    > >regards to measuring more than one thermocouple. would putting the
    > >different thermocouples through a multiplexer be okay or would you
    > >suggest that I use 4 independant ad594's then feed those voltages
    > >into an ADC0834. Or is there a different way to do this I would
    > >greatly value any input
    > >
    > >Thank you
    > >Aaron
    > >
    > >
    > >
    > >
    > >Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-30 06:05
    Aaron:
    I don't know what chips you are looking for, but goto
    http://www.findchips.com/

    Ray McArthur

    Original Message
    From: Aaron <snazzyguy2@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, May 30, 2001 12:34 AM
    Subject: [noparse][[/noparse]basicstamps] Re: Temperature control with a stamp


    > Hello:
    >
    > Well I've taken alook at the datasheets for these products and they
    > look like exactly what I need however I can't seem to find anybody
    > online who has then in stock. i'm kinda new to hunting down chips but
    > I tried all the major ones (radio Shack, DigiKey, and SEI) but only
    > SEI said it was possible to order and I would have to buy 25. Any
    > help would be greatly appreciated.
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-30 16:30
    Don't buy !! Always ask for samples if you need small quantities.
    They are free [noparse]:)[/noparse]


    --- In basicstamps@y..., "Aaron" <snazzyguy2@y...> wrote:
    > Hello:
    >
    > Well I've taken alook at the datasheets for these products and they
    > look like exactly what I need however I can't seem to find anybody
    > online who has then in stock. i'm kinda new to hunting down chips
    but
    > I tried all the major ones (radio Shack, DigiKey, and SEI) but only
    > SEI said it was possible to order and I would have to buy 25. Any
    > help would be greatly appreciated.
    >
    > Thank You
    > Aaron
    >
    >
    > --- In basicstamps@y..., Tracy Allen <tracy@e...> wrote:
    > > Here is an AD595 with a multiplexer:
    > >
    > > http://www.emesystems.com/thc4scm.gif
    > > http://www.emesystems.com/OWL2face.htm#THC4
    > >
    > >
    > >
    > > >Hey:
    > > >
    > > >Great info I have a similar problem however I was wondering in
    > > >regards to measuring more than one thermocouple. would putting
    the
    > > >different thermocouples through a multiplexer be okay or would
    you
    > > >suggest that I use 4 independant ad594's then feed those voltages
    > > >into an ADC0834. Or is there a different way to do this I would
    > > >greatly value any input
    > > >
    > > >Thank you
    > > >Aaron
    > > >
    > > >
    > > >
    > > >
    > > >Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
Sign In or Register to comment.