首页> 中文期刊> 《价值工程》 >基于I2C的单片机EEPROM的设计

基于I2C的单片机EEPROM的设计

         

摘要

在科学技术飞速发展的今天,单片机技术不断进步并且得到了广泛应用.单片机在一定程度上实现了自动化、智能化,满足了人们的各种需要.单片机的引脚和越来越多的器件的限制使我们不得不采用I2C等总线来进行扩展操作,它可以大大简化设计、减小系统的体积并提高系统可靠性.而且,系统的更改和扩充也变得很容易.因为单片机需要强大的功能和较大的数据存储空间,我们需要用到外部存储器EEPROM等.本文以I2C与EEPROM的连接和数据存储、交换为主要内容,利用AT89C51单片机和LED数码管等元件和Proteus软件、Keil软件来开发,借助C语言程序实现了本设计的全部功能,包括数码显示、数据传输、读写功能等.本设计实现了简单的单片机实现不了的大容量数据传输,解决了掉电后存储数据丢失的问题,而且避免了控制多个对象时I/O口不够用的现象.%With the development of science and technology, single-chip technology in the continuous progress has been widely used, in particular, is widely applied in the field of mechanical and electrical products. To a certain extent, the microcontroller is automated and intelligent, and meet people's daily needs. MCU pin and a growing number of device limitations make us have to use the I2C bus to extend operation, it can greatly simplify the design, reduce system size and improve system reliability. Moreover, the single-chip system changes and expansion has become easier. The microcontroller requires strong functions and data storage requirements so that we need external memory EEPROM. This article describes the I2C and EEPROM connection and data storage, data exchange. It uses AT89C51 microcontroller and LED digital tube and Proteus Software Keil software, C language to realize the full functionality of the design, including the key treatment, liquid crystal display, the data transfer, the data read and write functions. The design solves the problem of large-capacity data transmission, to solve the problem after power loss of stored data, and also solves the problem of I/O port is not enough to control multiple objects.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号