文档介绍:摘要
随着人们生活水平的不断提高,消费水平也日渐增高,而在日常生活中,现金交易的不易携带、容易丢失、流通不方便情况给人们生活带来了很多不利,现代化城市开始朝着一卡通方向发展。IC卡(Integrated Circuit Card,集成电路卡)是将一个微电子芯片嵌入符合ISO7816标准的卡基中的新型卡片,主要嵌有IC(E2PROM,有的还有CPU)。由于它保存的信息比较可靠安全、可以高达几万次的读写,所以大量应用于公交车票、饭票、保健卡、收费系统等。
本设计是一种IC卡自动加油机。它是基于IC卡技术、单片机技术和电子技术,辅以各种功能的接口电路设计的具有自动计量、自动收费和统计功能的IC卡加油机。
文章中介绍了元器件和芯片的选择,给出了硬件和软件的实现,并对主要电路进行了分析。
本设计的IC卡加油机的硬件系统由AT89C51、74LS373、ADC0809、SSR600、SLE4442等组成。由ADC0809完成对输入电压的测取与转换,由继电器完成对油泵的起、停的控制,由流量传感器检测加油量。文章还对系统采用的抗干扰措施作了简单的介绍。
本设计的IC卡加油机的系统软件包括主程序、中断服务程序和两个子程序。
此设计的IC卡自动加油机具有精度高、功能强、实用简单等特点,使用表明操作方便、读写可靠效果良好。
关键词: IC卡加油机单片机
Abstract
As people living standard rise ceaselessly, consumption level is also increased, and in daily life, cash transactions not carry, easy to lose, circulation is not convenient for people to life with many adverse, modern city start toward card direction. IC Card (Integrated Circuit Card, Integrated circuits, luca) is a microelectronics chip embedded with ISO 7816 standard Card of the new Card, main studded with IC (E2PROM chips was, and some still have CPU). Because it holds information more reliable safety, can be as high as tens of time, speaking, reading and writing, so a large application in bus fare, meal ticket, health card, charge system, etc.
This design is a type of IC card tanker. The IC card tanker system developed by means of IC card, single-chip and electronic technology. It has auto-measuring, auto-charging and statistics-gathering functions.
In the text, introduces the chose ponents and chips. The realization of hardware and software is detail given. And the main circuit is minutely dissected.
The hardware system is made of AT89C51, 74LS373, ADC0809, SSR6OO, and SLE4442 and so on. The ADC0809 is use to check and given voltage current and input voltage, relay control the oil Pump stop or run. The flow sensor examination adds the oil mass. And the system describes and adjusts the approach to anti interference.
This design software system including master procedures,