资源描述:
《单片机密码锁论文》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、单片机密码锁论文专业:电子信息工程摘要随着科技的日益发展,电子密码控制系统已越来越符合人们的要求。本文介绍了基于单片机和串行EEPROM的智能密码控制系统,对系统硬件设计和软件实现进行了详细的描述。该系统采用AT89C51单片机和AT24C01串行EEPROM,通过AT89C51模拟I2C总线和AT24C01通讯,实现密码控制的功能。本文从经济实用的角度出发,采用美国Atmel公司的单片机AT89C51作为主控芯片与数据存储器单元,结合外围的矩阵键盘输入、LCD液晶显示、报警、开锁等,用C语言编写主控芯片的控制程序与EEPROM读写程序相结合,设计了一款可以多次更改密码,具有报警功能的电子密码
2、控制系统。这种电路设计具有防试探按键输入、智能控制上锁、开锁、报警、修改密码等多种功能。密码长度可变、保密性强、灵活性高。经实验证明,该密码控制系统具有设计方法合理,简单易行,成本低,安全使用等特点,符合车辆、办公室用锁要求,具有推广价值。关键词:密码控制;单片机;EEPROM读写程序;报警ABSTRACTAsthedevelopmentofscienceandtechnologydaybyday,thekeycontrolsystemismoreinlinewiththerequirementsofpeople.Thepaperpresentsacryptographicsmartpassw
3、ordcontrolbasedonMCUandserialEEPROM,describeshardwarestructureandsoftwaredesignofthesystem.ItadoptsAT89C51andAT24C01,realizesthefunctionofcryptographicsmartpasswordcontrol.AT89C51communicateswithAT24C01byI2Cbustoachievethepasswordcontrolfunction.Thisarticlefromtheeconomicalandpracticalpointofview,th
4、euseoftheUnitedStatesAtmelCorporationAT89C51microcontrollerasamasterchipandthedatamemoryunit,combinedwiththeexternalmatrixkeyboardinput,LEDdigitaldisplay,alarm,unlockandsoon,dominatedbytheCprogramminglanguagechipEEPROMofthecontrolproceduresandthecombinationofreadingandwritingprogramdesignedtochangea
5、passwordmanytimes,thepolicefunctionwiththeelectronicthepasswordcontrol.Thiscircuitdesignwithanti-testbuttoninput,intelligentcontrollock,unlock,alarm,multiplefunctions,suchasChangePassword.Passwordlengthcanbechanged,evenmoresecretandflexiblethanothers.Experimentsshowthatthepasswordcontrolsystemischar
6、acterizedbyitsreasonabledesigningmethods,simpleoperation,lowcostandpropertyofsafetyandpracticality.Besides,thepasswordcontrolcanbeusedintheofficeandhasgreatpotentialforcommercialdevelopment.KeyWords:Passwordcontrol;Single-chip;EEPROMreadandwriteprocedures;Alarm目录1引言11.1选题背景11.2电子密码控制简介11.3电子密码控制的发展趋
7、势11.4本设计所要实现的目标22设计方案的选择32.1方案一:采用数字电路控制32.2方案二:采用以单片机为核心的控制方案33主要元器件介绍及I2C总线说明43.1主控芯片AT89C5143.1.1AT89C51性能简介43.1.2AT89C51引脚功能说明53.1.3AT89C51芯片内部结构73.2LCD1602显示器83.2.1接口信号说明83.2.2主要技术参数93.2.3基本操作程序9