用户工具

站点工具


ocrobot:alpha:pt100:main

ALPHA PT100 电阻式温度传感器模块

测量范围:-200℃~+850℃ A级 精度为(0.15+0.002*|t|)摄氏度;

测量范围: -50℃至+150℃(标准传感器) -80℃至+100℃(低温传感器) 0℃至+400℃(高温传感器) 测量精度(根据传感器类型):±0.05℃至±0.5℃

传感器长度:标准为10-200mm

传感器直径(根据传感器类型):2mm – 3mm

测量点位置(与传感器头部距离):圆头:3mm 尖头:6mm

分辨率:0.01℃

反应时间(63%):1秒(高温)0.5秒(其他)

特点

芯片为MAX3186

传感器采用进口PT100 德国贺利氏铂电阻

线是三线制高温镀银(三芯镀银线+镀银屏蔽线)

四氟外皮(双包铁氟龙)耐高温达180度  

参数

参考图片

例程

/*************************************************** 
  This is a library for the Adafruit PT100/P1000 RTD Sensor w/MAX31865
  Designed specifically to work with the Adafruit RTD Sensor
  ----> https://www.adafruit.com/products/3328
  This sensor uses SPI to communicate, 4 pins are required to  
  interface
  Adafruit invests time and resources providing this open source code, 
  please support Adafruit and open-source hardware by purchasing 
  products from Adafruit!
  Written by Limor Fried/Ladyada for Adafruit Industries.  
  BSD license, all text above must be included in any redistribution
 ****************************************************/
 
#include <Adafruit_MAX31865.h>
 
// Use software SPI: CS, DI, DO, CLK
Adafruit_MAX31865 max = Adafruit_MAX31865(10, 11, 12, 13);
// use hardware SPI, just pass in the CS pin
//Adafruit_MAX31865 max = Adafruit_MAX31865(10);
 
// The value of the Rref resistor. Use 430.0 for PT100 and 4300.0 for PT1000
#define RREF      390.0    
//OCROBOT ALPHA PT100需要改成390的电阻
// The 'nominal' 0-degrees-C resistance of the sensor
// 100.0 for PT100, 1000.0 for PT1000
#define RNOMINAL  100.0
 
void setup() {
  Serial.begin(115200);
  Serial.println("Adafruit MAX31865 PT100 Sensor Test!");
 
  max.begin(MAX31865_3WIRE);  // set to 2WIRE or 4WIRE as necessary
}
 
 
void loop() {
  uint16_t rtd = max.readRTD();
 
  Serial.print("RTD value: "); Serial.println(rtd);
  float ratio = rtd;
  ratio /= 32768;
  Serial.print("Ratio = "); Serial.println(ratio,8);
  Serial.print("Resistance = "); Serial.println(RREF*ratio,8);
  Serial.print("Temperature = "); Serial.println(max.temperature(RNOMINAL, RREF));
 
  // Check and print any faults
  uint8_t fault = max.readFault();
  if (fault) {
    Serial.print("Fault 0x"); Serial.println(fault, HEX);
    if (fault & MAX31865_FAULT_HIGHTHRESH) {
      Serial.println("RTD High Threshold"); 
    }
    if (fault & MAX31865_FAULT_LOWTHRESH) {
      Serial.println("RTD Low Threshold"); 
    }
    if (fault & MAX31865_FAULT_REFINLOW) {
      Serial.println("REFIN- > 0.85 x Bias"); 
    }
    if (fault & MAX31865_FAULT_REFINHIGH) {
      Serial.println("REFIN- < 0.85 x Bias - FORCE- open"); 
    }
    if (fault & MAX31865_FAULT_RTDINLOW) {
      Serial.println("RTDIN- < 0.85 x Bias - FORCE- open"); 
    }
    if (fault & MAX31865_FAULT_OVUV) {
      Serial.println("Under/Over voltage"); 
    }
    max.clearFault();
  }
  Serial.println();
  delay(1000);
}

下载

数据手册:

原理图:ALPHA PT100 原理图

PT100库

ocrobot/alpha/pt100/main.txt · 最后更改: 2023/06/07 04:23 由 127.0.0.1