The paper gives a brief introduction to AT89S52 microcontroller and D/A0832 DAC Sawtooth Wave,square wave,sine wave,three simple waveform and frequency adjustable signal generator are realized through hardware design and software programming.It provides some reference for beginners of microcomputer hardware and software.