利用51单片机来控制另一个51单片机来实现4*4矩阵键盘扫描和8位数码管的显示。 有原理图与所有程序。
上传时间: 2013-10-28
上传用户:d815185728
按下按钮SW1时,数码管LED1显示数字“1”;按下SW2时,数码管LED2显示数字“2”;以此类推,按下SW6时,数码管LED6显示数字“6”;无键按下时,数码管不显示任何内容。
上传时间: 2013-11-22
上传用户:xuan‘nian
80C51单片机控制流水灯 1使用汇编语言编写程序,8个LED灯接在P0口,显示出流水灯效果 2用mov指令移位 3用查表法显示流水灯 4将P1口拨码开关设置状态读出,作为流水灯设置显示模式 5在4的基础上加入控制功能,K0为低电平时,LED停止移动,K0高电平时,LED开始移动;K1为低电平时,LED左移,K1高电平时,LED右移。
上传时间: 2013-10-31
上传用户:ggwz258
单片机控制LED,8X8_LED点阵显示原理与编程技术
上传时间: 2013-11-02
上传用户:nanfeicui
提出一种基于单片机AT89S52控制的数字频率计的设计新方法。该方法将待测频率信号经过整形放大后输入单片机,然后由单片机控制内部计数器分别对待测信号和标准信号同时计数,再经运算处理得到测量结果,可自动量程转换,并由1602ALED显示器实时显示。该设计与传统测频系统相比,具有体积小、成本低、低功耗、精度高等优点,适用于各种测量电路。
上传时间: 2013-10-22
上传用户:erkuizhang
在前面我们已经学习了1602 和12864 液晶的基本知识,并且通过简单的实例实现了 在1602和12864液晶上显示字符和汉字。今天我们再来学习另外一种比较常用的液晶12232. 本实例中我们选用深圳锦昌电子的DM12232B型液晶。 本实例分为三个功能模块,分别描述如下: ● 单片机系统:利用ATmega16 单片机与DM12232B型液晶构成液晶显示电路。 ● 外围电路:DM12232B型液晶与单片机的连接电路。 ● 软件程序:编写软件,控制液晶显示字符。 通过本实例的学习,掌握以下内容: ● 掌握 DM12232B型液晶的基本原理和程序设计方法。
标签: CEPARK-AVR 12232 LCD 单片机教程
上传时间: 2013-10-19
上传用户:nanshan
为了有效地提升铅酸蓄电池的使用寿命,同时实现对充电过程的监控,设计出一种用单片机控制的36 V铅酸蓄电池充电电源。本电路采用反激式拓扑,连续电流工作模式,电源管理IC设计在电源的副边,由ELAN公司的EM78P258N单片机模拟,是用可编程器件模拟电源管理IC,实现智能电源低成本化的一次成功尝试,通过对单片机的软件设计实现了充电电源的状态显示、充电时间控制、报警、过温保护、过压保护、过流保护等功能。本充电器真正的实现了铅酸蓄电池的三段式充电过程,其最高输出功率可达90 W,效率约85%,成本不到20元,具有很高的市场竞争力。 Abstract: In order to extend the life of lead-acid battery efficiently and supervise the charging process meanwhile, a 36V lead-acid battery charge powe supply controlled by microcontroller is designed. The charger is flyback switching power supply and works in CCM mode. A EM78P258N microcontroller made by ELAN microelectronics corporation is used as power management IC which is designed at the secondary circuit. The project is a successful attempt to low-cost intelligent power used microcontroller simulating power management IC. The charger also has the functions of the status reveal, charge time control, alarming, thermal protect, current limit and overvoltage protect by the software design. The circuit actually implements the three-step charge process, whose power is up to 90W and whose efficiency can get 85%. The net cost of this charger is less than 20 RMB, so that the charger is of powerful market competitiveness.
上传时间: 2013-11-16
上传用户:cepsypeng
为深入了解基于UC3854A控制的PFC变换器中的动力学特性,研究系统参数变化对变换器中分岔现象的影响,在建立Boost PFC变换器双闭环数学模型的基础上,用Matlab软件对变换器中慢时标分岔及混沌等不稳定现象进行了仿真。在对PFC变换器中慢时标分岔现象仿真的基础上,分析了系统参数变化对分岔点的影响,并进行了仿真验证。仿真结果清晰地显示了输入整流电压的幅值变化对系统分岔点的影响。 Abstract: In order to better understand the dynamics characteristic of power factor correction converter based on UC3854A, and make the way that parameters change influences the bifurcation phenomena of the system clearly. The math model of the two closed loop circuits to the Boost PFC (Power Factor Correction) converter controller was built. Then, with the help of Matlab, the simulation for nonlinear phenomena such as chaos and slow-scale bifurcation in the PFC converter was made. Finally the factors that have influence to the phenomenon of bifurcation under slow-scale in PFC converter were analyzed. The simulation results clearly show the parameters change influences the bifurcation point of the system.
上传时间: 2013-10-17
上传用户:杜莹12345
设计并制作了基于AT89S52 的高精度家用空调温度控制系统。系统硬件主要由电源电路、温度采集电路(DS18B20)、按键、显示电路、控制电路及其他辅助电路等部分组成,软件采用8051C语言编程。该系统可以完成温度显示、温度设定、空调控制及限温报警等多项功能,在现代生产生活中具有极高的应用价值。
上传时间: 2013-11-04
上传用户:lijianyu172
本文介绍了基于AT89C52 单片机的自动水温控制系统的设计及实现过程。该系统具有实时显示、温度测量、温度设定并能根据设定值对环境温度进行调节实现控温的目的以及达到上下限温度报警功能,控制算法是基于数字PID 算法。关键词 :PID AT89C52 脉宽调制 实时 Abstract : This article describes AT89C52 single-chip microcomputer-basedautomatic water temperature control system design and implementation process. Thesystem has real-time display, temperature measurement, temperature settings and theenvironment in accordance with the temperature settings adjusted to achieve thepurpose of temperature control and reach the upper and lower limits of temperaturealarm function, the control algorithm is based on the digital PID algorithm.Keyword: PID AT89C52 PWM real time
上传时间: 2013-10-10
上传用户:归海惜雪