<?xml version="1.0" encoding="gb2312"?><rss version="2.0"><channel><title>hkcai的博客</title><link></link><description></description><language>zh-cn</language><generator>Goodspeed Rss</generator><ttl>15</ttl><pubDate>Mon, 08 Sep 2008 17:46:03 GMT</pubDate><category></category><copyright></copyright><docs></docs><item><title>13．动态数码显示技术四</title><pubDate>Sat, 12 May 2007 23:57:35 GMT</pubDate><link>http://blog.ednchina.com/hkcai/27492/message.aspx</link><description>13．动态数码显示技术四——利用中断实现数码管动态显示 1． 实验任务  数据端与P0口相连（参见原理图），控制端分别与P2.4到P2.7相联接，将需要显示的数字（字母）所对应的8位编码送到P0口，然后通过P2.4到P2.7口开关数码管的控制线，就可以实现对应位的显示. 本程序实现四位数码管上循环动</description><comments></comments><guid>http://blog.ednchina.com/hkcai/27492/message.aspx</guid><category></category><author>hkcai</author></item><item><title>13．动态数码显示技术三</title><pubDate>Sat, 12 May 2007 23:41:23 GMT</pubDate><link>http://blog.ednchina.com/hkcai/27479/message.aspx</link><description>13．动态数码显示技术三——LED数码管动态扫描显示“12345”和“HELLO”字样 1． 实验任务 如图4.13.1所示，P0端口接动态数码管的字形码笔段，P2端口接动态数码管的数位选择端，P1.7接一个开关，当开关接高电平时，显示“12345”字样；当开关接低电平时，显示“HELLO”字样。 </description><comments></comments><guid>http://blog.ednchina.com/hkcai/27479/message.aspx</guid><category></category><author>hkcai</author></item><item><title>13．动态数码显示技术二</title><pubDate>Sat, 12 May 2007 23:23:50 GMT</pubDate><link>http://blog.ednchina.com/hkcai/27477/message.aspx</link><description>13．动态数码显示技术一 ——LED数码管动态扫描显示数字1～８一、电路和效果二、汇编源程序LED EQU P0 ORG 00H START: MOV DPTR,#TABLE  DIR: MOV R0,#0  MOV R1,#01H NEXT: MOV A,R0  MOVC A,@A+DPTR  M</description><comments></comments><guid>http://blog.ednchina.com/hkcai/27477/message.aspx</guid><category></category><author>hkcai</author></item><item><title>51单片机使用点滴</title><pubDate>Wed, 09 May 2007 22:33:01 GMT</pubDate><link>http://blog.ednchina.com/hkcai/26821/message.aspx</link><description>来源:电子世界　　作者:吴健　　8051单片机是我们最常见的一种单片机，我用8051已经很久了，也教过一段时间的单片机课程，在这里把自己的心得与大家分享一下。 一、硬件部分 一定要记得接晶振和复位电路。很多学生在Proteus上仿真成功后，焊板子的时候总是不记得把晶振和复位电路接上，这样板子是不会工</description><comments></comments><guid>http://blog.ednchina.com/hkcai/26821/message.aspx</guid><category></category><author>hkcai</author></item><item><title>什么是复位电路？</title><pubDate>Wed, 09 May 2007 22:29:39 GMT</pubDate><link>http://blog.ednchina.com/hkcai/26819/message.aspx</link><description>　　简单地说，单片机的复位就和计算机的重起是一样的概念、任何单片机在工作之前都要有个复位的过程，复位对单片机来说，是程序还没有开始执行，是在做准备工作。一般的复位只需要5ms的时间。 　　如何进行复位呢？只要在单片机的RET引脚上加上高电平就可以了．按上面所说时间不少于5ms。为了达到这个要求，需要</description><comments></comments><guid>http://blog.ednchina.com/hkcai/26819/message.aspx</guid><category></category><author>hkcai</author></item><item><title>什么是单片机的定时器？</title><pubDate>Wed, 09 May 2007 22:27:38 GMT</pubDate><link>http://blog.ednchina.com/hkcai/26818/message.aspx</link><description>　　MCS—51系列的单片机一般有两个内部的16位定时器/计数器．分别称为T0和Tl。这两个计数器分别是由两个8位的RAM单元组成的，即每个计数器都是16位的计数器，最大的计数量是65536。 　　那么这个定时/计数器是如何产生定时作用的呢?举个例子，如果将时钟定时到1分钟，那么秒针计数到60次后，</description><comments></comments><guid>http://blog.ednchina.com/hkcai/26818/message.aspx</guid><category></category><author>hkcai</author></item><item><title>13．动态数码显示技术一</title><pubDate>Mon, 07 May 2007 22:35:54 GMT</pubDate><link>http://blog.ednchina.com/hkcai/25814/message.aspx</link><description>13．动态数码显示技术一 ——LED数码管的驱动原理与动态扫描显示 一、实验原理 这里用的共阳极的LED数码管，共阳就是7段的显示字码共用一个电源的正。原理示意图：   从上图可以看出，要是数码管显示数字，有两个条件：1、是要在VT端（3/8脚）加正电源；2、要使（a,b,c,d,e,f,g,dp)</description><comments></comments><guid>http://blog.ednchina.com/hkcai/25814/message.aspx</guid><category></category><author>hkcai</author></item><item><title>6．报警产生器</title><pubDate>Sat, 21 Apr 2007 10:29:25 GMT</pubDate><link>http://blog.ednchina.com/hkcai/23219/message.aspx</link><description>1． 实验任务 用P1.0输出1KHz和500Hz的音频信号驱动扬声器，作报警信号，要求1KHz信号响100ms，500Hz信号响200ms,交替进行，P1.7接一开关进行控制，当开关合上响报警信号，当开关断开告警信号停止，编出程序。2． 电路原理图 图1 图23．程序设计内容 （1． 信号产生的方</description><comments></comments><guid>http://blog.ednchina.com/hkcai/23219/message.aspx</guid><category></category><author>hkcai</author></item><item><title>5．广告灯（利用取表方式）</title><pubDate>Sun, 15 Apr 2007 00:58:30 GMT</pubDate><link>http://blog.ednchina.com/hkcai/22220/message.aspx</link><description>1． 实验任务 利用取表的方法，使端口P1做单一灯的变化：左移2次，右移2次，闪烁2次（延时的时间0.2秒）。2．电路原理图  图13． 程序设计内容 在用表格进行程序设计的时候，要用以下的指令来完成（1）． 利用MOV　DPTR，＃DATA16的指令来使数据指针寄存器指到表的开头。（2）． 利用M</description><comments></comments><guid>http://blog.ednchina.com/hkcai/22220/message.aspx</guid><category></category><author>hkcai</author></item><item><title>4．广告灯的左移右移</title><pubDate>Sat, 14 Apr 2007 16:13:13 GMT</pubDate><link>http://blog.ednchina.com/hkcai/22198/message.aspx</link><description>1． 实验任务 　　做单一灯的左移右移，硬件电路如图4.4.1所示，八个发光二极管L1－L8分别接在单片机的P1.0－P1.7接口上，输出“0”时，发光二极管亮，开始时P1.0→P1.1→P1.2→P1.3→┅→P1.7→P1.6→┅→P1.0亮，重复循环。 2．电路原理图  图1 3． 程序设计内</description><comments></comments><guid>http://blog.ednchina.com/hkcai/22198/message.aspx</guid><category></category><author>hkcai</author></item><item><title>初学者的第一个单片机程序</title><pubDate>Sat, 14 Apr 2007 00:26:14 GMT</pubDate><link>http://blog.ednchina.com/hkcai/22005/message.aspx</link><description>/* *************************************************************************** * (C) Copyright 2007,单片机初学者园地 * All Rights reserved. * *项目名称： 51单片机学习开发</description><comments></comments><guid>http://blog.ednchina.com/hkcai/22005/message.aspx</guid><category></category><author>hkcai</author></item><item><title>3．多路开关状态指示</title><pubDate>Fri, 13 Apr 2007 23:31:52 GMT</pubDate><link>http://blog.ednchina.com/hkcai/21996/message.aspx</link><description>1． 实验任务 如图1所示，AT89S51单片机的P1.0－P1.3接四个发光二极管L1－L4，P1.4－P1.7接了四个开关K1－K4，编程将开关的状态反映到发光二极管上。（开关闭合，对应的灯亮，开关断开，对应的灯灭）。2． 电路原理图  图13． 程序设计内容 （1） 开关状态检测 对于开关状态</description><comments></comments><guid>http://blog.ednchina.com/hkcai/21996/message.aspx</guid><category></category><author>hkcai</author></item><item><title>2．模拟开关灯</title><pubDate>Fri, 13 Apr 2007 22:44:43 GMT</pubDate><link>http://blog.ednchina.com/hkcai/21979/message.aspx</link><description>1． 实验任务 如图1所示，监视开关K1（接在P3.0端口上），用发光二极管L1（接在单片机P1.0端口上）显示开关状态，如果开关合上，L1亮，开关打开，L1熄灭。2． 电路原理图  图413． 程序设计内容 （1）． 开关状态的检测过程 单片机对开关状态的检测相对于单片机来说，是从单片机的P3.0</description><comments></comments><guid>http://blog.ednchina.com/hkcai/21979/message.aspx</guid><category></category><author>hkcai</author></item><item><title>1．闪烁灯</title><pubDate>Fri, 13 Apr 2007 22:01:44 GMT</pubDate><link>http://blog.ednchina.com/hkcai/21975/message.aspx</link><description>1．实验任务 　　如图1所示：在P1.0端口上接一个发光二极管D1，使D1在不停地一亮一灭，一亮一灭的时间间隔为0.2秒。 图12． 程序设计内容  （1）．延时程序的设计方法  作为单片机的指令的执行的时间是很短，数量大微秒级，因此，我们要求的闪烁时间间隔为0.2秒，相对于微秒来说，相差太大，所以</description><comments></comments><guid>http://blog.ednchina.com/hkcai/21975/message.aspx</guid><category></category><author>hkcai</author></item><item><title>8位数据/地址锁存器74LS273</title><pubDate>Thu, 05 Apr 2007 23:27:02 GMT</pubDate><link>http://blog.ednchina.com/hkcai/20823/message.aspx</link><description>74LS273是8位数据/地址锁存器 　　74LS273是一种带清除功能的8D触发器， 1D～8D为数据输入端，1Q～8Q为数据输出端，正脉冲触发，低电平清除，常用作8位地址锁存器。　　1.管脚图D0～D7：出入；Q0~Q7：输出；第一脚WR：主清除端，低电平触发，即当为低电平时，芯片被清除，输出全</description><comments></comments><guid>http://blog.ednchina.com/hkcai/20823/message.aspx</guid><category></category><author>hkcai</author></item></channel></rss>