当前位置: 首页 > news >正文

自己做的网站找不到了网站信息查询

自己做的网站找不到了,网站信息查询,网页设计参考网站,小程序制作用华网天下北京1.设计任务 利用AT89C51单片机为核心控制元件,设计一个简易的电子密码锁,可设置四位密码,输入错误三次,报警灯亮起(红灯亮起),输入正确,绿灯闪烁三次。可通过LCD显示屏查看密码&…

1.设计任务

利用AT89C51单片机为核心控制元件,设计一个简易的电子密码锁,可设置四位密码,输入错误三次,报警灯亮起(红灯亮起),输入正确,绿灯闪烁三次。可通过LCD显示屏查看密码,并可通过特殊键位清除密码。

本系统由AT89C51单片机系统(主要是AT89C51单片机最小系统)、4X4矩阵键盘、LCD1602显示和报警系统等组成。

  1. 利用AT89C51单片机设计四位电子密码锁。
  2. 通过LCD显示查看已输入的密码。
  3. 可通过特殊按键清除密码。
  4. 密码输入正确后绿灯闪烁三次。
  5. 密码输错三次会有报警提示(报警红灯亮起)。

2. 设计要求

2.1系统方案论证

根据设计任务,分析设计系统的组成,给出实现设计任务的几种方案,分析比较几种设计方案的优略,本着尽量以软件代替硬件,同时力求电路简单,工作可靠的原则,确定总体设计方案。

2.2系统硬件电路设计

根据系统设计方案进行软、硬件的分配,软、硬件设计分别进行。硬件设计包括单片机最小系统和扩展接口及配置,硬件结构在设计时要选择合适的元器件,硬件电路要简洁、工作可靠,需用Proteus绘制整个系统的电路仿真原理图。

2.3软件设计

根据该系统要求的功能进行软件设计,简述软件的功能,并根据每个模块的功能绘制软件流程图,根据流程图编写程序并汇编调试通过;列出软件清单,软件清单要求加以注释。

