⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bcd码拨盘输入和8段led输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - proteus仿真论坛 电路仿真 mcu仿真 arm仿真 - powered by discuz!.htm

📁 BCD码波盘 BCD码波盘
💻 HTM
📖 第 1 页 / 共 4 页
字号:
            <DIV class=newspecial><A 
            href="http://www.proteus.com.cn/post.php?action=newthread&amp;fid=7&amp;extra=page%3D22&amp;activity=yes">活动</A></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV>
<SCRIPT type=text/javascript>
function fastreply(subject) {
if($('postform')) {
$('postform').subject.value = subject;
$('postform').message.focus();
}
}
</SCRIPT>

<DIV class=maintable>
<DIV class=spaceborder style="WIDTH: 98%; BORDER-BOTTOM: medium none">
<TABLE cellSpacing=0 cellPadding=4 width="100%" align=center>
  <TBODY>
  <TR class=header>
    <TD style="COLOR: #154ba0" colSpan=2>
      <DIV class=right style="FONT-WEIGHT: normal"><A 
      href="http://www.proteus.com.cn/viewthread.php?action=printable&amp;tid=5388" 
      target=_blank>打印</A> | <A 
      href="http://www.proteus.com.cn/misc.php?action=emailfriend&amp;tid=5388">推荐</A> 
      | <A id=ajax_subscription onclick="ajaxmenu(event, this.id)" 
      href="http://www.proteus.com.cn/my.php?item=subscriptions&amp;subadd=5388">订阅</A> 
      | <A id=ajax_favorite onclick="ajaxmenu(event, this.id)" 
      href="http://www.proteus.com.cn/my.php?item=favorites&amp;tid=5388">收藏</A> 
      </DIV>标题: [原创] BCD码拨盘输入和8段LED输出仿真。汇编,6.9sp4通过。</TD></TR></TBODY></TABLE></DIV>
<FORM name=delpost 
action=topicadmin.php?action=delpost&amp;fid=7&amp;tid=5388&amp;page=1 
method=post><INPUT type=hidden value=b0904064 name=formhash> 
<DIV class=spaceborder 
style="BORDER-TOP: medium none; MARGIN-BOTTOM: 4px; WIDTH: 98%">
<TABLE class=t_row cellSpacing=0 cellPadding=4 width="100%" align=center>
  <TBODY>
  <TR style="HEIGHT: 100%">
    <TD class=t_user vAlign=top width="18%"><A name=pid56797></A><A 
      name=lastpost></A><A class=bold 
      href="http://www.proteus.com.cn/space.php?uid=1827" 
      target=_blank>47okey</A> <BR>
      <DIV class=smalltxt>高级工程师<BR><IMG alt="Rank: 4" 
      src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/star_level3.gif"><BR><BR><BR><BR>UID 
      1827<BR>精华 <A 
      href="http://www.proteus.com.cn/digest.php?authorid=1827">1</A> <BR>积分 
      2292<BR>帖子 222<BR>威望 10 点<BR>金钱 2795 硬币<BR>推广 0 分<BR>阅读权限 50<BR>注册 
      2007-1-22<BR>状态 离线 </DIV></TD>
    <TD 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px" 
    vAlign=top width="82%">
      <TABLE class=t_msg cellSpacing=0 cellPadding=4 border=0>
        <TBODY>
        <TR>
          <TD>
            <DIV>
            <DIV class="right t_number"><A class=bold title=复制帖子链接到剪贴板 
            onclick="setcopy('http://www.proteus.com.cn/viewthread.php?tid=5388&amp;page=1&amp;fromuid=16842#pid56797', '已经复制到剪贴板')" 
            href="http://www.proteus.com.cn/viewthread.php?tid=5388&amp;extra=page%3D22###">#1</A></DIV>
            <DIV class=right style="PADDING-TOP: 4px"><A 
            href="http://www.proteus.com.cn/magic.php?action=user&amp;pid=56797" 
            target=_blank>使用道具</A>&nbsp;&nbsp;</DIV>
            <DIV style="PADDING-TOP: 4px">发表于 2007-5-29 21:47&nbsp; <A 
            href="http://www.proteus.com.cn/viewpro.php?uid=1827" 
            target=_blank>资料</A>&nbsp; <A title=47okey的个人空间 
            href="http://www.proteus.com.cn/space.php?uid=1827" 
            target=_blank>个人空间</A>&nbsp; <A 
            href="http://www.proteus.com.cn/pm.php?action=send&amp;uid=1827" 
            target=_blank>短消息</A>&nbsp; <A id=ajax_buddy_0 
            onclick="ajaxmenu(event, this.id)" 
            href="http://www.proteus.com.cn/memcp.php?action=buddylist&amp;newbuddyid=1827&amp;buddysubmit=yes" 
            target=_blank>加为好友</A>&nbsp; <A 
            href="http://wpa.qq.com/msgrd?V=1&amp;Uin=578743933&amp;Site=Proteus仿真论坛&amp;Menu=yes" 
            target=_blank><IMG alt=QQ 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/qq1_offline.gif" 
            border=0></A> </DIV></DIV><BR>
            <SCRIPT type=text/javascript><!--
