首页 | 本学科首页   官方微博 | 高级检索  
     

基于STC15F2K60S2单片机波形发生器设计
引用本文:郭占苗. 基于STC15F2K60S2单片机波形发生器设计[J]. 国外电子测量技术, 2017, 36(7): 98-102
作者姓名:郭占苗
作者单位:西安航空职业技术学院电子工程学院 西安 710089
摘    要:采用STC15F2K60S2单片机控制具有I2C总线结构的PCF8591数模转换器,产生正弦波、方波和三角波3种信号波形,通过按键K1切换波形,K2实现频率的增大,K3调节频率的减小,最终输出幅值为5 V可调频率的所需波形,并在液晶显示不同波形的波形名称和频率。同时,用Proteus软件对波形发生器进行仿真模拟,实验结果表明,仿真与实际制作电路的结果基本一致。该波形发生器操作方便,运行稳定可靠,输出波形可以满足教学和电子测量的要求。

关 键 词:波形发生器;STC15F2K60S2单片机;PCF8591DAC;E2PROM; 调频;I2C通信协议

Design of waveform generator based on STC15F2K60S2 MCU
Guo Zhanmiao. Design of waveform generator based on STC15F2K60S2 MCU[J]. Foreign Electronic Measurement Technology, 2017, 36(7): 98-102
Authors:Guo Zhanmiao
Abstract:With I2C bus structure, PCF8591 Digital to analog converters controlled by STC15F2K60S2 single chip microcomputer, generating sine wave, square wave and triangular wave. Through switch K1, it could change waveform. It could also increase and decrease of the frequency with switch K2 and K3. Finally, it outputs 5 V adjustable frequency, and the frequencies and names could reveal on liquid crystal display in different waveforms. And, by using software of Proteus to simulate waveform generator, it find that actual production circuit are basically identical. This kind of waveform generator is easy to handle, which operation is stable and reliable and its output waveform can meet the requirements of teaching and the electronic measurement.
Keywords:waveform generator   STC15F2K60S2 MCU   PCF8591DAC   E2 PROM   frequency adjustment   I2C communication protocols
点击此处可从《国外电子测量技术》浏览原始摘要信息
点击此处可从《国外电子测量技术》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号