- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
金属探测器设计
摘 要
本文是基于单片机AT89S52,利用电感式接近开关传感器LJ18A4-10-Z/BD设计一个简易金属探测器用于检测金属存在并进行金属个数计数,包括硬件电路和软件设计两大部分。
硬件电路由传感器外围电路和单片机外围电路构成。电感式接近开关传感器是一个感应的线性器件Abstract
In this paper, it is to design a simple metal detector that can count the existing metal numbers on the basis of micro-controller AT89S52 and inductive proximity switch sensor LJ18A4-10-Z/BD, including the design of hardware circuit and software.
The design of hardware circuit is made up of the sensor’s peripheral circuit and the micro-controller’s peripheral circuit. Inductive proximity switch is linear device that can induce the existing of metal. LJ18A4-10-Z/BD sensor will output a current without measured object. Until it induces metal, the output current will be changed. Because the output current can not be converted to digital signal directly, current to voltage converting circuit has to be needed, which changes the output current signal of sensor into voltage signal that satisfies the input requirements of PCF8591.After analog to digital converter(ADC), the digital signal is sent to micro-controller for processing.
The design of software contains four parts which are ADC, date processing, liquid crystal display(LCD) and beep alarming. PCF8591 collects the initial voltage Uo and U(x) .U(x) is the voltage when the sensor is in condition of detecting metal. In the module of data processing it completes the precision changing of collected voltage and corrects the results to 2 decimal places, meanwhile it calculates the difference between the value of Uo and U(x), then compare the difference value with the sensor’s pre-established precision value to decide whether the sensor has induced metal. The Beeper alarms until detecting metal, at the same time the LCD displays the number of induced metals.
Key words: mental detection; metal number counting; micro-controller AT89S52; ADC PCF8591; inductive proximity switch LJ18A4-10-Z/BD
目 录
引 言 1
第一章 金属探测系统概述 2
1.1 整体设计思路 2
1.2
您可能关注的文档
最近下载
- 中国行政区域划分表(更新至年月).doc VIP
- 2026届高考英语一轮复习:单词讲解(词根记忆法)+14+课件.pptx VIP
- 2023年农村教师公开选调进城考试模拟试题2(初中道法·附参考答案).docx
- 基于PLC校园照明智能控制系统.docx VIP
- 2026届高考英语一轮复习:单词讲解(词根记忆法)+12+课件.pptx VIP
- (2025秋)人教版二年级数学上册全册教案(新教材).docx
- 垂直式微风启动风力发电机设计(含CAD图纸全套).doc
- 屋面夹芯板施工方案.docx VIP
- 2026届高考英语一轮复习:单词讲解(词根记忆法)+11+课件.pptx VIP
- 2023年国考《公安专业科目》笔试题及答案.pdf VIP
文档评论(0)