Parallax DS2760 Thermocouple Module

Hi

Is this ds2760 based thermocouple module supported in openenergymonitor?

 

Br Tomi

Robert Wall's picture

Re: Parallax DS2760 Thermocouple Module

According to Google, people have done it using the 1-wire interface so probably yes, but I don't know of anyone who has done it. If it does indeed use the same protocol as the Maxim sensor from the shop, then it should work, though there appears there is some debate about the correct supply voltage.

Tomis's picture

Re: Parallax DS2760 Thermocouple Module

Hi

I already bought this Thermocouple kit and my plan is to measure exhaust fumes from wood heating boiler.

I know this is used in one wire systems but when inspecting this emontx etc. I was wondering is it suitable. I presume it would need some sw to show the real temperature at least.

 

 

Robert Wall's picture

Re: Parallax DS2760 Thermocouple Module

You will find the basic software (for the shop temperature probe) in GitHub. According to what I read in Google, you'll need to provide some maths to convert the numbers into usable temperatures.

Note that the convention for the emonTx/emonCMS/emonGLCD is to transmit temperature as an integer in units of 0.01 °C.

Tomis's picture

Re: Parallax DS2760 Thermocouple Module

I tried to use temperatur_Search sketch with this DS2760 but I didnt got any address.

 

Could somebody help me with this?

http://reprap.org/wiki/TechZone_A-D_With_OneWire

ok now i got the address but normal   emontx.T2 = sensors.getTempC(address_T2) * 100; wont give anything..

Robert Wall's picture

Re: Parallax DS2760 Thermocouple Module

The software designed for the DS18B20 may not work. I have not checked, the DS2760 might have a completely different command set to the DS18B20.

Disclaimer: I do not know anything about the sensor you are using, nor the  DS2760. Here is what I would try:

Download the library and the firmware and modify it according to http://reprap.org/wiki/TechZone_A-D_With_OneWire  but not including Debugging tools (unless you have an oscilloscope to see and interpret the output).

In loop() call the function
    internalTemperature( ) 
and Serial.print( ) the value. If you get credible numbers, then (and only then) you can work what you have into the standard emonTx sketch.

Tomis's picture

Re: Parallax DS2760 Thermocouple Module

Hi

Now i found some code.I am not a coder so can you give me some guides how to import that to my code....

 

http://arduino.cc/forum/index.php?topic=12474.0

Robert Wall's picture

Re: Parallax DS2760 Thermocouple Module

Tomi, I think you need to learn about C++.  I could send you to an English website, but you might find it easier to learn in your native language.

Now I do not know what your code looks like, if you mean you want to import the code in the Arduino forum, then dstc() is a stand-alone function and it needs to be put at the very end of your sketch. So copy all the code in that link and paste it into your sketch. Then:

At the top of your sketch, before startup( ), you need to add:

float tF;

where you have

emontx.T2 = sensors.getTempC(address_T2) * 100;

I think you must write:

dstc();
emontx.T2 = tF * 100;

If after that you write

Serial.print("Temperature (F) = "); Serial.println(tF);

this should work and give you the temperature in Fahrenheit. (If the temperature is 20.5°C, you should read 68.9).  If you want it in degrees Celsius, you must delete the line

tF=tF*9.0/5.0+32.0;

 

Tomis's picture

Re: Parallax DS2760 Thermocouple Module

Hi Robert and thanks! I am learning all the time and I was quite close like your code. I am just better with electronics and mechanics than coding ;)

 

Tomis's picture

Re: Parallax DS2760 Thermocouple Module

Yess...  I got it working. Thanks!

Robert Wall's picture

Re: Parallax DS2760 Thermocouple Module

Excellent! Well done.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.