AD8495 Breakout Board + Arduino Atmega + K-type TC

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
lucypaw
 
Posts: 2
Joined: Wed Nov 11, 2015 8:34 pm

AD8495 Breakout Board + Arduino Atmega + K-type TC

Post by lucypaw »

Hello everyone,

I am trying to connect my AD8495 Analog output TC amplifier to a K-type thermocouple, which is then connected to my Arduino Atmega2560. I am not sure if I'm connecting the pins correctly. I am sure my code is correct.

Pin connections (in order seen on the board):
V+ -> 5V on the Arduino
GND -> GND on Arduino
Out -> A0
GND -> GND on Arduino

TC connection is straightforward.

Code:

Code: Select all


//**Global Variables**//

//analog input voltage from AD8495
float voltage;

//temperature variable
float temp;

//Analog voltage input pin
int tpin = A0;


void setup() {
  //Initialize serial print to display temperature
  Serial.begin(9600);


}

void loop() {
  
  //Read voltage coming from AD8495
  voltage = analogRead(tpin);
  float vout = (voltage * 5.0)/ 1023.0; 

  //Convert to temperature
  temp = (vout - 1.25) / .005 ;
  Serial.prinln(temp); 
  delay(1000);

}
So for some reason my Serial monitor is displaying "41.3" that slightly fluctuates. At one point, when I would put my hand on the TC it would increase in 1 degree increments. It should be room temperature. I am also confused as to why there are two grounds? Should I be using one as a Vref? Or maybe there is noise in the breadboard that I'm using?

I've attached a photo of my circuit

Thank you for your time. I greatly appreciate any help.
Attachments
Here is an image of my circuit.
Here is an image of my circuit.
IMAG1304.jpg (498.06 KiB) Viewed 532 times

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: AD8495 Breakout Board + Arduino Atmega + K-type TC

Post by adafruit_support_mike »

Have you soldered the pin header into the holes on the breakout?

User avatar
lucypaw
 
Posts: 2
Joined: Wed Nov 11, 2015 8:34 pm

Re: AD8495 Breakout Board + Arduino Atmega + K-type TC

Post by lucypaw »

Hi, sorry for replying late, yes I soldered them onto there. I consider myself an experienced solderer but maybe I damaged the board?

Thank you.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: AD8495 Breakout Board + Arduino Atmega + K-type TC

Post by adafruit_support_mike »

Check the voltage on the output pin with a voltmeter. See if that reading corresponds to the value you're getting from the Arduino's analog pin.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”