本文档介绍如何使用PIC单片机编程器开发工具在目标电路板上仿真和调试固件。本手册的内容编排如下 第一章 PIC单片机编程器概述 第二章 入门 第三章 PIC编程器和ICSP 第四章 PICKIT DEBUG EXPRESS 第五章 疑难解答 ......................
上传时间: 2013-10-19
上传用户:sardinescn
遥控器使用方便, 功能多, 目前已广泛应用在电视机、、、空调等各种家用电器中, 且价格便宜, 市上非常容易买到。如果能将遥控器上许多的按键解码出来, 用作单片机系统的输入, 则解决了常规矩阵键盘线路板大、布线复杂、占用口过多的弊病。而且通过使用遥控器, 操作时可实现人与设备的分离, 从而更加方便使用。下面以下编码芯片的遥控器为例,谈谈如何用常用的系统单片机进行遥控的解码。
上传时间: 2013-10-15
上传用户:gxmm
任务1 广告灯电路的制作 任务2 音频控制电路的制作 任务3 继电器控制电路的制作 任务4 程序调试 任务5 程序烧写
上传时间: 2013-10-29
上传用户:ZOULIN58
MSP430和ARM7是两个完全不同体系构架的处理器,因此虽一些在应用上具有共性的问题做个简要比较。 目前在应用中比较普遍关心的是 速度和功耗、 应用范围、内部资源、硬件设计、设计周期、成本考虑
上传时间: 2013-10-22
上传用户:wenwiang
针对目前使用的RS232接口数字化B超键盘存在PC主机启动时不能设置BIOS,提出一种PS2键盘的设计方法。基于W78E052D单片机,采用8通道串行A/D转换器设计了8个TGC电位器信息采集电路,电位器位置信息以键盘扫描码序列形式发送,正交编码器信号通过XC9536XL转换为单片机可接收的中断信号,软件接收到中断信息后等效处理成按键。结果表明,在满足开机可设置BIOS同时,又可实现超声特有功能,不需要专门设计驱动程序,接口简单,成本低。 Abstract: Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.
上传时间: 2013-10-10
上传用户:asdfasdfd
在航电系统维护过程中,为解决定位故障的效率和降低维修成本等问题,提出了基于ICD(Interface Control Document,接口控制文件)的1553B总线的信息监控系统模型。该系统运用数据采集卡对总线中传输的信号有无失真、偏差等电气特性进行检测,并使用1553B通讯卡通过测控软件LabWindows/CVI编程与ICD数据库的动态链接,实现总线信息的解析和故障的判断。与传统的维护过程相比,这种模型能够从信号的电气特性以及信息的解析等全方位的去检测判断故障的来源,并且能够广泛在其他1553B总线系统内扩展应用。验证表明该监控系统可以对总线信息进行快速有效地监测分析,能满足应用需求。 Abstract: In the process of avionics system maintenance, to solve the problems such as improving the efficiency of fast orientation to troubles and reducing maintenance cost, system of 1553B bus information monitor model based on ICD was proposed. The system observed whether the data which transmitted on the bus appear distortion and deviation by using data acquisition card. And using 1553B communication card programming of the measure software LabWindows/CVI and the dynamic linking of ICD database, message analysis and fault estimation could be realized. Compared with traditional maintenance, this model can all-dimensionally detect and analyze the source of faults from both electrical characteristics of the signal and message analysis, and it can be widely applied in the other 1553B system. Experiment shown that this monitor system can effectively detect and analyze the bus message and can meet the application requirements.
上传时间: 2013-11-23
上传用户:18752787361
第一章:MCS-51系列单片机的存储结构(4学时) ① 掌握内部数据寄存器RAM的结构、用途和特点; ② 程序存储器ROM的结构特点,编程中应注意的问题; ③ 片内、外程序存储器的确定方法。 .. 第二章:MCS-51单片机指令系统及时序(4学时) ① 111条指令的功能分类; ② 指令的寻址方式; ③ 伪指令及汇编语言源程序的格式; ④ 与指令的相关时序。 第三章:MCS-51单片机内部模块的功能介绍(8学时) ① 内部并行I/O端口的结构特点、使用中的注意事项; ② 定时/计数器的2种工作方式、4种计数模式; ③ 串行接口的4种工作模式的设定及波特率的计算; ④ 中断系统的结构、中断响应的过程和编程方法。 .. 第四章:MCS-51单片机系统的扩展及应用(8学时); ① 系统扩展的几种方法; ② 外部程序、数据存储器的扩展; ③ A/D、D/A转换器与单片机的接口电路及编程方法; ④ 键盘扫描/动态显示接口电路; ⑤ 单片机的监控电路等。
上传时间: 2013-10-17
上传用户:熊少锋
为了有效地提升铅酸蓄电池的使用寿命,同时实现对充电过程的监控,设计出一种用单片机控制的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
学习单片机离不开实验,以往单片机的实验往往依赖于仿真机和单片机学习系统,价格 昂贵,至使学习单片机的门槛很高,很多人不能跨入单片机学习的大门。近年来,随着FLASH 型单片机的广泛应用,采用软件模拟加写片验证成为一种经济实用的实验方法,尤其是随着 单片机技术的发展,很多单片机都具有了ISP 功能,只要一根下载线即可以编程。STC 单片 机更是将其ISP 功能发挥极致,只要有RS232 接口,不需任何其他电路即可实现ISP 功能。。 多年前,本网站为单片机爱好者设计了实验电路板,并公开了全部的软、硬件资料,广 受爱好者欢迎,很多人使用这块实验电路板学习并由此入门,同时网络上也出现了很多同类 功能的实验电路板,为广大爱好者学习单片机创造了良好的条件。
上传时间: 2014-11-29
上传用户:540750247
为解决当前计算机串行通讯接口只有USB,难以满足旧型号设备或某些单片机要求RS232通讯的问题,设计出两款RS232/USB电路。采用CH341A与MAX223集成电路芯片构建标准9线RS232/USB通用接口转换器,无需编程。采用CH341A与PIC16F877A构建单片机与计算机之间的USB通讯电路,软件遵循RS232通讯协议,硬件进行电平转换。实际使用表明,这两款产品与计算机端Windows 操作系统下的串口应用程序完全兼容,且通讯过程中无握手失败现象。 Abstract: To solve the problem that current computer serial communication only with USB interface can not satisfy with the old type equipments or MCU to communicate with RS232, two kinds of RS232/USB circuit were designed.CH341A and MAX223 integrated circuit chips were used to create a standard 9-line RS232/USB universal interface convertor without programme. CH341A and PIC16F877A chips were adopted to build the USB communication circuit between computers and MCU. The software follows RS232 communication protocol, and the hardware converts electrical levels. Actual practices indicate that the two manufactures are compatible with serial application program of Windows operation system completely,and get avoid of handshake lost.
上传时间: 2013-11-03
上传用户:siying