Mega16是一款采用先进RISC精简指令,内置A/D的8位单片机,可支持低电压联机 Flash和EEPROM 写入功能;同时还支持 Basic和C 等高级语言编程。用它设计电子时钟不仅成本低,硬件简单,而且很容易实现系统移植。介绍了如何利用AVR系列单片机Mega16及1602字符液晶来设计电子时钟的方法,同时给出了相应的电路原理及部分语言程序。 Abstract: ?Mega16 is a high-performance, low power consumption, the use of advanced RISC concise instructions, built-in A/D 8-bit microcontrollers, the on-line support for low-voltage Flash, EEPROM write function. Except Mega16 also support the Basic, C, and other high-level language programming.The electronic clock which is deisgned by Mega16 is not only low-cost, simple hardware, but easy to achieve system migration.The design method of electrioic clock based on the AVR Mega16 and character LCD1602 is introduced in this paper,and the corresponding circuit electrionic and some language program are given.
上传时间: 2014-12-27
上传用户:zl5712176
介绍了一种基于AT89S52微处理器、键控显示模式、多汉字显示的显示模块设计方法。对AT89S52的内部功能及使用高128字节RAM时的寻址方式进行说明。给出了四汉字显示模块的硬件电路原理图、主程序流程图以及中断显示流程图。 Abstract: The design method of display module base on the AT89S52 microcontroller,display mode controlled by keyboard and? showing several Chinese characterses are introduced in the paper.The internal function and the addressing mode for the high 128B RAM of the AT89S52 are explained.The basic circuit diagram,the main program flow chart and the display interrupt flow chart of four Chinese characterses display module are also given.
上传时间: 2014-01-23
上传用户:咔乐坞
采用单片机AT89C2051实现温度测量与控制,键盘和显示电路实现温度的设定、修改、清零以及当前温度值的显示,并对温度超过上下限进行报警。阐述了该系统设计的硬件和软件设计。 Abstract: The system of temperature measuring and controling is realized based on AT89C2051.The keyboard and display circuit is designed,which can be used for setting and modifying temperature value,resetting and displaying the present temperature value.At the same time the warning circuit is also designed in the system,which can deal with the alarm when temperature exceeds the upper limit and the lower limit.The hardware and software design of the system are explained.
上传时间: 2013-11-18
上传用户:leehom61
为了解决磁放大器性能测试过程中,需要对其供给不同数值恒定电流的问题,设计了一种基于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
针对目前采用的热敏电阻测量方法,提出了采用单总线数字式温度传感器DS18B20和单片机组成的新型温度测量仪。介绍DS18B20的结构和工作原理,以及单总线工作原理,给出了由Mega8单片机和DS18B20构成的单总线温度测量仪的硬件电路及软件流程图。经试验基于单总线器件DS18B20的温度测量仪,具有测量准确、测温范围宽、体积小、控制方便等优点。 Abstract: This paper brings forward a new temperature meter composed of 1-Wire temperature sensor DS18B20 and MCU which has advantage of the thermistor. In the article, the DS18B20's structure and controlling principles are introduced and hardware circuit and software diagram of the temperature meter are given.After been tested,the temperature meter has the advantages of accurate measurement, wide temperature range, small volume and convenient controlling.
上传时间: 2013-10-31
上传用户:hzy5825468
针对材料试验机等设备中要求测量或控制材料拉伸或压缩的位移,一般采用光电轴角编码器检测位置信号,输出正交编码脉冲信号。若采用其他方法检测位置信号,必然导致电路设计复杂,可靠性降低。因此,提出一种基于LS7266R1的电子式万能材料试验机设计方案。给出了试验机中的控制器工作原理,LS7266R1与单片机的接口硬件设计,以及主程序软件流程图。巧妙地把力量传感器,位移传感器等机械运动状态的压力或拉力以及位置坐标,变成了电压信号和电脉冲数字信号,供A/D测量和LS7266R1计数,从而实现了独立完成材料试验控制或通过PC机串口命令完成材料试验控制。 Abstract: Aiming at the requirement that the displacement of the tension and compression always be tested and controlled in the equipement such as material testing machine. The position signal was tested by photoelectric axial angle coder. Therefore, the paper proposes the design of electronic universal testing machine design based on LS7266R1. If the position signal detected by other methods, will inevitably lead to the circuit design complexity, reliability decreased. The work theory of the controller, the hardware interface design between LS7266R1 and single chip, and the flow chart of main program, are presented in this paper. The signal of the compression or tension power and displacement at working, which tested by power sensor and displacement sensor especially, is changed into electric voltage and electric pulse numerical signals. And these signals can be tested by A/D and counted by LS7266R1. Finally the test of the material properties can be controlled by itself, or controlled by the COM command of PC.
上传时间: 2013-11-02
上传用户:yl1140vista
介绍一种应用于长城赛弗SUV汽车后门车窗多功能控制器,能实现对电动玻璃车窗、车窗雨刮器、喷水器以及电加热除霜器等控制。介绍了基于NXP P89LPC922单片机多功能汽车后车窗控制器的控制功能、硬件电路原理和软件设计方法。 Abstract: This paper presents a multipurpose automotive rear windows controller for CHANGCHENG SAFE SUV.The controller can control rear power-operated window,rear wiping,washing water pump and rear defroster of the windows. In this paper, it is introduced in detail that the functions and the design of the circuit and program of the controller based on NXP P89LPC922 MCU.
上传时间: 2013-11-13
上传用户:z754970244
为降低成本和解决现有膜片钳放大器系统中PC机的干扰问题,研究了一种基于单片机的膜片钳放大器小系统。该系统采用ADI公司生产的ADuC841作为控制核心,并且配置相应的液晶显示模块LCM3202401。模拟电路部分采用高输入阻抗的AD8627实现微电流信号的采集,并由后级电路进行信号的放大和电阻电容的补偿。它具有硬件电路简单、体积小、使用方便的特点。既可以单独作为小系统实现采集和显示,也可以通过红外方式和PC机进行通讯,在PC机上进行信号的处理。 Abstract: In order to reduce cost and resolve the interferential problem with PC in existing patch clamp amplifiers, a small patch clamp amplifier system design based on microcontroller is studied. It adopts a new high performance microconverter ADuC841 by the ADI as the control core in the system, configuring a liquid crystal module LCM3202401. In the analog circuit, AD8627 with high input impedance is used to detect the low current,signal magnification, as well as resistance and capacitance compensation are accomplished by subsequent circuits. It has the advantage of simple hardware circuit design, small volume and convenient operation. It can either be used as an independent system to measure and show signal detected or transmit to PC by infrared ray.
上传时间: 2013-11-06
上传用户:yy_cn
利用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
上传用户:咔乐坞
介绍了CAN总线和P87C591单片机的特点,给出了基于P87C591单片机的信号采集节点的软、硬件设计,指出了硬件电路设计中应注意的问题,在软件设计中重点介绍了节点初始化、报文发送和报文接收等子程序。 Abstract: The features of CAN Bus and the microcontroller P87C591 are introduced, and the design of hardware circuit and soft configuration of the signals collection node based on P87C591 are presented. The problems in designing hardware circuit are discussed.Initialization subprogram, transmiting subprogram and receiving subprogram are emphasized in soft configuration.
上传时间: 2013-11-03
上传用户:BIBI