栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > C/C++/C#

arduino/Mixly使用MAX6675热电偶传感器

C/C++/C# 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

arduino/Mixly使用MAX6675热电偶传感器

一、器材

MAX6675

 

值得注意的是:MAX6675需要配合图中的温度探头一起使用,单独使用是不能获取温湿度的

测温范围:0度到1024度

温度分辨率:0.25度

工作电压:3.0V----5.5V

arduino uno

 二、接线
MAX6675arduino uno
VCC5V
GNDGND
SCKD6
CSD5
S0D4
三、程序

mixly程序

arduino代码

#include "max6675.h"

MAX6675 thermocouple(6, 5, 4);

void setup(){
  Serial.begin(9600);
  Serial.println("MAX6675 test");
  delay(500);
}

void loop(){
  Serial.print("C = ");
  Serial.println(thermocouple.readCelsius());
  Serial.print("F = ");
  Serial.println(thermocouple.readFahrenheit());
  delay(1000);

}
四、效果

 

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/691245.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号