虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

脉冲群

  • I/O 型单片机使用手册

    I/O 型单片机使用手册 目录 间接寻址寄存器 – IAR, IAR0, IAR1 .............................................35间接寻址指针 – MP, MP0, MP1 ......................................................35存储区指针 – BP .........................................................................36累加器 – ACC...................................................................................37程序计数器低字节寄存器 – PCL....................................................37表格寄存器 – TBLP,TBHP,TBLH....................................................37看门狗定时寄存器 – WDTS............................................................38状态寄存器 – STATUS.....................................................................38中断控制寄存器 – INTC,INTC0,INTC1 .........................................39定时/计数寄存器...............................................................................39输入/输出端口和控制寄存器...........................................................40UART 寄存器 .USR,UCR1,UCR2,TXR/RXR,BRG.......................40输入/输出端口..........................................................................................41上拉电阻............................................................................................41PA 口的唤醒......................................................................................41输入/输出端口控制寄存器...............................................................41引脚共享功能....................................................................................42编程注意事项....................................................................................45定时/计数器..............................................................................................46配置定时/计数器输入时钟源...........................................................47定时/计数寄存器 – TMR, TMR0,TMR0L/TMR0H,TMR1L/TMR1H,TMR2.....................................................................49定时/计数控制寄存器 – TMRC,TMR0C,TMR1C,TMR2C............50定时器模式........................................................................................53事件计数器模式................................................................................53脉冲宽度测量模式............................................................................54可编程分频器(PFD)和蜂鸣器的应用..............................................55预分频器(Prescaler)...........................................................................56输入/输出接口...................................................................................56编程注意事项....................................................................................57定时/计数器应用范例.......................................................................57中断............................................................................................................59中断寄存器........................................................................................59中断优先权........................................................................................62外部中断............................................................................................63定时/计数器中断...............................................................................64UART 中断........................................................................................64编程注意事项....................................................................................65复位和初始化............................................................................................66复位....................................................................................................66目录iii异步串行口——UART............................................................................74UART 特性..........................................................................................74UART 外部引脚..................................................................................74数据发送.............................................................................................75UART 状态控制寄存器......................................................................75波特率发生器.....................................................................................79UART 设置与控制..............................................................................81UART 发送器......................................................................................83UART 接收器......................................................................................84接收错误处理.....................................................................................85接收中断图解.....................................................................................86地址检测模式.....................................................................................86暂停模式下的UART 功能.................................................................87UART 应用范例.................................................................................87振荡器........................................................................................................89系统时钟配置....................................................................................89系统晶体/陶瓷振荡器.......................................................................89系统电阻电容振荡器........................................................................90内部系统电阻电容振荡器................................................................90RTC 振荡器........................................................................................91看门狗定时振荡器............................................................................91暂停和唤醒................................................................................................92暂停.....................................................................................................92进入暂停.............................................................................................92静态电流.............................................................................................92唤醒....................................................................................................92看门狗定时器............................................................................................94掩膜选项....................................................................................................96应用电路....................................................................................................97第二部份 程序语言.....................................................................99第二章 指令集介绍.................................................................................101指令集......................................................................................................101指令周期..........................................................................................101数据的传送......................................................................................101算术运算..........................................................................................102逻辑和移位运算..............................................................................102分支和控制的转换..........................................................................102位运算..............................................................................................102查表运算..........................................................................................103其它运算..........................................................................................103指令设定一览表......................................................................................104惯例..................................................................................................104I/O 型单片机使用手册iv第三章 指令定义.....................................................................................107第四章 汇编语言和编译器.....................................................................121常用符号..................................................................................................121语句语法..................................................................................................122名称..................................................................................................122操作项..............................................................................................122操作数项..........................................................................................122注解..................................................................................................122编译伪指令..............................................................................................123条件编译伪指令..............................................................................123文件控制伪指令..............................................................................124程序伪指令......................................................................................126数据定义伪指令..............................................................................130宏指令..............................................................................................132汇编语言指令..........................................................................................136名称..................................................................................................136助记符..............................................................................................136操作数、运算子和表达式..............................................................136其它..........................................................................................................139前置引用..........................................................................................139局部标号..........................................................................................139汇编语言保留字..............................................................................140编译器选项..............................................................................................141编译列表文件格式..................................................................................141源程序列表......................................................................................141编译总结..........................................................................................142其它..................................................................................................142第三部份 开发工具................................................................... 145第五章 单片机开发工具.........................................................................147HT-IDE 集成开发环境............................................................................147盛群单片机仿真器(HT-ICE) ..................................................................149HT-ICE 接口卡.................................................................................149OTP 烧写器.....................................................................................149OTP 适配卡.....................................................................................149系统配置..................................................................................................150HT-ICE 接口卡设置........................................................................151安装..........................................................................................................153系统要求..........................................................................................153硬件安装..........................................................................................153软件安装..........................................................................................154目录v第六章 快速开始.....................................................................................159步骤一:建立一个新项目..............................................................159步骤二:将源程序文件加到项目中..............................................159步骤三:编译项目..........................................................................159步骤四:烧写OTP 单片机.............................................................160步骤五:传送程序与掩膜选项单至Holtek ..................................160附录............................................................................................... 161附录A 特性曲线图...................................................................................163附录B 封装信息.......................................................................................173

    标签: 单片机 使用手册

    上传时间: 2013-10-18

    上传用户:blacklee

  • 基于ATmega128的泥浆压力脉冲信号仿真器

    本文提出了一种基于Atmega128 单片机的某种专用泥浆压力脉冲信号仿真器,该仿真器用于石油钻井无线随钻测量仪器的研制开发和维修过程中。本信号仿真器的核心是ATmega128 单片机,通过单片机的软件来模拟各种不同类型的信号和噪声,并且能将这些信号和噪声混合后,通过特殊的硬件电路以4-20 毫安电流环的标准工业传感器形式输出。这种仿真器使用简单方便,能够逼真的模拟实际工程现场的压力信号,稳定性好,性能先进。

    标签: ATmega 128 压力 仿真器

    上传时间: 2013-10-20

    上传用户:ljt101007

  • 基于PIC单片机的脉冲电源

    基于PIC单片机的脉冲电源:设计了一种金属凝固过程用脉冲电源。该电源采用PIC16F877作为主控芯片,实现对窄脉冲电流幅值的检测,以及时电流脉冲幅值根据模糊PID算法进行闲环控制。使用结果表明:该电源的输出脉冲波形良好,电流幅值稳定,满足合金材料凝固过程的工艺要求且运行稳定可靠。关键词:脉冲电源;PIC16F877单片机;模糊PID;闲环控制 Abstract:A kind of pulse power supply was designed which uses in the metal solidification process ..I11is power supply used PIC16F877 to take the master control chip reali on to the narrow pulse electric current peak-to-peak value examination,carried on the closed-loop control to the electric current pulse peak-to-peak value basis fuzzy PID algorithm.The use result indicated ,this power supply output se profile is good,and the electric current peak-to-p~k value is stable,It satisfies the alloy material solidification process the technological requirement and movement stable reliable,Key words:p se po wer supply;PIC16F877single-chip microcontroller;f r PID;closed-loop control

    标签: PIC 单片机 脉冲电源

    上传时间: 2013-10-27

    上传用户:xcy122677

  • 用TPM2产生PWM和作脉冲宽度、周期测量

    用TPM2产生PWM和作脉冲宽度、周期测量:SPMC75F2413A的TPM2除具有一般的定时/计数的功能外,还有两路的PWM输出/两路的捕获功能,因此增强和扩展了TPM2在一般领域中的应用,本应用例介绍TPM2产生脉冲及捕获(测量)脉冲。1.2 TPM2简介SPMC75F2413A有一个通用16位TPM定时器,即TPM定时器2,支持捕获输入和PWM输出功能。在电机控制速度反馈环应用中,定时器2可以用来提供的系统时间基准。定时器2为捕获输入和PWM输出操作提供两个输入/输出引脚。详细介绍请参考《SPMC75F2413A编程指南》TPM定时器2模块部分。

    标签: TPM2 PWM 脉冲宽 周期

    上传时间: 2013-11-09

    上传用户:司令部正军级

  • 基于3G无线传感的桥梁集群健康监测系统

    介绍了一种基于3G无线传感的桥梁集群健康实时监测系统。系统将3G无线模块与ZIGBEE无线传感网络模块统一于AT91SAM9G20 ARM微处理器芯片,嵌入LINUX操作系统,设计了桥梁健康监测系统下位机系统。采用VC6.0软件,设计了桥梁健康监测中心上位机系统。在桥梁集群上80个采集点实际应用表明,该系统运行稳定,数据存储和无线传输稳定可靠,可满足桥梁集群无线健康监测的需求。

    标签: 无线传感 健康监测

    上传时间: 2013-11-07

    上传用户:15071087253

  • 基于蚁群算法PID控制器的应用研究

    传统的PID控制对于控制模型不确定并具有非线性特性的对象时,存在参数难以整定、控制效果不好的缺点,文中提出了一种基于蚁群算法的PID调节算法,即利用蚁群算法动态调节PID的参数,实现对配料系统的控制,通过实验仿真的方式证明了该方法具有良好的控制效果及适应性。

    标签: PID 蚁群算法 控制器 应用研究

    上传时间: 2013-10-09

    上传用户:ccccccc

  • 磁阻传感器的置位复位脉冲电路

    置位/复位电路有多种设计方法,应根据成本预算和设置的磁场分辨率来选择最佳方案。置位脉冲和复位脉冲对传感器所起的作用是基本一样的,唯一的区别是传感器的输出改变正负号。

    标签: 磁阻传感器 复位 脉冲电路

    上传时间: 2013-10-17

    上传用户:名爵少年

  • 高速脉冲峰值保持电路的设计

      为满足能谱分析中多道脉冲幅度分析器A/D转换的要求,设计了一种高速脉冲峰值保持电路。以高速电压比较器LM311、采样/保持芯片LF398作为主要器件,具有幅度判别、波形采样、峰值保持、电荷泄放等功能,结构简单,易于调试。实验表明:对于高速脉冲信号,该电路可以较好地甄别峰值并保持,性能可靠,响应速度快,误差小于1%。

    标签: 高速脉冲 峰值保持电路

    上传时间: 2013-11-17

    上传用户:saharawalker

  • 单脉冲跟踪雷达测速精度的提高及应用

    文中在FFT基础上,运用高低通滤波器原理,采用精确计算得出多普勒频率偏差的方法,从而提高了频率、目标速度的测量精度。计算机仿真和外场试验结果均表明了此方法的有效性。目前该方法已应用于某单脉冲跟踪雷达系统。

    标签: 单脉冲跟踪 雷达测速 精度

    上传时间: 2013-10-30

    上传用户:qingdou

  • 基于粒子群算法的阵列天线波束赋形

    粒子群算法是在遗传算法基础上发展起来的一种新的并行优化方法,可用于解决大量非线性、不可微和多峰值的复杂问题。与遗传算法不同的是,粒子群算法中的粒子有记忆功能,整个搜索过程是跟随当前最优粒子的过程,因此在大多数情况下,所有的粒子可能更快的收敛于最优解。而且粒子群算法理论简单,参数少,因此其应用更为广泛。文中把粒子群算法用于阵列天线的波束赋形,结果表明粒子群算法在对天线形状进行设计方面有很好的发展前景。

    标签: 粒子群算法 波束赋形 阵列天线

    上传时间: 2013-11-14

    上传用户:lz4v4