介绍了一种用MSP430 单片机实现光纤旁路保护器的方法。在硬件设计上采用精密光学元件和控制电路,实现了光路的无缝切换。在MSP430 单片机内嵌入TCP/IP 协议,借助以太网控制芯片CS8900A 实现了单片机通过以太网传输数据。MCU 实时监测防火墙发来的心跳信号,在防火墙出现异常时,旁路器切换光路绕过防火墙,从而保证网络通畅。
上传时间: 2013-11-20
上传用户:yelong0614
RS232C串行通信在控制领域里应用得很广泛但在实际应用中又会因所控制的对象所解决的问题不同而各具特点本文所涉及的是传输距离不超过15米所传输数据量较小的PC机和单片机的通信如PC机对IC卡的读写PC机对单片机烧写器的数据转输以及其它一些具有类似特点的智能化仪器和仪表中的数据通信
上传时间: 2014-12-28
上传用户:6546544
PHILIPS 的P89LPC900 系列FLASH 单片机部分型号提供了8 位精度的AD 转换器,为许多控制系统带来方便,诸如温度控制、运动控制等,在MCU 发出控制指令后,常常需要将执行机构的情况反馈给MCU,从而构成一个闭环系统,达到精细控制的目的。这一检测过程一般由各种传感器完成,在某些对成本有高要求的场合,为了控制成本,也常使用一些简单的分立元件替代数字传感器,通常送到MCU 接口的都是一些经过处理的电压信号,内带ADC 的芯片能够简化设计,并使成本进一步降低。一般来说,8 位的AD 精度已经足以应对,但是在一些对精度要求比较高的场合,可能会需要10 位或者更高精度,细心的用户通过仔细研究P89LPC900 单片机的特点,发现P89LPC900 系列单片机ADC 的特点非常适合进行ADC 过采样,本文正是结合P89LPC900 的特点,介绍该单片机在高精度模数转换场合的应用,以及使用过采样技术需要满足的条件和需注意事项。使这种低成本高精度的AD技术得以应用。
上传时间: 2013-10-11
上传用户:gokk
键盘是单片机系统中重要的人机交互方式之一。电梯、遥控器、电话、门禁系统都需要用到单片机所构成的键盘。当采用键盘扫描方式时,MCU在效率上存在着一定的浪费,而且由于程序的不停循环扫描,另一方面也相对地增加了系统的功耗。LPC900系列单片机提供了节电模式和键盘中断激活,有效地解决了以上问题。本文将以LPC900 Flash 单片机为准,和大家一起探讨键盘电路的构建及程序的设计。
上传时间: 2013-11-16
上传用户:tangsiyun
WDT可以理解为一种监控型定时器,其独立于系统单独工作,如果该定时器溢出时,则系统复位;因此为了保证系统的正常运行,需要在该定时器每次溢出前,对其计数器执行清0操作。根据这一概念,在实际的应用中又衍生出:硬件看门狗与软件看门狗。硬件看门狗可细分为外部WDT及内部WDT(嵌入MCU内部)。而软件看门狗一般采用系统中的一个定时器作为WDT,将该定时器设置为最高优先级,并在系统初始化时对该定时器进行初始化,如果系统正常运行,则在相应位置对其计数器进行清0。如果系统在某处卡死/跑飞,该定时器将溢出,并将进入中断,最后在定时器中断中执行一些复位操作,使系统恢复正常的工作状态。
上传时间: 2014-12-28
上传用户:阿谭电器工作室
CAT24Cxxx是集E2PROM存储器, 精确复位控制器和看门狗定时器三种流行功能于一体的芯片。CAT24C161/162(16K),CAT24C081/082(8K),CAT24C041/042(4K)和CAT24C021/022(2K) 主要作为I2C 串行CMOS E2PROM器件,采用先进的CMOS工艺大大降低了器件的功耗。CAT24Cxxx另一特点是16 字节的页写缓冲区,提供8脚DIP和SOIC封装。CAT24Cxxx的复位功能和看门狗定时器功能保证系统出现故障的时候能给CPU一个复位信号。CAT24Cxxx的第2脚输出低电平复位信号,第7脚输出高电平复位信号。CAT24Cxx1 看狗溢出信号从SDA脚输出CAT24Cxx2不具备看门狗功能
上传时间: 2013-12-12
上传用户:siying
The PCA9537 is a 10-pin CMOS device that provides 4 bits of General Purpose parallelInput/Output (GPIO) expansion with interrupt and reset for I2C-bus/SMBus applicationsand was developed to enhance the NXP Semiconductors family of I2C-bus I/O expanders.I/O expanders provide a simple solution when additional I/O is needed for ACPI powerswitches, sensors, push-buttons, LEDs, fans, etc.
上传时间: 2013-10-14
上传用户:wuchunzhong
The PCA9538 is a 16-pin CMOS device that provides 8 bits of General Purpose parallelInput/Output (GPIO) expansion with interrupt and reset for I2C-bus/SMBus applicationsand was developed to enhance the NXP Semiconductors family of I2C-bus I/O expanders.I/O expanders provide a simple solution when additional I/O is needed for ACPI powerswitches, sensors, push-buttons, LEDs, fans, etc.
上传时间: 2014-01-24
上传用户:youmo81
The PCA9539; PCA9539R is a 24-pin CMOS device that provides 16 bits of GeneralPurpose parallel Input/Output (GPIO) expansion with interrupt and reset forI2C-bus/SMBus applications and was developed to enhance the NXP Semiconductorsfamily of I2C-bus I/O expanders. I/O expanders provide a simple solution when additionalI/O is needed for ACPI power switches, sensors, push buttons, LEDs, fans, etc.
上传时间: 2013-11-10
上传用户:ewtrwrtwe
The PCA9549 provides eight bits of high speed TTL-compatible bus switching controlledby the I2C-bus. The low ON-state resistance of the switch allows connections to be madewith minimal propagation delay. Any individual A to B channel or combination of channelscan be selected via the I2C-bus, determined by the contents of the programmable Controlregister. When the I2C-bus bit is HIGH (logic 1), the switch is on and data can flow fromPort A to Port B, or vice versa. When the I2C-bus bit is LOW (logic 0), the switch is open,creating a high-impedance state between the two ports, which stops the data flow.An active LOW reset input (RESET) allows the PCA9549 to recover from a situationwhere the I2C-bus is stuck in a LOW state. Pulling the RESET pin LOW resets the I2C-busstate machine and causes all the bits to be open, as does the internal power-on resetfunction.
上传时间: 2014-11-22
上传用户:xcy122677