TEMPERATURE MEASUREMENT BY PT-100

PT100 temp

The code can be downloaded at:

https://github.com/triantara/ARDUINO-TRIANTARA/blob/main/PT-100.zip

/*

In this project we use LM324 chip for amplify signal from RTD PT100, amplified signal than go to ADS1015 for increase digital resolution.

*/

#include <Wire.h>

#include <Adafruit_ADS1015.h>

Adafruit_ADS1115 ads(0x48);

int temp0;

void setup() {

Serial.begin(9600);

ads.begin();

}

void loop() {

int16_t adc0; // we read from the ADC, we have a sixteen bit integer as a result

adc0 = ads.readADC_SingleEnded(0);

temp0 = adc0;

float fhrt = (temp0*0.0466)-671.48;//from calabration plot

Serial.print(temp0);

Serial.print(” “);

Serial.println(fhrt);

delay(500);

}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s