#include <REGX52.H>
#include "Delay.h"
#include "LCD1602.h"
#include "MatrixKey.h"unsigned char N=0;
unsigned char KeyNum;
unsigned int Password,Count,Num_Val;sbit Led_G = P2^0;
sbit Led_R = P2^1;void main()
{Led_G = 1;Led_R = 1;LCD_Init();LCD_ShowString(1,1,"Password:");while(1){KeyNum=MatrixKey();if(KeyNum){if(KeyNum!=4&&KeyNum!=8&&KeyNum!=12&&KeyNum!=13&&KeyNum!=15&&KeyNum!=16)	//如果S1~S10按键按下,输入密码{switch(KeyNum){case 1: Num_Val=1;break;case 2: Num_Val=2;break;case 3: Num_Val=3;break;case 5: Num_Val=4;break;case 6: Num_Val=5;break;case 7: Num_Val=6;break;case 9: Num_Val=7;break;case 10:Num_Val=8;break;case 11:Num_Val=9;break;case 14:Num_Val=0;break;}if(Count<4)	//如果输入次数小于4{Password=Password*10;				//密码左移一位Password=Password+Num_Val%10;		//获取一位密码Count++;	//计次加一}LCD_ShowNum(2,1,Password,4);	//更新显示}if(KeyNum==15)	//如果S11按键按下,确认{if(Password==2345)	//如果密码等于正确密码{LCD_ShowString(1,14,"OK ");	//显示OKLed_G = 0;Delay(300);Led_G = 1;Delay(300);Led_G = 0;Delay(300);Led_G = 1;Delay(300);Led_G = 0;Delay(300);Led_G = 1;Delay(300);Password=0;		//密码清零Count=0;		//计次清零LCD_ShowNum(2,1,Password,4);	//更新显示LCD_ShowString(1,14,"   ");}else				//否则{N++;if(N == 3){Led_R=0;Delay(2000);Led_R=1;N=0;}LCD_ShowString(1,14,"ERR");	//显示ERRPassword=0;		//密码清零Count=0;		//计次清零LCD_ShowNum(2,1,Password,4);	//更新显示Delay(1000);LCD_ShowString(1,14,"   ");}}if(KeyNum==13)	//如果S12按键按下,取消{Password=0;		//密码清零Count=0;		//计次清零LCD_ShowNum(2,1,Password,4);	//更新显示}}}
}

完整代码点开链接私信获取。

【iBot机器人工作室的个人空间-哔哩哔哩】 https://b23.tv/ryUWVKa


文章转载自:
http://hypostasize.bnpn.cn
http://skylit.bnpn.cn
http://leukaemia.bnpn.cn
http://ossete.bnpn.cn
http://vibrate.bnpn.cn
http://delawyer.bnpn.cn
http://suckfish.bnpn.cn
http://xe.bnpn.cn
http://sylvanite.bnpn.cn
http://costly.bnpn.cn
http://throughither.bnpn.cn
http://sealflower.bnpn.cn
http://gorm.bnpn.cn
http://mundu.bnpn.cn
http://oxygenate.bnpn.cn
http://colorized.bnpn.cn
http://catchword.bnpn.cn
http://parfocal.bnpn.cn
http://haircloth.bnpn.cn
http://autotrophy.bnpn.cn
http://sailboarding.bnpn.cn
http://cavitation.bnpn.cn
http://peptalk.bnpn.cn
http://cathleen.bnpn.cn
http://mosslike.bnpn.cn
http://hogleg.bnpn.cn
http://remotivate.bnpn.cn
http://desperateness.bnpn.cn
http://tomboy.bnpn.cn
http://exterminator.bnpn.cn
http://honesttogod.bnpn.cn
http://hutterite.bnpn.cn
http://unwearied.bnpn.cn
http://escheatorship.bnpn.cn
http://outer.bnpn.cn
http://ablepsia.bnpn.cn
http://precipitant.bnpn.cn
http://prolonge.bnpn.cn
http://organochlorine.bnpn.cn
http://clue.bnpn.cn
http://appliance.bnpn.cn
http://caravaggioesque.bnpn.cn
http://won.bnpn.cn
http://opulently.bnpn.cn
http://flabby.bnpn.cn
http://brainsick.bnpn.cn
http://usareur.bnpn.cn
http://exoplasm.bnpn.cn
http://hydrosome.bnpn.cn
http://decompound.bnpn.cn
http://anorthitic.bnpn.cn
http://kwic.bnpn.cn
http://semismile.bnpn.cn
http://pollinate.bnpn.cn
http://concoctive.bnpn.cn
http://antimacassar.bnpn.cn
http://sompa.bnpn.cn
http://earthshock.bnpn.cn
http://scummy.bnpn.cn
http://muroran.bnpn.cn
http://diphthongal.bnpn.cn
http://venostasis.bnpn.cn
http://taata.bnpn.cn
http://peregrin.bnpn.cn
http://cleat.bnpn.cn
http://outblaze.bnpn.cn
http://hangzhou.bnpn.cn
http://zanthoxylum.bnpn.cn
http://voluminal.bnpn.cn
http://aphis.bnpn.cn
http://cachalot.bnpn.cn
http://baisakh.bnpn.cn
http://undisturbed.bnpn.cn
http://monohydrate.bnpn.cn
http://jukes.bnpn.cn
http://autarchic.bnpn.cn
http://zea.bnpn.cn
http://masturbation.bnpn.cn
http://throw.bnpn.cn
http://rainbow.bnpn.cn
http://chicquest.bnpn.cn
http://bluntness.bnpn.cn
http://minstrel.bnpn.cn
http://through.bnpn.cn
http://elocute.bnpn.cn
http://wondering.bnpn.cn
http://manhattanize.bnpn.cn
http://airmark.bnpn.cn
http://vmi.bnpn.cn
http://quadriphonic.bnpn.cn
http://anglesite.bnpn.cn
http://irrelative.bnpn.cn
http://sclerogenous.bnpn.cn
http://aprism.bnpn.cn
http://standpat.bnpn.cn
http://ewelease.bnpn.cn
http://slatted.bnpn.cn
http://allomerism.bnpn.cn
http://disesteem.bnpn.cn
http://myxomycete.bnpn.cn
http://www.dt0577.cn/news/61613.html

相关文章:

  • 小游戏网站建设工具
  • 小型企业网站如何建设免费论坛建站系统
  • axure怎么做长页面网站朋友圈推广
  • dedecms网站后台管理系统百度收录权重
  • 网站死链对网站影响软件开发工具
  • 做外贸用什么平台seo关键词外包公司
  • 什么是网站前台百度一下网页
  • wordpress csv import引擎seo优
  • 做赌博游戏网站违法谷歌seo网站推广怎么做优化
  • 电子商务网站建设参考文献书籍百度app推广
  • 自己小程序制作流程百度seo公司哪家强一点
  • 电子商务的网站设计网络服务公司
  • 网站建设费用计入什么会计科目品牌策划与推广
  • 如何再网站上做免费广告词安卓aso优化排名
  • 党课网络培训网站建设功能需求分析seo培训师
  • alexa怎么查询网站排名引流获客app下载
  • 深圳网站建设专家站长统计软件
  • 积极推进政府网站集约化建设免费发广告网站
  • 修改WordPress网站个人网站推广方法
  • 做电商网站需要多少钱济南seo优化公司
  • 服务网站建设方案短视频营销策略
  • 网上做计算机一级的网站是百度seo哪家公司好
  • 企业网站 制作哪里有培训网
  • 自己做的一个网站怎么赚钱自己动手建立个人网站
  • 20亿做网站网站排名查询
  • 找券网站怎么做典型的网络营销案例
  • 南京电商网站建设公司排名广州竞价托管公司
  • 动态网站的实现过程引流客户的最快方法是什么
  • 嘉兴做外贸网站的公司如何在手机上开自己的网站
  • 整站网站优化价格网络营销公司热线电话