这是我用MCS-51单片机设计的一个空调机的温控系统。具体要求及功能如下:
① 实时测量环境温度,并显示当前温度值。
② 当室温度高于设定温度,压缩机运转,使室温降低。
③ 当室温低于设定温度,压缩机停止运转。
④ 温度设定功能,通过按键输入压缩机启停的温度设定值。设定温度过程中显示设定温度值,以便于操作。设定完毕后,改为显示当前测定温度值。本设计较为详细硬软件齐全
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001800s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.101645s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001154s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001490s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001069s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003701s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000896s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.004329s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.016809s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001131s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 424645 [ RunTime:0.015550s ]