首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于飞思卡尔单片机的木棒长度测量系统
引用本文:闫冬梅,康冰,王有维.基于飞思卡尔单片机的木棒长度测量系统[J].吉林大学学报(信息科学版),2012,30(1):95-99.
作者姓名:闫冬梅  康冰  王有维
作者单位:吉林大学 a.网络与教育技术中心,长春 130062;b.通信工程学院,长春 130023
摘    要:为解决工业生产中长度测量的问题,设计了基于飞思卡尔单片机的木棒长度测量系统。该系统以飞思卡尔单片机为核心控制器,利用匀速转动的直流电机带动履带,履带两侧等距离放置三组红外发射与接收管。将木棒放在履带上,当木棒通过红外对管时利用飞思卡尔单片机的内部计时器计时,得出木棒的移动时间,从而算出木棒的长度,并用1602显示屏显示出木棒的长度。通过实验验证,该系统的测量误差小于0.05%。

关 键 词:飞思卡尔单片机  直流电机  红外对管  计时器  
收稿时间:2011-08-11

Stick Length Measurement System Based on Freescale Microcontroller
YAN Dong-mei,KANG Bing,WANG You-wei.Stick Length Measurement System Based on Freescale Microcontroller[J].Journal of Jilin University:Information Sci Ed,2012,30(1):95-99.
Authors:YAN Dong-mei  KANG Bing  WANG You-wei
Institution:1.Center of Network &|Educational Technology, Jilin University, Changchun 130062,China;2.College of Communication Engineering, Jilin University, Changchun 130023|China
Abstract:In order to solve the problem of the length measurement in industrial settings,we designed a system measuring the stick length based on freescale microcontroller.This system used a freescale microcontroller as the key controller.There is a track driven by a DC(Direct Current) motor which is turning with a constant speed.We placed three groups infrared transmitting and receiving devices whose distance was equal on both sides of the track.Place the stick on the track and the internal timer began to countime when the stick crossed the infrared device.Then we can get the moving time of the stick and obtaining the length of the stick.Finally,we used a 1602 monitor to display the length of the stick.Through the experiment,the measurement error of this system was less than 0.05%.
Keywords:freescale microcontroller  direct current motor  infrared device  timer
本文献已被 CNKI 等数据库收录!
点击此处可从《吉林大学学报(信息科学版)》浏览原始摘要信息
点击此处可从《吉林大学学报(信息科学版)》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号