这个软件是配合2013的A/D口获得航模纵倾角度数:正负30度.
2013的A/D接到霍尔磁感应器上,磁块重力作用下垂摆动,使正负30度摆动引起霍尔送出0--4V电压,
经2013的A/D口采集后得到0---4000的数字,这个数字就是要经过着软件映射成正负30度,同时带图示.
纵倾角传感器的制作:
用CPU等类似的小风扇拆开,把霍尔线引出,并在风叶的一端安重块,转动正负30度各设阻挡.
只要重力作用下垂摆动,使正负30度摆动引起霍尔送出0--4V电压,就OK,对安装有要求的,
引线
VC5--12V,
霍尔送出0--4V电压,
地.
-This software is in line with 2013
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001402s ]
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.098682s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.000968s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001116s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000993s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003073s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000849s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003641s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.014333s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001091s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 280091 [ RunTime:0.014807s ]