为提高电容测量精度,针对电容式传感器的工作原理设计了基于PIC16LF874单片机电容测量模块。简单阐述了电容测量电路的应用背景和国内外研究现状,介绍了美国Microchip公司PIC16LF874单片机的特性。电容式传感器输出的动态微弱电容信号通过PS021型电容数字转换器把模拟量数据转换成数字量数据,所测数据由PIC16LF874单片机应用程序进行处理、显示和保存。实验结果表明,固定电容标称值为10~20 pF 的测量值相对误差在1%以内,同时也可知被测电容容值越大,测量值和标称值相对误差越小。 Abstract: To improve the accuracy of capacitance measurement,aimed at the principle of work of mercury capacitance acceleration transducer,the design of micro capacitance measurement circuit is based on the KEY PIC16LF874 chip. Briefly discusses the application of the capacitance measuring circuit for the background and status of foreign researchers,focusing on the United States PIC16LF874 microcontroller features. Capacitive sensor outputed signal through the dynamics of weak PS021-chip capacitors (capacitancedigital converter) to convert analog data into digital data,the measured data from the PIC16LF874 microcontroller application process, display and preservation. Experimental results show that the fixed capacitor 10pF ~ 20pF nominal value of the measured value of relative error is within 1%,but also it canbe seen the value of the measured capacitance larger,measuring value and the nominal value of relative error smaller.
上传时间: 2013-10-29
上传用户:wojiaohs
在深入了解Flash存储器的基础上,采用单片机自动检测存储器无效块。主要通过读取每一块的第1、第2页内容,判断该块的好坏,并给出具体的实现过程,以及部分关键的电路原理图和C语言程序代码。该设计最终实现单片机自动检测Flash坏块的功能,并通过读取ID号检测Flash的性能,同时该设计能够存储和读取1GB数据。 Abstract: On the basis of in-depth understanding the Flash chips,this paper designs a new program which using the SCM to detect the invalid block.Mainly through reading the data of the first and second page to detect the invalid block.Specific implementation procedure was given,and the KEY circuit schematic diagram and C language program code was introduced.This design achieved the function of using the MCU checks the invalid block finally,and increased the function by reading the ID number of Flash to get the performance of the memory.And the design also can write and read1GB data
上传时间: 2013-10-25
上传用户:taozhihua1314
在汽车发动机起动时,若发动机起动后起动机不能及时断电,将会烧毁起动机或损坏飞轮齿环;若变速器不在空档位置起动,则起动机的瞬间动力将使汽车位移,还可能引起交通事故和人身安全。为此介绍一种利用NXP P89LPC901单片机控制的汽车起动保护控制器,通过检测汽车起动开关、变速箱档位、发动机转速,实现对汽车发动机起动过程检测和保护。起动保护控制器在发动机起动过程中通过采用逐个关闭打开负载系统,解决汽车发动机过程中因起动电流大而对汽车电源的冲击影响,延长了电瓶寿命。 Abstract: When the automotive engine is started, the engine start motor and flywheel gear may be damaged, even traffic accidents and personal safeties may be caused by wrong operation or other factors.In order to ensure the automotive engine can be started normally and safely,it is necessary that the protecting measures and methods are considered in the automotive electrical control system.This paper introduces a kind of the automotive engine starting protect controller based on NXP P89LPC901 MCU.The controller can protect the engine starting process by detecting the starter KEY switch,transmission stall and engine speed.Through the use of close and open load system,the controller can solve the impact on automotive power because of the high-current load in the process of the automobile engine starting, and extend battery life.
上传时间: 2013-10-15
上传用户:mikesering
MMC/SD卡以其优越的性能,在单片机嵌入式设备中得到广泛应用。将MMC/SD卡作为外部掉电存储介质应用于音频信号发生器中,通过8051F330单片机上的SPI接口,实现单片机—MMC/SD卡的存储扩展,设计了此硬件平台上的MMC/SD卡的单片机驱动程序,并给出了相应的程序代码,满足音频信号发生器的大容量存储要求。 Abstract: MMC/SD card is more and more widely used in the single chip embedded devices for their excellent performances.This article introduces the application of MMC/SD card as the external power down storage medium in audio signal generator. The extension technology especially for storage of single chip-MMC/SD card via SPI interfaces in 8051F330 single chip, including designs single chip drive program of MMC/SD card based on hardware platform,and also gives the KEY coding of the program. The implementation of big capacity storage is meaningful in audio signal generator.
上传时间: 2014-12-27
上传用户:黄华强
出了一种利用ATmega8单片机对ISD2500系列语音芯片进行控制的智能语音系统,此系统使用灵活,易于功能升级,具有良好的应用前景。提供了硬件连接电路和关键源程序。 Abstract: An intelligent voice system using ISD2500 series voice chips based on ATmega8 MCU is described.This system is flexible and easy to upgrade for users,and it has pretty good using foreground. The circuit diagram and the KEY program are also provided.
上传时间: 2014-01-22
上传用户:Artemis
在介绍基于MSP430单片机的指纹保险柜工作原理的基础上,从系统软件设计的角度出发,详细介绍了指纹保险柜软件的总体分析过程、程序结构的设计以及代码的编写,给出了按键管理流程和部分源代码。 Abstract: On basis of the operating principle of MSP430 microcontroller-based fingerprint safe,the general analyzing process,program designing and code compiling of the fingerprint safe software are introduced mainly,and the KEY-press flows chart and some codes according to the system software designing are put forward.
上传时间: 2014-12-27
上传用户:gaojiao1999
利用Atmel公司的ATmega168微处理器,采用A/D转换方式来实现按摩椅控制器的键盘接口,通过在硬件电路中巧妙地选择电阻,在软件设计中采用数字滤波、二分法和区间鉴定等方法,灵敏可靠地实现了按摩椅中30个按键的处理。给出了硬件电路设计和软件设计思想以及部分汇编代码。 Abstract: This paper chooses A/D conversion method to realize the KEYboard interface of the controller by using ATmega168 microchip from Atmel Company.It accomplishes 30-KEY dealing sensitively and reliably in massage chair through skillfully selecting resistors in hardware circuit and using digital filter,dichotomy and area-judging method in software design.The hardware design circuit, software design idea and partly assembles code are presented mainly.
上传时间: 2014-01-10
上传用户:咔乐坞
介绍了一种基于MSP430系列单片机和ADXL203加速度传感器的数字式倾角仪,它不仅可以实现水平度检测,而且可以测量00~3600范围内的任意倾角,分辨率可达O.1。。此外,由于该倾角仪输出为数字结果,因此它也可以与其他的数字设备结合起来,组合成一个功能更加强大的仪器。该数字倾角仪可广泛应用于建筑、机械、道路、桥梁、石油、煤矿和地质勘探等各种需要测量重力参考系下倾角的场合。关键词:MSP430F133单片机;力敏传感器;ADXL203加速度计;角度测量 Abstract:This paper presents a new style digital inclinometer which is developed on the basis of the MSP430F133 MCU and the ADXL203 dual axis aeeelerometer.This inclinometer not only can test levelness,but also can measure any angle between 0。and 360。with an accuracy of 0.1 O.In addition,its output is a digital result,which makes it possible to integrate itself with other digital devices to form a more functional unit.This inclinometer can be widely used in any construction site,oil field,coal-mine or geologic survey and SO on where it will provide the working people with convenience to measure any angles.KEY words:MSP430F133 MCU;force sensor;ADXL203 accelerometer;angle measurement
上传时间: 2013-11-14
上传用户:lizhizheng88
介绍了用单片机C 语言实现无功补偿中电容组循环投切的基本原理和算法,并举例说明。关键词:循环投切;C51;无功补偿中图分类号: TM76 文献标识码: BAbstract: This paper introduces the aplication of C51 in the controlling of capacitorsuits cycle powered to be on and off in reactive compensation.it illustrate thefondamental principle and algorithm with example.KEY words: cycle powered to be on and off; C51; reactive compensation 为提高功率因数,往往采用补偿电容的方法来实现。而电容器的容量是由实时功率因数与标准值进行比较来决定的,实时功率因数小于标准值时,需投入电容组,实时功率因数大于标准值时,则需切除电容组。投切方式的不合理,会对电容器造成损坏,现有的控制器多采用“顺序投切”方式,在这种投切方式下排序在前的电容器组,先投后切;而后面的却后投先切。这不仅使处于前面的电容组经常处于运行状态,积累热量不易散失,影响其使用寿命,而且使后面的投切开关经常动作,同样减少寿命。合理的投切方式应为“循环投切”。这种投切方式使先投入的运行的电容组先退出,后投的后切除,从而使各组电容及投切开关使用机率均等,降低了电容组的平均运行温度,减少了投切开关的动作次数,延长了其使用寿命。
上传时间: 2014-12-27
上传用户:hopy
本文针对实验平台管理系统的实际需求,结合密码技术和身份认证技术,采用了基于USB KEY的双因子身份认证技术。目前众多身份认证技术当中,USB KEY是被认为最安全的身份认证手段,除了生物特征身份认证技术。但是因为成本问题,生物特征身份认证技术并没有被广泛使用。而且通过深入研究,可以进一步完善USB KEY的功能,使USB KEY不仅能起到认证的作用,还可以用于存储数据。因此,随着人们对网络安全问题的重视程度加深,USB KEY身份认证方式将在各安全需求领域大显身手
上传时间: 2014-12-27
上传用户:sun_pro12580