基于51单片机的遥控红外指纹锁的程序设计

  • X9_157726
    了解作者
  • 92KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-10 07:28
    上传日期
本文档的主要内容详细介绍的是使用51单片机设计的遥控红外指纹锁的程序和说明。   工作过程:上电后,1602上显示Selector mode(选择开锁方式)   有三种解锁方式选择 1》:按下矩阵键盘上的A,可以用矩阵键盘来进行解锁,1602上会显示“Please Enter PIN”(请输入密码),密码输入正确后蜂鸣器会提示并且显示”Welcome to here” 2s后接着显示,Selector mode(选择开锁方式) 1—1》:按下矩阵键盘上的B,则可以进行修改密码的操作,1602上会显示“Boss passwordd”(请输入管理员密码(835),),输入密码正确后会显示set new password(请设置新密码),设置完成后按D键确认退出并且显示“successfully set”(设置成功); 1—2》:按下举证键盘上的C:会清空当前输入密码,从新输入; 注(初始密码为123) (在输入密码开锁或设置新密码时,都可以按D退出键盘操作)   2》按下红外遥控上的CH键,可以用红外遥控来进行解锁,1602上会显示Infrared(红外),输入密码正确后蜂鸣器提示并且显示“Welcome to here” 2S后接着显示Selector mode(选择开锁方式) 2—1:》: 按下红外遥控上的CH—键,会清空当前输入密码,从新输入; 注(在输入密码开锁的过程中,可以按CH+键退出遥控操作)   3》按下矩阵键盘上的*号键,稍作等待指纹模块初始化,显示Please finger(按下手指)就可以使用指纹模块进行解锁,(录入指纹的操作是通过电脑和TTL接线板来完成的),指纹符合后蜂鸣器会提示并且显示Search success (扫描成功) ID is xx(您的ID是xx); 3—1》:”长按矩阵键盘上的#号键可以退出指纹解锁,并且会显示Selector mode(选择开锁方式); 注:指纹模块需接3.3V电源供电,不可接5V
id-723.zip
  • 遥控红外指纹锁
  • Listings
  • main.lst
    10.3KB
  • infrared.lst
    5.4KB
  • finger.lst
    7.1KB
  • key.lst
    4.1KB
  • lcd.lst
    6.8KB
  • uart.lst
    1.8KB
  • item.m51
    41.7KB
  • STARTUP.lst
    13.8KB
  • Objects
  • infrared.obj
    6.1KB
  • item
    33.4KB
  • item.build_log.htm
    1.1KB
  • uart.obj
    2.5KB
  • main.obj
    12.8KB
  • key.obj
    3.7KB
  • STARTUP.obj
    819B
  • item.lnp
    234B
  • item.hex
    7.9KB
  • finger.obj
    11.3KB
  • lcd.obj
    4.6KB
  • lcd.c
    3.7KB
  • uart.h
    146B
  • uart.c
    603B
  • infrared.c
    2.4KB
  • finger.h
    644B
  • key.h
    282B
  • key.c
    2KB
  • STARTUP.A51
    6.2KB
  • infrared.h
    215B
  • 遥控红外指纹锁.docx
    12.5KB
  • item.uvgui.posion
    138.4KB
  • finger.c
    3.9KB
  • item.uvproj
    14.4KB
  • lcd.h
    846B
  • item.uvopt
    7.6KB
  • main.c
    5.8KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/6279a3a2d7996104df8e9e55/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/6279a3a2d7996104df8e9e55/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">&#24037;&#20316;&#36807;&#31243;&#65306;&#19978;&#30005;&#21518;&#65292;<span class="ff2">1602<span class="_"> </span></span>&#19978;&#26174;&#31034;<span class="_ _0"> </span><span class="ff2">Selector mode</span>&#65288;&#36873;&#25321;&#24320;&#38145;&#26041;&#24335;&#65289;</div><div class="t m0 x1 h3 y3 ff1 fs0 fc0 sc0 ls0 ws0">&#26377;&#19977;&#31181;&#35299;&#38145;&#26041;&#24335;&#36873;&#25321;</div><div class="t m0 x1 h3 y4 ff2 fs0 fc0 sc0 ls0 ws0">1&gt;:<span class="_ _1"> </span><span class="ff1">&#25353;<span class="_ _1"> </span>&#19979;<span class="_ _1"></span>&#30697;<span class="_ _1"> </span>&#38453;<span class="_ _1"></span>&#38190;<span class="_ _1"></span>&#30424;<span class="_ _1"></span>&#19978;<span class="_ _1"></span>&#30340;<span class="_ _2"> </span></span>A<span class="_ _1"> </span><span class="ff1">&#65292;<span class="_ _1"> </span>&#21487;<span class="_ _1"> </span>&#20197;<span class="_ _1"></span>&#29992;<span class="_ _1"> </span>&#30697;<span class="_ _1"></span>&#38453;<span class="_ _1"></span>&#38190;<span class="_ _1"></span>&#30424;<span class="_ _1"></span>&#26469;<span class="_ _1"></span>&#36827;<span class="_ _1"></span>&#34892;<span class="_ _1"></span>&#35299;<span class="_ _1"></span>&#38145;<span class="_ _1"></span>&#65292;<span class="_ _1"> </span></span>1602<span class="_ _2"> </span><span class="ff1">&#19978;<span class="_ _1"> </span>&#20250;<span class="_ _1"> </span>&#26174;<span class="_ _1"> </span>&#31034;<span class="_ _1"> </span></span>"Please<span class="_ _3"></span> <span class="_ _3"></span>Ente<span class="_ _4"></span>r</div><div class="t m0 x1 h3 y5 ff2 fs0 fc0 sc0 ls0 ws0">PIN"<span class="_ _5"></span><span class="ff1">&#65288;&#35831;<span class="_ _5"></span>&#36755;<span class="_ _5"></span>&#20837;&#23494;<span class="_ _5"></span>&#30721;<span class="_ _5"></span>&#65289;&#65292;<span class="_ _5"></span>&#23494;<span class="_ _5"></span>&#30721;&#36755;<span class="_ _5"></span>&#20837;<span class="_ _5"></span>&#27491;<span class="_ _5"></span>&#30830;&#21518;<span class="_ _5"></span>&#34562;<span class="_ _5"></span>&#40483;&#22120;<span class="_ _5"></span>&#20250;<span class="_ _5"></span>&#25552;&#31034;<span class="_ _5"></span>&#24182;<span class="_ _5"></span>&#19988;&#26174;<span class="_ _5"></span>&#31034;<span class="_ _5"></span>&#8221;<span class="_ _3"></span></span>Welcome to here&#8221; 2s<span class="_ _6"> </span><span class="ff1">&#21518;&#25509;<span class="_ _5"></span>&#30528;</span></div><div class="t m0 x1 h3 y6 ff1 fs0 fc0 sc0 ls0 ws0">&#26174;&#31034;&#65292;<span class="ff2">Selector mode</span>&#65288;&#36873;&#25321;&#24320;&#38145;&#26041;&#24335;&#65289;</div><div class="t m0 x1 h3 y7 ff2 fs0 fc0 sc0 ls0 ws0">1&#8212;1&gt;:<span class="_ _0"> </span><span class="ff1">&#25353;<span class="_ _7"> </span>&#19979;<span class="_ _0"> </span>&#30697;<span class="_ _0"> </span>&#38453;<span class="_ _7"> </span>&#38190;<span class="_ _0"> </span>&#30424;<span class="_ _7"> </span>&#19978;<span class="_ _0"> </span>&#30340;<span class="_ _8"> </span></span>B<span class="_ _0"> </span><span class="ff1">&#65292;<span class="_ _0"> </span>&#21017;<span class="_ _7"> </span>&#21487;<span class="_ _0"> </span>&#20197;<span class="_ _7"> </span>&#36827;<span class="_ _0"> </span>&#34892;<span class="_ _0"> </span>&#20462;<span class="_ _7"> </span>&#25913;<span class="_ _0"> </span>&#23494;<span class="_ _7"> </span>&#30721;<span class="_ _0"> </span>&#30340;<span class="_ _0"> </span>&#25805;<span class="_ _7"> </span>&#20316;<span class="_ _0"> </span>&#65292;<span class="_"> </span></span>1602<span class="_ _9"> </span><span class="ff1">&#19978;<span class="_ _0"> </span>&#20250;<span class="_ _0"> </span>&#26174;<span class="_ _7"> </span>&#31034;<span class="_ _7"> </span></span>"Boss</div><div class="t m0 x1 h3 y8 ff2 fs0 fc0 sc0 ls0 ws0">passwor<span class="_ _4"></span>dd"<span class="_ _3"></span><span class="ff1">&#65288;<span class="_ _3"></span>&#35831;<span class="_ _3"></span>&#36755;<span class="_ _5"></span>&#20837;<span class="_ _3"></span>&#31649;<span class="_ _3"></span>&#29702;<span class="_ _3"></span>&#21592;<span class="_ _3"></span>&#23494;<span class="_ _3"></span>&#30721;<span class="_ _5"></span>&#65288;<span class="_ _a"></span></span>835<span class="_ _3"></span><span class="ff1">&#65289;<span class="_ _3"></span>&#65292;<span class="_ _3"></span>&#65289;<span class="_ _5"></span>&#65292;<span class="_ _3"></span>&#36755;<span class="_ _3"></span>&#20837;<span class="_ _3"></span>&#23494;<span class="_ _3"></span>&#30721;<span class="_ _3"></span>&#27491;<span class="_ _3"></span>&#30830;<span class="_ _3"></span>&#21518;<span class="_ _5"></span>&#20250;<span class="_ _3"></span>&#26174;<span class="_ _3"></span>&#31034;<span class="_"> </span></span>set <span class="_ _5"></span>new<span class="_ _5"></span> <span class="_ _5"></span>password</div><div class="t m0 x1 h3 y9 ff1 fs0 fc0 sc0 ls0 ws0">&#65288;&#35831;&#35774;&#32622;&#26032;&#23494;&#30721;&#65289;&#65292;&#35774;&#32622;&#23436;&#25104;&#21518;&#25353;<span class="_ _0"> </span><span class="ff2">D<span class="_"> </span></span>&#38190;&#30830;&#35748;&#36864;&#20986;&#24182;&#19988;&#26174;&#31034;<span class="ff2">"successfully set"</span>&#65288;&#35774;&#32622;&#25104;&#21151;&#65289;&#65307;</div><div class="t m0 x1 h3 ya ff2 fs0 fc0 sc0 ls0 ws0">1&#8212;2&gt;:<span class="ff1">&#25353;&#19979;&#20030;&#35777;&#38190;&#30424;&#19978;&#30340;<span class="_ _7"> </span></span>C<span class="ff1">&#65306;&#20250;&#28165;&#31354;&#24403;&#21069;&#36755;&#20837;&#23494;&#30721;&#65292;&#20174;&#26032;&#36755;&#20837;&#65307;</span></div><div class="t m0 x1 h3 yb ff1 fs0 fc0 sc0 ls0 ws0">&#27880;<span class="sc1">&#65288;&#21021;&#22987;&#23494;&#30721;&#20026;<span class="_ _0"> </span></span><span class="ff3">12<span class="_ _5"></span>3</span><span class="sc1">&#65289;</span></div><div class="t m0 x1 h3 yc ff1 fs0 fc0 sc0 ls0 ws0">&#65288;&#22312;&#36755;&#20837;&#23494;&#30721;&#24320;&#38145;&#25110;&#35774;&#32622;&#26032;&#23494;&#30721;&#26102;&#65292;&#37117;&#21487;&#20197;&#25353;<span class="_ _0"> </span><span class="ff2">D<span class="_"> </span></span>&#36864;&#20986;&#38190;&#30424;&#25805;&#20316;&#65289;</div><div class="t m0 x1 h3 yd ff2 fs0 fc0 sc0 ls0 ws0">2&gt;<span class="ff1">&#25353;&#19979;&#32418;<span class="_ _5"></span>&#22806;&#36965;<span class="_ _5"></span>&#25511;&#19978;&#30340;<span class="_ _6"> </span></span>CH<span class="_ _0"> </span><span class="ff1">&#38190;&#65292;&#21487;<span class="_ _5"></span>&#20197;&#29992;&#32418;<span class="_ _5"></span>&#22806;&#36965;&#25511;<span class="_ _5"></span>&#26469;&#36827;<span class="_ _5"></span>&#34892;&#35299;&#38145;<span class="_ _5"></span>&#65292;</span>1602<span class="_"> </span><span class="ff1">&#19978;&#20250;&#26174;<span class="_ _5"></span>&#31034;<span class="_ _7"> </span></span>Infrar<span class="_ _4"></span>ed<span class="ff1">&#65288;<span class="_ _5"></span>&#32418;&#22806;&#65289;</span></div><div class="t m0 x1 h3 ye ff1 fs0 fc0 sc0 ls0 ws0">&#36755;&#20837;&#23494;<span class="_ _5"></span>&#30721;&#27491;&#30830;<span class="_ _5"></span>&#21518;&#34562;&#40483;<span class="_ _5"></span>&#22120;&#25552;&#31034;<span class="_ _5"></span>&#24182;&#19988;&#26174;<span class="_ _5"></span>&#31034;<span class="_ _5"></span><span class="ff2">"W<span class="_ _4"></span>elcome to here" 2S<span class="_"> </span><span class="ff1">&#21518;&#25509;&#30528;&#26174;<span class="_ _5"></span>&#31034;<span class="_ _7"> </span></span>Selector mode<span class="_ _5"></span><span class="ff1">&#65288;&#36873;&#25321;</span></span></div><div class="t m0 x1 h3 yf ff1 fs0 fc0 sc0 ls0 ws0">&#24320;&#38145;&#26041;&#24335;&#65289;</div><div class="t m0 x1 h3 y10 ff2 fs0 fc0 sc0 ls0 ws0">2&#8212;1:&gt;: <span class="ff1">&#25353;&#19979;&#32418;&#22806;&#36965;&#25511;&#19978;&#30340;<span class="_ _7"> </span></span>CH&#8212;<span class="ff1">&#38190;&#65292;&#20250;&#28165;&#31354;&#24403;&#21069;&#36755;&#20837;&#23494;&#30721;&#65292;&#20174;&#26032;&#36755;&#20837;&#65307;</span></div><div class="t m0 x1 h3 y11 ff1 fs0 fc0 sc0 ls0 ws0">&#27880;&#65288;&#22312;&#36755;&#20837;&#23494;&#30721;&#24320;&#38145;&#30340;&#36807;&#31243;&#20013;&#65292;&#21487;&#20197;&#25353;<span class="_ _0"> </span><span class="ff2">CH<span class="_ _5"></span>+</span>&#38190;&#36864;&#20986;&#36965;&#25511;&#25805;&#20316;&#65289;</div><div class="t m0 x1 h3 y12 ff2 fs0 fc0 sc0 ls0 ws0">3&gt;<span class="ff1">&#25353;&#19979;&#30697;<span class="_ _5"></span>&#38453;&#38190;<span class="_ _5"></span>&#30424;&#19978;&#30340;<span class="_ _5"></span></span>*<span class="_ _5"></span><span class="ff1">&#21495;&#38190;&#65292;<span class="_ _5"></span>&#31245;&#20316;&#31561;<span class="_ _5"></span>&#24453;&#25351;&#32441;<span class="_ _5"></span>&#27169;&#22359;<span class="_ _5"></span>&#21021;&#22987;&#21270;<span class="_ _5"></span>&#65292;&#26174;&#31034;<span class="_"> </span></span>Plea<span class="_ _4"></span>se <span class="_ _5"></span>,nger<span class="ff1">&#65288;&#25353;<span class="_ _5"></span>&#19979;&#25163;&#25351;<span class="_ _5"></span>&#65289;&#23601;</span></div><div class="t m0 x1 h3 y13 ff1 fs0 fc0 sc0 ls0 ws0">&#21487;&#20197;<span class="_ _5"></span>&#20351;<span class="_ _5"></span>&#29992;&#25351;<span class="_ _5"></span>&#32441;<span class="_ _5"></span>&#27169;&#22359;<span class="_ _5"></span>&#36827;<span class="_ _5"></span>&#34892;&#35299;<span class="_ _5"></span>&#38145;<span class="_ _5"></span>&#65292;<span class="_ _5"></span>&#65288;&#24405;<span class="_ _5"></span>&#20837;<span class="_ _5"></span>&#25351;&#32441;<span class="_ _5"></span>&#30340;<span class="_ _5"></span>&#25805;&#20316;<span class="_ _5"></span>&#26159;<span class="_ _5"></span>&#36890;&#36807;<span class="_ _5"></span>&#30005;<span class="_ _5"></span>&#33041;<span class="_ _5"></span>&#21644;<span class="_ _6"> </span><span class="ff2">T<span class="_ _5"></span>TL<span class="_"> </span></span>&#25509;&#32447;<span class="_ _5"></span>&#26495;<span class="_ _5"></span>&#26469;&#23436;<span class="_ _5"></span>&#25104;<span class="_ _5"></span>&#30340;<span class="_ _5"></span>&#65289;&#65292;<span class="_ _5"></span>&#25351;</div><div class="t m0 x1 h3 y14 ff1 fs0 fc0 sc0 ls0 ws0">&#32441;&#31526;&#21512;&#21518;&#34562;&#40483;&#22120;&#20250;&#25552;&#31034;&#24182;&#19988;&#26174;&#31034;<span class="_ _0"> </span><span class="ff2">Se<span class="_ _5"></span>arch success </span>&#65288;&#25195;&#25551;&#25104;&#21151;&#65289; <span class="ff2">ID is xx</span>&#65288;&#24744;&#30340;<span class="_ _0"> </span><span class="ff2">ID<span class="_"> </span></span>&#26159;<span class="_ _0"> </span><span class="ff2">xx</span>&#65289;&#65307;</div><div class="t m0 x1 h3 y15 ff2 fs0 fc0 sc0 ls0 ws0">3&#8212;1&gt;:&#8221;<span class="_ _5"></span><span class="ff1">&#38271;<span class="_ _5"></span>&#25353;<span class="_ _5"></span>&#30697;&#38453;<span class="_ _5"></span>&#38190;<span class="_ _5"></span>&#30424;<span class="_ _5"></span>&#19978;<span class="_ _5"></span>&#30340;<span class="_ _3"></span></span>#<span class="ff1">&#21495;<span class="_ _5"></span>&#38190;<span class="_ _5"></span>&#21487;<span class="_ _5"></span>&#20197;<span class="_ _5"></span>&#36864;<span class="_ _5"></span>&#20986;<span class="_ _5"></span>&#25351;<span class="_ _5"></span>&#32441;&#35299;<span class="_ _5"></span>&#38145;<span class="_ _5"></span>&#65292;<span class="_ _5"></span>&#24182;<span class="_ _5"></span>&#19988;<span class="_ _5"></span>&#20250;<span class="_ _5"></span>&#26174;<span class="_ _5"></span>&#31034;<span class="_"> </span></span>Selector mode<span class="_ _5"></span><span class="ff1">&#65288;<span class="_ _5"></span>&#36873;<span class="_ _5"></span>&#25321;<span class="_ _5"></span>&#24320;<span class="_ _5"></span>&#38145;</span></div><div class="t m0 x1 h3 y16 ff1 fs0 fc0 sc0 ls0 ws0">&#26041;&#24335;&#65289;&#65307;</div><div class="t m0 x1 h3 y17 ff1 fs0 fc0 sc0 ls0 ws0">&#27880;&#65306;&#25351;&#32441;&#27169;&#22359;&#38656;&#25509;<span class="_ _0"> </span><span class="ff2">3.<span class="_ _5"></span>3V<span class="_"> </span></span>&#30005;&#28304;&#20379;&#30005;&#65292;&#19981;&#21487;&#25509;<span class="_ _0"> </span><span class="ff2">5V</span></div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