专家
公告
财富商城
电子网
旗下网站
首页
问题库
专栏
标签库
话题
专家
NEW
门户
发布
提问题
发文章
51单片机
热敏电阻测量温度“分压后,用AD取值”是怎么回事?
2020-02-05 09:02
发布
×
打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮
站内问答
/
51单片机
10908
30
30
我想用热敏电阻做一个简易温度计,在坛子里找了好久,具体思路是有了,把热敏电阻的阻值转换成AD相对应的码,用查表法测量温度,但是实际操作起来就来麻烦了,它是用电阻值转换过来的,不明白热敏电阻要和AD如何连接呢?“分压后,用AD取值”是什么意思呢??
友情提示:
此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
30条回答
baoxiuqiang520
2020-02-07 06:53
请问这两组数据对应的是什么啊?温度值??哪组是?还有一组呢??uint code ad_date[]={
1060,1060,1060,1100,1120,1140,1166,1180,1200,1220,
1240,1320,1340,1360,1380,1400,1420,1440,1460,1480,
1500,1520,1540,1560,1580,1600,1620,1640,1660,1680,
1700,1720,1740,1760,1780,1800,1820,1840,1840,1860,
1880,1900,1920,1940,1960,1980,2000,2020,2040,2060,
2080,2100,2120,2140,2160,2180,2200,2220,2240,2260,
2280,2300,2320,2340,2360,2380,2400,2420,2440,2460,
2480,2500,2520,2540,2560,2580,2600,2620,2640,2660,
2680,2700,2720,2740,2760,2780,2800,2820,2840,2860,
2880,2900,2920,2920,2940,2960,2980,3000,3020,3040,
3060,3080,3100,3120,3140,3160,3180,3200,3220,3240,
3260,3280,3300,3320,3340,3360,3380,3400,3420,3440,
3460,3480,3500,3520,3540,3560,3580,3600,3620,3640,
3660,3680};
uint code temperiture[]={
594,593,586,580,579,560,564,559,552,545,
541,518,513,508,503,497,491,488,483,480,
473,468,463,458,455,451,447,440,434,433,
430,425,420,416,413,409,404,401,401,396,
390,386,382,378,374,372,368,364,361,357,
354,351,347,343,340,336,333,328,326,322,
319,316,313,309,307,303,300,296,294,289,
286,283,280,276,274,271,267,264,260,257,
253,249,246,243,240,237,233,231,228,224,
222,219,214,216,211,209,206,202,198,194,
187,184,181,178,175,171,168,164,161,158,
154,152,148,146,142,139,136,133,130,126,
124,121,116,114,112,108,102,98,96,94,89,86};
uchar code table[]=" T:00.0`C";
uchar num=0;
uchar keynum,max=40,min=0;
uchar code Temp_max[]=" Max:40`C",Temp_min[]=" Min:00`C";
加载中...
查看其它30个回答
一周热门
更多
>
相关问题
【东软载波ESF0654 PDS开发板活动】开箱
1 个回答
东软载波ESF0654 PDS开发板外部中断
1 个回答
东软载波ESF0654 PDS开发板高级控制定时器AD16C4T
1 个回答
用串口调试助手为什么只能在hex模式接收发送而在文本模式不行
9 个回答
触摸芯片SC02B/SC04B在地砖灯的设计方案
1 个回答
相关文章
51单片机与蓝牙模块连接
0个评论
51单片机的硬件结构
0个评论
基于51单片机的无线遥控器制作
0个评论
51单片机 AD转换
0个评论
51单片机数码管递增显示
0个评论
如何实现对单片机寄存器的访问
0个评论
基于51单片机的指纹密码锁
0个评论
×
关闭
采纳回答
向帮助了您的知道网友说句感谢的话吧!
非常感谢!
确 认
×
关闭
编辑标签
最多设置5个标签!
51单片机
保存
关闭
×
关闭
举报内容
检举类型
检举内容
检举用户
检举原因
广告推广
恶意灌水
回答内容与提问无关
抄袭答案
其他
检举说明(必填)
提交
关闭
×
打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮
×
付费偷看金额在0.1-10元之间
确定
×
关闭
您已邀请
0
人回答
查看邀请
擅长该话题的人
回答过该话题的人
我关注的人
1060,1060,1060,1100,1120,1140,1166,1180,1200,1220,
1240,1320,1340,1360,1380,1400,1420,1440,1460,1480,
1500,1520,1540,1560,1580,1600,1620,1640,1660,1680,
1700,1720,1740,1760,1780,1800,1820,1840,1840,1860,
1880,1900,1920,1940,1960,1980,2000,2020,2040,2060,
2080,2100,2120,2140,2160,2180,2200,2220,2240,2260,
2280,2300,2320,2340,2360,2380,2400,2420,2440,2460,
2480,2500,2520,2540,2560,2580,2600,2620,2640,2660,
2680,2700,2720,2740,2760,2780,2800,2820,2840,2860,
2880,2900,2920,2920,2940,2960,2980,3000,3020,3040,
3060,3080,3100,3120,3140,3160,3180,3200,3220,3240,
3260,3280,3300,3320,3340,3360,3380,3400,3420,3440,
3460,3480,3500,3520,3540,3560,3580,3600,3620,3640,
3660,3680};
uint code temperiture[]={
594,593,586,580,579,560,564,559,552,545,
541,518,513,508,503,497,491,488,483,480,
473,468,463,458,455,451,447,440,434,433,
430,425,420,416,413,409,404,401,401,396,
390,386,382,378,374,372,368,364,361,357,
354,351,347,343,340,336,333,328,326,322,
319,316,313,309,307,303,300,296,294,289,
286,283,280,276,274,271,267,264,260,257,
253,249,246,243,240,237,233,231,228,224,
222,219,214,216,211,209,206,202,198,194,
187,184,181,178,175,171,168,164,161,158,
154,152,148,146,142,139,136,133,130,126,
124,121,116,114,112,108,102,98,96,94,89,86};
uchar code table[]=" T:00.0`C";
uchar num=0;
uchar keynum,max=40,min=0;
uchar code Temp_max[]=" Max:40`C",Temp_min[]=" Min:00`C";
一周热门 更多>