[] 66 kinds of sensors Arduino series of experiments (5) --- thermistor temperature sensor module

Paragraph 37 and reference sensor module, widely circulated on the Internet, in fact, compatible with Arduino sensor module must be more than 37 species. Since I am on hand accumulated some sensor module, in accordance with the practice (try hands) the idea of true knowledge, learning and communication for the purpose, one by one here ready to do some experiments, regardless of success, little progress will be recorded --- or do not weigh the issue, hoping to initiate. 


Experiment 5: thermistor temperature sensor module


kind photo hand this module

 

 

The thermistor is a type of sensitive elements, divided according to different temperature coefficient thermistor positive temperature coefficient (PTC) and a negative temperature coefficient thermistor (NTC). A typical characteristic thermistor is sensitive to temperature, exhibiting different resistance values at different temperatures. Positive temperature coefficient thermistor (PTC) at the higher the temperature the greater the resistance value of the negative temperature coefficient thermistor (NTC) at higher temperature, the lower the resistance value, which belong to the semiconductor device. The main characteristics of thermistors are: ① high sensitivity, temperature coefficient of resistance than the above metal is 10 to 100 times, can detect the temperature change of 10-6 ℃; wide operating temperature range ②, the device is suitable for normal -55 ℃ ~ 315 ℃, high-temperature devices suitable temperature higher than 315 deg.] C (2000 deg.] C up to the highest), the device is suitable for low deg.] C ~ -55 deg.] C -273; ③ small size, it is possible to measure other thermometer can not measure the gap, and the cavity the temperature of a biological body vessel; ④ easy to use, the resistance value can be arbitrarily selected between 0.1 ~ 100kΩ; ⑤ easily processed into complex shapes, can be mass; good ⑥ stability, strong overload.








 

热敏电阻主要应用
热敏电阻也可作为电子线路元件用于仪表线路温度补偿和温差电偶冷端温度补偿等。利用NTC热敏电阻的自热特性可实现自动增益控制,构成RC振荡器稳幅电路,延迟电路和保护电路。在自热温度远大于环境温度时阻值还与环境的散热条件有关,因此在流速计、流量计、气体分析仪、热导分析中常利用热敏电阻这一特性,制成专用的检测元件。PTC热敏电阻主要用于电器设备的过热保护、无触点继电器、恒温、自动增益控制、电机启动、时间延迟、彩色电视自动消磁、火灾报警和温度补偿等方面。

 

模块使用说明:
1、热敏电阻模块对环境温度很敏感,一般用来检测周围环境的温度;
2、通过对电位器的调节,可以改变温度检测的阀值(即控制温度值),如需要控制环境温度为50度时,模块则在相应环境温度调到其绿灯亮,DO则输出低电平,低于此设定温度值时,输出高电平,绿灯不亮;
3、DO输出端可以与Arduino uno数字3脚直接相连,通过Arduino uno来检测高低电平,由此来检测环境的温度改变;
4、DO输出端也能直接驱动继电器模块,由此可以组成一个温控开关,控制相关设备的工作温度,也可以接风扇用来散热等;
5、本模块的温度检测范围为20-80摄氏度;
6、本模块也可以换成带有线的温度传感器,用于水温,水箱等的控制
7、小板模拟量输出AO可以和Arduino uno模拟输入A0端相连,通过AD转换,可以获得环境温度更精准的数值。

 

 

模块电原理图

实验五:热敏电阻温度传感器模块实验程序

实验五:热敏电阻温度传感器模块实验逻辑流程图

/*
  【Arduino】66种传感器模块系列实验(5)
    ---热敏电阻温度传感器模块
*/
 
void setup() {
  pinMode(3,INPUT); 
  pinMode(12,OUTPUT); 
}
 
void loop() {
  if (digitalRead(3)) {
    digitalWrite(12, LOW);
  }
  else {
    digitalWrite(12, HIGH);
    delay(2000);
  }
}

  

Guess you like

Origin www.cnblogs.com/eagler8/p/11260316.html