This procedure uses the STC12C5AXXS2 series single-chip SCM, P1.3 output voltage of 0~5V. Available online through the serial port to control the output voltage, and through the serial port on the PC to display the output voltage. SCM only needs a single chip and two two resistors and capacitors of 0.1uF. Hardware connection diagram. Has passed the tests.
File list:
数模转换
...\C.c
...\C.LST
...\C.OBJ
...\da
...\da.hex
...\da.lnp
...\da.M51
...\da.Opt
...\da.plg
...\da.Uv2
...\da_Opt.Bak
...\da_Uv2.Bak
...\STC单片机常用寄存器.xls
...\外部连线图.bmp