Thermocouple's
$WMc%
Posts: 1,884
I really need a why to read and display the values of various T/C's. Type "K","J", etc...My attempts at amplifying a millivolt or microvolt signal to a TTL level have all failed. I just can't get any reasonable accuracy from my design.
'
I have 2 DS27xxxx units that Parallax use to sell but discontinued. It was my understanding that the chip maker quit making the chip. This little guy worked great .
'
Could your Engineers come up with something else to work with the Stamp and Prop. ????
'
'
I have 2 DS27xxxx units that Parallax use to sell but discontinued. It was my understanding that the chip maker quit making the chip. This little guy worked great .
'
Could your Engineers come up with something else to work with the Stamp and Prop. ????
'
Comments
This is the sort of application where an electrically isolated A/D converter really shines. Battery operated single channel meters can cheat and make the whole device an isolated circuit but once the circuit has a second point of reference then the converter itself is in need of being isolated.
Insulating the whole probe usually helps a lot with this issue but it's still not noise-free and it brings with it slower thermal response, bulkier probes, another point of failure, and likely a smaller working temperature range. Isolated A/D is the superior method.
http://archives.sensorsmag.com/articles/0102/29/main.shtml
The DS2760 1-wire family is/was meant as a Li battery monitor. The thermocouple hack uses the sensitive voltage input (+/-64mV, 15µV per bit) meant for the current shunt, and the built-in reference temperature sensor. The program code calculates the working temperature based on the voltage and reference temperature readings.
I agree with evanh, there are trick pitfalls in instrumenting with thermocouples. Best to avoid the noise by insulating, shielding and so on. Noise that comes in has to stay within the common mode range of the amplifier, best a differential input at Vsupply/2, with balanced impedance, finally, isolation for difficult situations. On the other hand, some situations are not that difficult. The DS2760 hack did not use any of that. The thermocouple was connected single ended to ground and to the sense input. There are better alternatives.
This chip might be tricky to use with the Stamp, but not impossible.
'
Just what I was looking for.
'
My project is food based as well. I'm working on controlling the Temp. of a smoker/Grill.
'
Grainger, McMaster-Carr, Newark, Are just a few places you can find jacketed T/C's. The jacket is either 304 SS or 316 SS. They can range from 1/16" dia. to 1/2" and almost any length. I normally use type "k" just because I have a roll of this type T/C cable, And tend to make my own probs.
'
I'll check out this MAX31855 in more detail
'
Thanks again
Try EGT http://www.exhaustgas.com, I bet they could make you a thermocouple with a stainless steel sheath to your specs,
.
Bill M.
www.watlow.com/
www.thermx.com/
www.pyromation.com/
the stamp and propeller so long as you don't try to measure your temps in less than 1/4
second intervals.
Tracy Allen has good max6675 code for the basic stamp on his web site.
If you want to use the mini type k connectors like what Omega sells, http://www.newark.com
sells individual pieces from Omega, so you don't have to purchase a bag of 100.
Bill M.
Ken Gracey
I took a quick look at the max31855 and didn't see anyway to move the cold junction away from the chip. That would mean extending the thermocouple wires close enough to the chip
so that the "cold junction" is at the same temperature as the chip. The best thing to do would be to mount the chip to the input jack itself.
I think BS2 code for this chip should be no more difficult than it is for the MAX6625. For the Stamp, the interface would need 3.3 volts and level shifting on CS\ and SCK.
Were did you get the break-out board?
I purchased a set of the above a while ago. I soldered headers to the MAX31855 board just two days ago. I haven't tried using it with the Prop yet but I doubt it will be very hard to do so since Jon has already done the work of writing a driver.
'
I'll check Adafruit out for this board.
'
As I start to really get into this, I find I need more and more Temperature readings and locations...This is Propeller territory.
Remember to connect the thermocouple wires (or thermocouple extension wire) directly to the connector soldered to the board.
The Adafruit description is wrong about the chips having different pinout. They are the same in that respect, although the programing is a bit different.
'
When my order shows up, I'll test this chip against a Fluke 744 for accuracy.
'
All I really need is a 1/4 % accuracy.
'
I wrote a BS2 code for the MAX31855. It has a 3.3v pin and a Vin pin. Vin,CS, SO, and CLK pins are good for 6.3v MAX. The code is real short and real simple. I tested it for accuracy with a 724 Fluke meter. 0.15% accuracy from 0`C to 1025`C. Note it will not read below 0`C.
'
This is the MAX6675 to MAX31855 upgrade board from Adafruit.
'
Well I tried the code. It works great. I'm a little puzzled at how. All I see is whole numbers with my Oscope looking at the data out from the MAX31855?
'
I don't have the Fluke 724 with me to test below 0`C readings, I'll bring it home tomorrow and do some more testing.
I'm not sure what you mean by, "All I see is whole numbers with my Oscope looking at the data out from the MAX31855?". The digital output of the sensor a whole number with one bit representing a unit of 0.25°C.
I realized that my code in post#25 will go up to 655.25°C and then go wacky due to 16 bit overflow. I'd want to redo it to round off to tenths of a degree instead of hundredths, or to 0.5°C resolution instead of 0.25°C.
'
Brought the Fluke 724 home. Your code is good to 334 C`. It's way off after that. The F` reading is lost at 328`C...reads -167`F...0`C reads 1.25`C....-10`C reads -8.25`C...-100`C = -84.75`C...-200`C reads -141.00`C.
'
This isn't bad when you don't have a chip to play with, (Or an $800 calibrator)
'
-200`C is as low as the Fluke will go with a type "K" T/C.
I see why it stopped at about 327 °C. That is when it hits the 32768 limit for positive values in 16 bit 2s complement math. I was thinking 655 degrees, but that would be for straight unsigned math.
I'm not at all surprised about the errors you found at negative values. Here is the sensitivity curve of a type K thermocouple.
The sensitivity drops off like a rock below freezing. Yet the Maxim chip assumes a constant 41.3 µV per °C. Your Fluke calibrator feeds it the correct values, which the chip then vastly underestimates. You'd have to write a correction table on the Stamp to account for that. Same thing if you want the best accuracy over the whole range, to compensate for nonlinearity.
'
This is why I asked about a look-up chart in an earlier post (nothing real linear about a T/C). I couldn't believe MAXIM was claiming this range of Temp. with out a chart using only 41.3µV per °C to come up with a reading.
'
If you just need 0`C to 1025`C, My code works well and is accurate.