Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2016-07-23 13:26:50

contactform
Member
Registered: 2015-10-30
Posts: 45

Thermocouple temperature readings

Is it possible to read the temperature off of a J type thermocouple (2 wire) using the Raspberry Pi with the Unipi add-on board. If so how/ with what function blocks. I am trying to get a graphical HMI to display the temperature data from a plastic extruder, and it already has J type termocouples in place, so I just want to pull the voltage off of those.

Offline

#2 2016-07-23 18:00:54

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Thermocouple temperature readings

No it is not. Reading a thermocouple needs a specialized amplifier, which is not present on the UniPi. Here is a link to a topic on UniPi forum, which deals with thermocouples: http://unipi.technology/forum/viewtopic.php?t=124

You might be interested e.g. in the Artila RIO-2018 Modbus module, which you can use to read up to 3 thermocouples via Modbus TCP.

Offline

#3 2016-07-23 21:00:26

tjbostian
Member
Registered: 2016-07-23
Posts: 5

Re: Thermocouple temperature readings

Then how does a one wire thermocouple (like in the thermostat example in the REXsample  folder) work?

Offline

#4 2016-07-24 15:17:29

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Thermocouple temperature readings

1-Wire temperature sensors are not thermocouples. The most common 1-Wire temperature sensor is DS18B20 and it is a digital device which measures the temperature and provides the data via the 1-Wire communication bus. 1-Wire is a trademark of Maxim Integrated.

On the contrary, a thermocouple (type J, K, etc.) is an analog device which requires circuitry to convert temperature reading into a digital form. One of the most common thermocouple-to-digital converters is Maxim MAX31855.

The UniPi contains a 1-Wire bus master, therefore it is possible to connect 1-Wire temperature sensors directly. But it does not contain any thermocouple-to-digital converter, therefore connecting thermocouples to UniPi is not possible.

Hope this helps! If you need additional information, just let me know.

Offline

#5 2016-07-24 20:06:47

tjbostian
Member
Registered: 2016-07-23
Posts: 5

Re: Thermocouple temperature readings

Could you use the analog inputs on the Arduino to measure the voltage off the thermocouple? I have limited space in this project, and I'm trying to keep the number of breakout boards and daughter boards to a minimum. So by hooking up the Arduino like in this example https://www.rexcontrols.com/articles/re … ts-arduino could I read analog  data from it?

Offline

#6 2016-07-25 14:32:34

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Thermocouple temperature readings

You would need an amplifier again, e.g. like this one: http://www.ebay.com/itm/Quad-Channel-J- … 1438662460 Should work almost out of the box.

But it involves 2x A/D conversion, which is uneffective, so it's better to use e.g. this one: http://www.playingwithfusion.com/produc … hp?pdid=31 which you can connect directly to the RPi via SPI (when UniPi is not present) or to the Arduino via SPI and then via USB to RPi (when UniPi occupies the pins of the Raspberry Pi). In both cases a bit of hand-coding will be necessary.

Offline

Board footer

Powered by FluxBB