红外遥控有发送和接收两部分组成。发送端采用单片机将待发送的二进制信号编码调制为一系列的脉冲信号,通过红外发射管发射红外信号。红外接收完成对红外信号的接收,放大,检波,整形,并输出遥控编码脉冲。为了减少干扰,采用的是价格便宜性能可靠地一体化红外接头(HS30038),它接收红外的频率为38KHZ, 周期为26 us 接收红外信号,它同时对信号进行放大,检波,整形得到TTL电平的编码。在送给单片机,单片机进行解码并执行控制相关对象。
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001550s ]
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.121491s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.011539s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001929s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001425s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.006667s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001402s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.007014s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.026734s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001633s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 502632 [ RunTime:0.029770s ]