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

A-P

  • Microchip PIC系列单片机RS232通讯应用

    Digitemp Junior – An RS-232 Port-Powered Digital Thermometer Digitemp Jr. is a device that is designed to measure and report ambient temperature. When connected to an RS-232 port on any PC, it will periodically measure and report in ASCII form the ambient temperature in degrees Celsius. These temperature readings can be monitored with any terminal program. If the terminal program supports capture to disk, the temperature readings can be saved to disk for further analysis with a spreadsheet program or other data analysis tool. The simple ASCII output format of Digitemp Jr. makes it rel- atively easy to write custom software for receiving, recording, and analyzing ambient temperature data. Best of all, Digitemp Jr. requires no external power sup- plies or batteries. It is powered directly by the RS-232 port.

    标签: Microchip 232 PIC RS

    上传时间: 2013-10-21

    上传用户:baitouyu

  • 基于MT8880的一键拨号电话系统设计

      针对煤矿井下调度及紧急救援系统的需求,以DTMF编解码模块为核心,设计了具有自动拨号功能的新型电话系统。该系统利用MT8880对DTMF信号的编解码功能实现一键拨号和远程设置,通过检测振铃和忙音信号,完成自动摘机和挂机过程,配合AGC等外围电路达到话音清晰流畅的效果。   Abstract:   To meet the demand for mine scheduling and emergency rescue system, with using DTMF signal codec as the core, a new telephone system was designed with automatic dialing function. In the system, the DTMF signal encoding and decoding function of MT8880 was used to achieve one-touch dialing and remote setting. The circuit detects the ringing and busy signal, and then completes automatic off-hook and hangup. With AGC(Automatic Gain Control) and other peripheral circuits, the voice was regulated to a clear and smooth effect.

    标签: 8880 MT 拨号电话 系统设计

    上传时间: 2014-11-18

    上传用户:ly1994

  • Atmel AT89C系列单片机电路板设计指南

    Designing Boards with Atmel AT89C51,AT89C52, AT89C1051, and AT89C2051 for Writing Flash at In-Circuit Test. Recent improvements in chips and testers have made it possible for the tester to begin taking over the role tradi-tionally assigned to the PROM program-mer. Instead of having a PROM pro- grammer write nonvolatile memories before assembling the board, the in-cir- cuit tester writes them during in-circuit testing operations. Many Teradyne Z18- series testers are now in use loading code into nonvolatile memories, micro- controllers and in-circuit programmable logic devices. The purpose of this note is to explain how the Z18 approaches the writing task for Atmel AT89C series IC’s, so that designers of boards using these chips can get the best results.  

    标签: Atmel 89C AT 89

    上传时间: 2013-11-17

    上传用户:xiaozhiqban

  • 基于单片机的颜色自适应识别电路

      为解决电致变色器件的颜色变化受外界环境颜色控制的问题,设计了一种基于单片机的便携式颜色自适应识别电路。与传统颜色识别电路相比较,该电路利用数字式的颜色传感器来获取外界环境颜色,产生的数字颜色信号易于单片机进行处理。在电路中,下位机部分主要负责获取电致变色器件变色参数及控制电致变色器件的颜色变化;而上位机部分主要负责把下位机获取的电致变色器件变色参数进行电压到颜色的曲线拟合,并通过蓝牙通信把拟合曲线参数传递给下位机。结果表明,该电路能自动根据环境颜色提供-4~4 V范围步进为0.1 V的电压来驱动电致变色器件的颜色显示,与传统的颜色识别电路设计相比,识别的精度和速度都得到了明显改善。   Abstract:   In this paper, a portable adaptive circuit for color identification(PACCI) based on MCU was designed. Compared to the traditional color identification circuit, the PACCI adopts digital sensor to detect the color data from external environment and further generate digital color data, which can be processed easily by MCU. In PACCI, the slave is mainly responsible for detecting the color parameters of the corresponding elcreochromic device and further driving it. For the master, which is mainly responsible for the color curve fitting based on the parameters of the electrochromic device, and transmits the fitting parameters to the slave through the bluetooth device. The results show that the PACCI can provide the basis voltage range from -4V to 4V automatically based on the colors of external environment with step as 0.1V to drive the corresponding electrochromic device. Compared to the traditional color recognition circuit, the recognition accuracy and speed of PACCI have been improved significantly.

    标签: 单片机 识别电路

    上传时间: 2013-11-09

    上传用户:franktu

  • 基于瑞萨电子微控制器的温度控制系统设计

      为了提高传统温度控制系统的性能,将PID控制理论与嵌入式系统相结合,采用瑞萨电子公司的H8S/2166作为核心处理器,AD公司的AD7705以及热敏电阻温度传感器作为温度检测单元,利用4×6小键盘、LCD显示器和S1D13305液晶控制器达到良好的人机交互,设计出了一个应用于化工领域的嵌入式实时温度控制系统。相比于传统温度控制系统,该系统提供了更强的计算能力和可扩展能力,采用增量PID控制算法实现复杂控制。通过实验,该系统能达到0.1 ℃的温度控制精度以及小于120 s的温度稳定时间。   Abstract:   In order to improve the performance of conventional temperature control system, combining PID control theory with embedded systems, using the Renesas Electronics Corp. H8S/2166 micro-controller as a core processors, AD7705 and thermistor temperature sensor as a temperature detection unit and 4×6 small keyboard, LCD and S1D13305 LCD controller as a good human-computer interaction, this paper designed an embedded real-time temperature control system which is applied in chemical industry. Compared with conventional temperature control system, this system provides more computing power and extensibility, and adopts PID control algorithm for complex control. Through the experiment, the system can reach temperature control accuracy of 0.1 ℃ and temperature stabilization time of less than 120 seconds.

    标签: 瑞萨电子 微控制器 温度控制 系统设计

    上传时间: 2014-12-26

    上传用户:003030

  • 基于MSP430F1611单片机的音频信号分析仪设计

      为了使音频信号分析仪小巧可靠,成本低廉,设计了以2片MSP430F1611单片机为核心的系统。该系统将音频信号送入八阶巴特沃兹低通滤波器,对信号进行限幅放大、衰减、电平位移、缓冲,并利用一单片机负责对前级处理后的模拟信号进行采样,将采集得到的音频信号进行4 096点基2的FFT计算,并对信号加窗函数提高分辨率,另一单片机负责对信号的分析及控制显示设备。此设计精确的测量了音频信号的功率谱、周期性、失真度指标,达到较高的频率分辨率,并能将测量结果通过红外遥控器显示在液晶屏上。   Abstract:   o make the audio signal analyzer cheaper, smaller and more reliable, this system sends the audio signal to the eight-order butterworth filter, and then amplifies, attenuates, buffers it in a limiting range, transfers the voltage level of the signal before utilizing two MSP430F1611 MCU to realize the audio analysis. One is charged for sampling and dealing with the processed audio signal collected by the 4096 point radix-2 FFT calculation and imposes the window function to improve the frequency resolution. The other one controls the display and realizes the spectrum, periodicity, power distortion analysis in high resolution which is displayed in the LCD screen through the infrared remote control.

    标签: F1611 1611 430F MSP

    上传时间: 2013-12-11

    上传用户:jasonheung

  • 基于MAX7219的LED数码显示驱动电路设计

      现有基于MAX7219芯片的数码管驱动电路只适用于小尺寸LED,为扩展其使用范围,在介绍动态显示芯片MAX7219功能的基础上,提出了一个基于该芯片的8位高亮度8英寸数码管驱动电路。电路保留了MAX7219芯片的功能强大、编程简单等优点,通过74LS273锁存器和ULN2803达林顿驱动器,实现了对任意大尺寸数码管提供较高电压和电流驱动的静态显示,并亮度可调。   Abstract:   The existing display-driving circuit based on MAX7219 was only applicable to small-size LED. To expand its use, based on the function introduction of dynamic display chip MAX7219, a display-driving circuit for high-brightness 8-bit LED with the size of 8-inch was proposed. The advantages of MAX7219 were retained, such as powerful function and simple programming. Static display with adjustable brightness for large-size LED with higher voltage and current was achieved with the help of 74LS273 and ULN2803.

    标签: 7219 MAX LED 数码显示

    上传时间: 2013-10-23

    上传用户:31633073

  • 基于PIC16C71的数字水温配制阀的设计

      设计了一种基于PIC16C71单片机的数字水温配制阀。该配制阀采用NTC热敏电阻作温度传感器,与固定电阻组成简单分压电路作为水温测量电路,利用PIC16C71单片机内置的8位A/D转换器把热敏电阻上的模拟电压转换为数字量,PIC16C71单片机控制直流电机驱动混水阀调节冷热水的混合比例实现水温调节。给出了控制电路图,对水温测量电路的参数选择和测温精度作了详细讨论。实验和分析表明,选用阻值较大的NTC热敏电阻和分压电阻可较好地解决热敏电阻因功耗较大造成的热击穿问题。   Abstract:   A digital valve for controlling water temperature based on PIC16C71 was presented in this paper.A bleeder circuit which consisted of a NTC thermistor as temperature sensor and a fixed resistance was designed as water temperature measuring circuit.The analog voltage on the thermistor was converted into digital signal by a 8-bit A/D converter embedded in PIC16C71. Based on the digital signal, the MCU PIC16C71 drived the valve by a DC motor to adjust the water temperature through adjusting the proportion of hot water and cold water.The circuit diagram of controller was given,the principle,the component parameters and the accuracy of measuring temperatures were also dissertated in detail. It was found by experiment and analysis that thermal breakdown of thermistor caused by high power could be solved by selecting thermistor and fixed resistance with high impedance value.

    标签: PIC 16C C71 16

    上传时间: 2013-11-08

    上传用户:Yue Zhong

  • 单片机几种软件滤波程序示例

    假定从8位AD中读取数据(如果是更高位的AD可定义数据类型为int),子程序为get_ad(); 1、限幅滤波法(又称程序判断滤波法)     A、方法:         根据经验判断,确定两次采样允许的最大偏差值(设为A)         每次检测到新值时判断:         如果本次值与上次值之差<=A,则本次值有效         如果本次值与上次值之差>A,则本次值无效,放弃本次值,用上次值代替本次值     B、优点:         能有效克服因偶然因素引起的脉冲干扰     C、缺点         无法抑制那种周期性的干扰         平滑度差 /*  A值可根据实际情况调整     value为有效值,new_value为当前采样值      滤波程序返回有效的实际值  */ #define A 10 char value; char filter() {    char  new_value;    new_value = get_ad();    if ( ( new_value - value > A ) || ( value - new_value > A )       return value;    return new_value;          } 2、中位值滤波法     A、方法:         连续采样N次(N取奇数)         把N次采样值按大小排列         取中间值为本次有效值     B、优点:         能有效克服因偶然因素引起的波动干扰         对温度、液位的变化缓慢的被测参数有良好的滤波效果     C、缺点:         对流量、速度等快速变化的参数不宜 /*  N值可根据实际情况调整     排序采用冒泡法*/

    标签: 单片机 软件滤波 程序

    上传时间: 2014-12-26

    上传用户:nanshan

  • AVR单片机BASIC编程及开发

      1. 型号紧跟的字母,表示电压工作范围。带“V”:1.8-5.5V;若缺省,不带“V”:2.7-5.5V。   例:ATmega48-20AU,不带“V”表示工作电压为2.7-5.5V。   2. 后缀的数字部分,表示支持的最高系统时钟。   例:ATmega48-20AU,“20”表示可支持最高为20MHZ的系统时钟。   3. 后缀第一(第二)个字母,表示封装。“P”:DIP封装,“A”:TQFP封装,“M”:MLF封装。   例:ATmega48-20AU,“A”表示TQFP封装。   4. 后缀最后一个字母,表示应用级别。“C”:商业级,“I”:工业级(有铅)、“U”工业级(无铅)。   例:ATmega48-20AU,“U”表示无铅工业级。ATmega48-20AI,“I”表示有铅工业级。

    标签: BASIC AVR 单片机 编程

    上传时间: 2013-11-11

    上传用户:jokey075