ientific experiments as signal sources. At present, there is a lack of waveform generators in the domestic market, and they are expensive. To meet the needs of experiments, research, and industry, it is important to develop a waveform generator that is fully functional and easy to use. This paper introduces two design solutions for waveform generators based on the 89C51 microcontroller and the digital-to-analog converter DAC0832. Each solution has its own characteristics and can meet the needs of different fields for waveform generators. The design scheme of the programmable waveform generator uses the microcontroller to generate waveform data and then uses timers to control the microcontroller to send the waveform data to the DAC for waveform conversion. This scheme also includes LED display module and keyboard module, providing good human-computer interaction. In the hardware waveform generator design, the microcontroller generates waveform data or receives waveform data from the upper computer and writes it into external RAM. Then, the external circuit controls the waveform data to be taken from the RAM and sent to the DAC for waveform conversion. This scheme can generate high-frequency waves and has good upgradability. Both design solutions can generate four types of waveforms: sine wave, triangular wave, sawtooth wave, and square wave, with adjustable frequency and amplitude. The software design in this design uses Keil c software and C language, and the system function verification is carried out using simulation software Proteus. The printed circuit board (PCB) is designed using Protel software. Both waveform generators designed in this project have the characteristics of high accuracy, small error, low power consumption, fast data transmission speed, and high reliability. They are also cost-effective and have certain development value. Keywords: waveform generator, microcontroller, DAC0832, programmable waveform generator design, hardware waveform generator design. Henan University of Science and Technology undergraduate graduation design (thesis) II.
![](https://csdnimg.cn/release/download_crawler_static/88029089/bg10.jpg)
![](https://csdnimg.cn/release/download_crawler_static/88029089/bg11.jpg)
![](https://csdnimg.cn/release/download_crawler_static/88029089/bg12.jpg)
![](https://csdnimg.cn/release/download_crawler_static/88029089/bg13.jpg)
![](https://csdnimg.cn/release/download_crawler_static/88029089/bg14.jpg)
剩余178页未读,继续阅读
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)