设计了一种基于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.
上传时间: 2013-11-08
上传用户:Yue Zhong
学习单片机离不开实验,以往单片机的实验往往依赖于仿真机和单片机学习系统,价格 昂贵,至使学习单片机的门槛很高,很多人不能跨入单片机学习的大门。近年来,随着FLASH 型单片机的广泛应用,采用软件模拟加写片验证成为一种经济实用的实验方法,尤其是随着 单片机技术的发展,很多单片机都具有了ISP 功能,只要一根下载线即可以编程。STC 单片 机更是将其ISP 功能发挥极致,只要有RS232 接口,不需任何其他电路即可实现ISP 功能。。 多年前,本网站为单片机爱好者设计了实验电路板,并公开了全部的软、硬件资料,广 受爱好者欢迎,很多人使用这块实验电路板学习并由此入门,同时网络上也出现了很多同类 功能的实验电路板,为广大爱好者学习单片机创造了良好的条件。
上传时间: 2014-11-29
上传用户:540750247
摘要:为了解决信号采集系统的同步串行通讯问题,在理解AVR 单片机SPI接口的通讯原 理和方法的基础上,分析了AVR 单片机SPI接口的工作过程,设计了AVR单片机和串行A/ D转换器的同步串行通讯接口,并用程序描述了SPI接口通讯的过程,实现了AVR单片机 通过SPI接口与串行A/D转换器之间的数据通讯。最后,用实验和数据分析验证了设计方 案的可行性。 关键词:SPI接口;AVR单片机;串行A/D
上传时间: 2013-10-31
上传用户:lilei900512
针对目前普通日光灯因不能调节光强而造成的能源浪费问题,设计了一种基于单片机的新型节能日光灯系统,该系统主要分为3个部分,首先采集外界光强信息并将数据传至单片机;随后单片机根据输入量的不同调整输出的PWM波;最后日光灯控制电路通过PWM波的控制,调节日光灯两端的电压,控制日光灯输出的光强,使日光灯随外界光强的变化而自动调整照射光强。经过不同外界环境的实验调试,在满足使用者的用光要求的前提下,日光灯工作稳定,功率明显降低,适宜推广使用。
上传时间: 2013-10-29
上传用户:苍山观海
为提高太阳能的利用率,以ATmega8单片机为控制核心,设计了一套光电跟踪与视日运动轨迹跟踪互补控制的双轴太阳跟踪器。该跟踪器在晴天时,利用光敏电阻采集光强判断太阳位置,控制步进电机实现光电跟踪;在阴天时,采集时钟器件PCF8583的时间信息,计算当前太阳位置来实现视日运动轨迹跟踪。实验表明:该太阳跟踪器能在不同天气状况下对太阳进行较准确地跟踪,能量接收效率提高了30%,达到充分利用太阳能的目的。 Abstract: To improve the utilization rate of solar energy,a kind of solar tracking controller which effectively combined the sun angle tracking and photo electric tracking based on ATmega8is designed.In the sunny days,the solar tracking con-troller determines the sun's position by using photosensitive resistances to collect light intensity and control stepper motors to achieve photo electric tracking,n cloudy days,it collects clock chip PCF8583time information to calculate the current position of the sun and achieve the sun angle tracking.Experimental results show the solar tracking controller accurately tracks the sun in different weather conditions,improves received energy efficiency by30%and reaches the purpose of full use of solar energy.
上传时间: 2013-10-15
上传用户:urgdil
设计一种基于ATmega16L单片机的温度控制系统,阐述该系统的软硬件设计方案。采用模块化设计方法,利用增量式PID算法使被控对象的温度值趋于给定值。实验结果表明该系统具有良好的检测和控制功能。 Abstract: This paper designs a temperature control system based on ATmega16L,describes the hardware and software de-sign scheme of the system,adopts the modularized design method and utilizes the incremental PID algorithm to realize the temperature of controlled device incline to the given value.The experiment result indicates that the system has good detec-tion and control function
上传时间: 2013-10-09
上传用户:stvnash
为提高温度测量效率,降低系统的成本,扩展传输距离,设计出一种新型温度采集系统。单片机通过控制具有单总线方式的温度传感器DS18B20实现对温度的测量,同时单片机通过控制具有单总线方式300~450MHz频率范围内的MAX7044与MAX7033无线发射与接收芯片实现温度数据的无线传输。与传统温度采集系统相比,该系统利用单总线方式连接,采用无线传输方式实现远距离通信,易于系统的集成与扩展。实验结果表明,该系统结构简单、方便移植,能够同时实现多达上百点温度的测量与500m范围的传输。 Abstract: To improve the temperature measurement efficiency and reduce system cost,expansion of transmission distance,a new type of temperature acquisition system is designed.Microcontroller controlled temperature sensor DS18B20which has a single-bus achieves temperature measurement,while microcontroller by controlled the MAX7044and MAX7033chip with a single-bus and having300~450MHz radiofrequency to achieve the wireless transmission of temperature data.Compared with conventional temperature acquisition system,the system uses single-bus connected,and uses wireless transmission means to achieve long-distance communications,easy-to-system integration and expansion.The experimental results show that the system is simple,convenient transplantation,and can be implemented in as many as a hundred-point temperature measure-ment and the transmission range of500meters.
上传时间: 2013-10-29
上传用户:515414293
设计一种基于P89V51RD2的功率因数测量仪,采用光电隔离器和专用数码管驱动器。该测量仪是以增强型单片机P89V51RD2为核心,大大简化系统硬件设计。而软件部分采用模块化设计思想,采用中值滤波和小数补偿算法,实现功率因数的高精度测量。实验测试表明,该功率因数测量仪测量精度高,运行稳定可靠。 Abstract: A power-factor measurement instrument based on P89V51RD2is designed,which uses optical coupler and specific LED drive chip.The power factor measurement instrument uses P89V51RD2as a core of which greatly simplifies the system design.Furthermore,modularization software is developed in detail.The high precision power-factor measuring system is realized by the center value filter and fractional compensation algorithm.Experiments manifests that the power- factor measurement instrument is high precision,steady and reliable.
上传时间: 2014-12-27
上传用户:CHINA526
概述 USB全自动下载(在线编程)STC单片机实验板,是浙江省《单片机原理及应用》精品课程组2009年新推出的,专为无串行口的笔记本电脑用户而设计的单片机学习实验板,该板的最大特点:既是单片机的学习实验板,又是STC系列单片机的在线编程调试器。
上传时间: 2013-10-26
上传用户:yjj631
为了解决磁放大器性能测试过程中,需要对其供给不同数值恒定电流的问题,设计了一种基于DAC7512和单片机的数控恒流源系统。该系统采用AT89C51作为主控器件,将计算机发送的电流控制字命令转换为D/A转换器控制字,通过模拟SPI通信接口,写D/A控制字到DAC7512,从而控制其输出相应数字电压值,经差动缩放电路、电压/电路变换电路和功率驱动电路,最后输出恒定电流。实验结果表明,恒流源输出电流调节范围为-45~+45 mA、精度为±0.1 mA,分辨率达0.024 4 mA,具有应用灵活,外围电路简单,可靠性高的特点。该数控直流恒流源也可为相关产品的测试系统研发提供参考。 Abstract: In order to solve the need to supply different values constant current for the magnetic amplifier in testing process, numerical control constant current source system was designed based on DAC7512 chip and microcontroller technology. The system used the AT89C51 as the main chip, which can convert the current control word from computer into to D/A control words. And the system wrote D/A control word into the DAC7512 chip to control the output voltage value by the SPI communication interface, which can output corresponding constant current figures by scaling circuit, the V/I converter and power drive circuit. Experimental results show that the current source output current adjustment range is -45~+45mA, accuracy is ± 0.1mA, and resolution ratio is 0.024 4mA
上传时间: 2014-12-27
上传用户:invtnewer