google_ad_client = "pub-6292550235687504";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
//-->
</SCRIPT>

            <SCRIPT 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/show_ads.js" 
            type=text/javascript>
</SCRIPT>
            <BR></TD></TR>
        <TR>
          <TD class=line style="PADDING-TOP: 10px" vAlign=top height="100%">
            <DIV style="FLOAT: right" align=right><A title="评分 0" 
            href="http://www.proteus.com.cn/misc.php?action=viewratings&amp;tid=5388&amp;pid=56797"></A></DIV><SPAN 
            class=bold>BCD码拨盘输入和8段LED输出仿真。汇编,6.9sp4通过。</SPAN><BR><BR>
            <DIV class=t_msgfont 
            id=message56797>  最近做了个BCD码拨盘输入和8段LED输出仿真,用74HC245扩展输入,74HC273扩展输出。<BR>因觉尚有收获,故特奉上敝作,以飨大家。<BR>  拨盘的种类很多,作为人机接口最方便的拨盘是十进制输入,BCD码输出的BCD码拨盘。在<BR>智能化仪器、仪表上常可见到这种拨盘。<BR>  如图是我收藏的一个BCD码拨盘,它是由3片BCD码拨盘拼接的一个三位十进制输入拨盘组<BR>。<BR><IMG 
            onmousewheel="return imgzoom(this)" 
            onmouseover="attachimginfo(this, 'attach_6967', 1);attachimg(this, 'mouseover')" 
            onclick="attachimg(this, 'click', 'attachments/forumid_7/20070529_30b0f282c81ac7e2b95cA5JtsSUppBCY.jpg')" 
            onmouseout="attachimginfo(this, 'attach_6967', 0, event)" alt="" 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/20070529_30b0f282c81ac7e2b95cA5JtsSUppBCY.jpg" 
            onload="attachimg(this, 'load', '点击在新窗口查看全图\nCTRL+鼠标滚轮放大或缩小')" 
            border=0>
            <DIV id=attach_6967 onmouseover="showMenu(this.id, 0, 1)" 
            style="DISPLAY: none"><IMG 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/attachimg.gif" 
            border=0></DIV>
            <DIV class=t_attach id=attach_6967_menu title=menu 
            style="DISPLAY: none"><IMG class=absmiddle alt="" 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/image.gif" 
            border=0> <A class=bold 
            href="http://www.proteus.com.cn/attachment.php?aid=6967&amp;nothumb=yes" 
            target=_blank>BCD码拨盘1.jpg</A> (16.31 KB)<BR>
            <DIV class="right smalltxt">2007-5-29 21:47</DIV></DIV>&nbsp; 
            &nbsp;&nbsp;&nbsp;<IMG onmousewheel="return imgzoom(this)" 
            onmouseover="attachimginfo(this, 'attach_6968', 1);attachimg(this, 'mouseover')" 
            onclick="attachimg(this, 'click', 'attachments/forumid_7/20070529_00e55b53235f7be4d8817KUJypo9mjHj.jpg')" 
            onmouseout="attachimginfo(this, 'attach_6968', 0, event)" alt="" 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/20070529_00e55b53235f7be4d8817KUJypo9mjHj.jpg" 
            onload="attachimg(this, 'load', '点击在新窗口查看全图\nCTRL+鼠标滚轮放大或缩小')" 
            border=0>
            <DIV id=attach_6968 onmouseover="showMenu(this.id, 0, 1)" 
            style="DISPLAY: none"><IMG 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/attachimg.gif" 
            border=0></DIV>
            <DIV class=t_attach id=attach_6968_menu title=menu 
            style="DISPLAY: none"><IMG class=absmiddle alt="" 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/image.gif" 
            border=0> <A class=bold 
            href="http://www.proteus.com.cn/attachment.php?aid=6968&amp;nothumb=yes" 
            target=_blank>BCD码拨盘2.jpg</A> (16.64 KB)<BR>
            <DIV class="right smalltxt">2007-5-29 21:47</DIV></DIV><BR>&nbsp; 
            &nbsp;&nbsp; 
            &nbsp;这种拨盘组,每片拨盘具有0-9十数相一个位置,每个位置都有相应的数字显示,代表拨盘<BR>输入的十进制数,因此每片拨盘可代表一位十进制数。需要几位十进制数,就用几片BCD码拨<BR>盘拼接。<BR>  BCD码拨盘后面可接5根线,其中一根为输入控制线,另外4根是BCD码输出信号线。拨盘拨<BR>到不同位置,输入控制线分别与4根BCD码输出线中的某根或某几根接通。其接通的BCD码输出<BR>线状态正好与拨盘指示的十进制相一致。<BR>  刚学protues时,就想做个BCD码拨盘输入的仿真,一直以为没有拨盘模型,也就作罢。前<BR>几天,偶然中,试用"BCD"作Keywords,在Switches&amp;Relays里只有一个THUMBSWITCH﹣BCD,<BR>是一空心矩形出4根线,不像。有点失望。加载、运行、笑S。十进制数字出来了,虽然没有输<BR>入控制线,但4个输出端却有相应的红蓝电平。<BR>&nbsp; 
            &nbsp;&nbsp; &nbsp;下图,就是0-9十进制数相应的BCD码输出。<BR><A 
            href="http://www.proteus.com.cn/attachments/forumid_7/20070529_f75f2da36e5c09e57383lsoqqtMyHGrm.jpg" 
            target=_blank><IMG 
            onmouseover="attachimginfo(this, 'attach_6971', 1)" 
            onmouseout="attachimginfo(this, 'attach_6971', 0, event)" 
            alt=点击在新窗口查看全图 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/20070529_f75f2da36e5c09e57383lsoqqtMyHGrm.jpg.thumb.jpg" 
            border=0></A>
            <DIV id=attach_6971 onmouseover="showMenu(this.id, 0, 1)" 
            style="DISPLAY: none"><IMG 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/attachimg.gif" 
            border=0></DIV>
            <DIV class=t_attach id=attach_6971_menu title=menu 
            style="DISPLAY: none"><IMG class=absmiddle alt="" 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/image.gif" 
            border=0> <A class=bold 
            href="http://www.proteus.com.cn/attachment.php?aid=6971&amp;nothumb=yes" 
            target=_blank>thumbsw.jpg</A> (33.68 KB)<BR>
            <DIV class="right smalltxt">2007-5-29 
            21:47</DIV></DIV>&nbsp;&nbsp;<BR>  原拟仿真3组4位BCD码输入,12只8段LED显示。想来电脑无力,就只先接了4位拨盘,一个<BR>SEGX4-LED。用了3只7245,2只接4位拨盘,作扩展用,1只接P0口输入BCD码信号,同时,当P0<BR>口输出时,它又可隔断来自BCD码拨盘的信号。2只273也接P0口,分别接受P0口输出的LED的位<BR>码和段码信号。这里的273也作扩展用,但不是用总线方式(因为还不会<IMG 
            alt="" 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/tongue.gif" 
            border=0 
            smilieid="7">),而是用上升沿触<BR>发11脚(CLK)。当1脚为高电平时,11(CLK)脚是锁存控制端,并且是上升沿触发锁存,当11脚有一<BR>个上升沿,立即锁存输入脚3、4、7、8、13、14、17、18的电平状态,并且立即呈现在在输出脚<BR>2(Q0)、5(Q1)、6(Q2)、9(Q3)、12(Q4)、15(Q5)、16(Q6)、19(Q7)上。而245也是通过P2.7、<BR>P2.6、P2.5的高低电平给138的A、B、C使输出低电平,给它的19脚(/CE或/G),245使能。接<BR>BCD拨盘的245,读的那个使能,其它禁止。接P0的245,当P0口读BCD码时,245使能。P0口输<BR>出LED位码和段码时,245禁止。<BR>  所以尽管只用上单片机的P0口,可以既作输入,又作输出,而且又都是多个8位输入、<BR>输出。这些就是利用245、273由程序在不同时间发出相应电平让它们分时工作来实现的。<BR><BR><A 
            href="http://www.proteus.com.cn/attachments/forumid_7/20070529_60c6535e1b02b28f75cfhzL6gCTyjLoc.jpg" 
            target=_blank><IMG 
            onmouseover="attachimginfo(this, 'attach_6969', 1)" 
            onmouseout="attachimginfo(this, 'attach_6969', 0, event)" 
            alt=点击在新窗口查看全图 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/20070529_60c6535e1b02b28f75cfhzL6gCTyjLoc.jpg.thumb.jpg" 
            border=0></A>
            <DIV id=attach_6969 onmouseover="showMenu(this.id, 0, 1)" 
            style="DISPLAY: none"><IMG 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/attachimg.gif" 
            border=0></DIV>
            <DIV class=t_attach id=attach_6969_menu title=menu 
            style="DISPLAY: none"><IMG class=absmiddle alt="" 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/image.gif" 
            border=0> <A class=bold 
            href="http://www.proteus.com.cn/attachment.php?aid=6969&amp;nothumb=yes" 
            target=_blank>THUMBSW2.jpg</A> (66.93 KB)<BR>
            <DIV class="right smalltxt">2007-5-29 21:47</DIV></DIV></DIV><BR 
            style="CLEAR: both"><FONT 
            style="FONT: 12px Tahoma, Verdana; COLOR: #333333"><BR><BR>
            <DIV class=msgbody>
            <DIV class=msgheader>
            <DIV class=right><A 
            href="http://www.proteus.com.cn/member.php?action=credits&amp;view=getattach" 
            target=_blank><IMG alt=查看积分策略说明 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/credits_attachlist.gif" 
            border=0></A></DIV>附件</DIV>
            <DIV class=msgborder 
            style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; BORDER-BOTTOM: 0px">
            <DIV class=t_attachlist>
            <DIV class="right smalltxt">2007-5-29 21:47<BR>&nbsp;&nbsp;下载次数: 
            8</DIV><IMG class=absmiddle alt="" 
            src="BCD码拨盘输入和8段LED输出仿真。汇编,6_9sp4通过。 - 单片机仿真 - Proteus仿真论坛 电路仿真  MCU仿真  ARM仿真 - Powered by Discuz!.files/rar.gif" 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -