编号:               
   
毕业设计说明书
   
课    题:  基于单片机的简易超市收银系统设计
学    院:  电子工程与自动化学院         
专    业:    电子信息科学与技术           
学生姓名:                           
学    号:                     
导师单位:    电子工程与自动化学院         
指导教师:                           
职    称:          讲师                   
题目类型: 理论研究    实验研究    工程设计  工程技术研究    软件开发
2015 年  05 月 20日

摘  要
随着社会的发展,人们生活水平的提高,超市收银系统越来越趋于先进化,自动化。目前许多的超市使用的都是自动扫描条码来识别商品,无需输入商品名来识别商品,商品条码可以反应出商品的名称、价格、产地等信息,因而可以使用条码扫描器来扫描商品,实现存储和
销售,而且可以知道商品有没有卖完,是不是该进货。
本次设计是设计一个简易超市收银系统,通过独立键盘输入商品信息、条形码信息输入、通过扫描器扫入条码的信息并进行存储;并具有温度测量、Eeprom扩展存储容量;能在液晶屏上看到商品存储信息,可以通过按键切换看到当前环境温度。
本次超市收银系统采用单片机STC89C52作为核心控制器,通过独立键盘可以切换数字和英文输入来进行商品的存储和销售,还可以采用条形码扫描器对商品的条码进行存储和进行销售;另外,采用DS18B20温度传感器读取周围环境的温度,通过扩展Eeprom来扩展系统的存储内存和掉电保护,而存储和销售的商品单价、产地、数量、库存可以通过LCD1602液晶屏来显示,通过按键来切换商品存储和销售,以及切换温度传感器测量的温度在液晶上的显示。
关键词:条形码;Eeprom;扫描器;STC89C52;LCD1602

Abstract
With the development of society, people's living conditions have improved.The supermarket cash register systems become more and more advanced and automated. Many supermarkets use automatically scans the bar code to identify the goods without having to enter the trade name to identify the goods, corresponding to a bar code on a product name, price and origin of production.So you can use the bar code scanner to achieve Goods storage and sale but also know the goods are not sold out, is not the stock.
system的头文件
This design is a simple design supermarket cash register system.Input product information and bar code information by independent keyboard and input Row-code information  into Cash register system by Row-code scanner. And has a temperature measurement, Eeprom expand storage capacity;And it can be seen on the LCD screen merchandise store information and the ambient temperature.And it can see the current ambient temperature through the key switch.
The supermarket cash register system using SCM as the core controller Stc89c52.By separate keyboard can be switched numbers and text input for storage and sale of goods,
as well as the use of bar code bar code scanner product storage and sales; In addition, the use of DS18B20 temperature sensor reads the temperature of the surrounding environment, to expand the system by extending the Eeprom the storage memory and power-down protection, storage and the marketing of commodity price, origin, quantity, inventory can see by Lcd1602 LCD screen to display, store and sell merchandise to switch through the key, and switching temperature sensor measurements on liquid crystal display .
Keyword:Barcode;Eeprom;Scanner;STC89C52;LCD1602