Interfacing the NEG RGB LCD to display thermocouple readings from MAX 31855

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Interfacing the NEG RGB LCD to display thermocouple readings from MAX 31855

Postby odoyo » Thu Jun 14, 2012 11:30 pm

can anybody help with the sketch for interfacing the RGB LCD shield with the MAX 31855 amplifier to get thermocouple readings using a stand alone arduino uno.
odoyo
 
Posts: 5
Joined: Thu Jun 14, 2012 1:41 pm

Re: Interfacing the NEG RGB LCD to display thermocouple readings from MAX 31855

Postby adafruit_support_bill » Fri Jun 15, 2012 5:05 am

What help do you need? Post your current sketch and describe what it does or doesn't do for you.
User avatar
adafruit_support_bill
 
Posts: 15938
Joined: Sat Feb 07, 2009 9:11 am

Re: Interfacing the NEG RGB LCD to display thermocouple readings from MAX 31855

Postby odoyo » Fri Jun 15, 2012 3:07 pm

I was just using the example for the max 31855 to get the thermocoulple reading and was getting weird results of like 6 degrees and -200 while I'm at a room temperature of about 24.
Code: Select all
#include "Adafruit_MAX31855.h"

int thermoDO = 3;
int thermoCS = 4;
int thermoCLK = 5;

Adafruit_MAX31855 thermocouple(thermoCLK, thermoCS, thermoDO);
 
void setup() {
  Serial.begin(9600);
 
  Serial.println("MAX31855 test");
  // wait for MAX chip to stabilize
  delay(500);
}

void loop() {
  // basic readout test, just print the current temp
   Serial.print("Internal Temp = ");
   Serial.println(thermocouple.readInternal());

   double c = thermocouple.readCelsius();
   if (isnan(c)) {
     Serial.println("Something wrong with thermocouple!");
   } else {
     Serial.print("C = ");
     Serial.println(c);
   }
   //Serial.print("F = ");
   //Serial.println(thermocouple.readFarenheit());

   delay(1000);

is something wrong with the library or is their something i need to change?
odoyo
 
Posts: 5
Joined: Thu Jun 14, 2012 1:41 pm

Re: Interfacing the NEG RGB LCD to display thermocouple readings from MAX 31855

Postby adafruit_support_bill » Sat Jun 16, 2012 4:30 am

The thermocouple amplifier is very sensitive and the readings can be affected by electrical noise. Keep the thermocouple probe away from other wiring and use the shortest wire possible.
User avatar
adafruit_support_bill
 
Posts: 15938
Joined: Sat Feb 07, 2009 9:11 am


Re: Interfacing the NEG RGB LCD to display thermocouple readings from MAX 31855

Postby adafruit_support_bill » Sat Jun 16, 2012 1:06 pm

Looks like there was a bug in the 31855 library.

That affected readings below 0C (32F)
User avatar
adafruit_support_bill
 
Posts: 15938
Joined: Sat Feb 07, 2009 9:11 am

Re: Interfacing the NEG RGB LCD to display thermocouple readings from MAX 31855

Postby Scirocco » Sat Jun 23, 2012 11:44 pm

Hello,

I'm getting very similar results to the OP. -2000 deg C, to about 10 deg C at room temperature. It seems like it's discontinuous between -2000 to 6 deg C, switching back and forth rapidly. Was there ever a resolution to the problem?

Scirocco
Scirocco
 
Posts: 1
Joined: Wed May 16, 2012 2:44 pm

Re: Interfacing the NEG RGB LCD to display thermocouple readings from MAX 31855

Postby adafruit_support_bill » Sun Jun 24, 2012 5:59 am

The amp is very sensitive to noise, which can result in unstable readings. You can try putting a 0.1uF or 0.01uF capacitor in parallel with the thermocouple probe in the screw-terminal block to tame the noise.
User avatar
adafruit_support_bill
 
Posts: 15938
Joined: Sat Feb 07, 2009 9:11 am

Re: Interfacing the NEG RGB LCD to display thermocouple readings from MAX 31855

Postby adafruit » Wed Jun 27, 2012 1:02 pm

Scirocco wrote:Hello,

I'm getting very similar results to the OP. -2000 deg C, to about 10 deg C at room temperature. It seems like it's discontinuous between -2000 to 6 deg C, switching back and forth rapidly. Was there ever a resolution to the problem?

Scirocco


make sure to download the latest library - we had a few bugs with negative temp readings. delete the old library completely
User avatar
adafruit
 
Posts: 10483
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc


Return to General Project help

Who is online

Users browsing this forum: adafruit_support_bill, frontside180, Google [Bot] and 7 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [102]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]
cron