I've been asked for this a few times, so I thought I'd try to come up with something.
The resolution of the potentiometers in Proteus is not very good.
The best you can get is 100 steps full range.
This makes it difficult to see what effect small steps can have on the analog inputs when you are using 10-bit A/D with 1023 steps.
So this small circuit uses a MAX5822 (12-bit Digital to Analog converter) controlled by a PIC12F1840 by way of a virtual terminal.
It can work in any of 8, 10 or 12-bit resolutions, allowing up to 4095 steps.
The MAX5822 has two separate DAC outputs, and you can control both of them individually.
You can enter the desired voltage as 0.000 (3 decimal places), or as the D/A value (0-4095 for 12-bit resolution). Or the +/- keys will increment/decrement the selected channel.
Just connect your circuit to the VA and or VB nets, and tell it what voltages to output.
The 12F1840 runs a compiled .HEX file, so you don't have to worry about trying to compile it.

Copy the items to your own design sheet. And copy the .HEX file into the same folder as your design.
The terminal can be placed over the parts to use less space on the sheet.
The design was drawn in Proteus version 7.10 SP1 (the current version as of this writing) and will not run on earlier versions.
HTH
The resolution of the potentiometers in Proteus is not very good.
The best you can get is 100 steps full range.
This makes it difficult to see what effect small steps can have on the analog inputs when you are using 10-bit A/D with 1023 steps.
So this small circuit uses a MAX5822 (12-bit Digital to Analog converter) controlled by a PIC12F1840 by way of a virtual terminal.
It can work in any of 8, 10 or 12-bit resolutions, allowing up to 4095 steps.
The MAX5822 has two separate DAC outputs, and you can control both of them individually.
You can enter the desired voltage as 0.000 (3 decimal places), or as the D/A value (0-4095 for 12-bit resolution). Or the +/- keys will increment/decrement the selected channel.
Just connect your circuit to the VA and or VB nets, and tell it what voltages to output.
The 12F1840 runs a compiled .HEX file, so you don't have to worry about trying to compile it.

Copy the items to your own design sheet. And copy the .HEX file into the same folder as your design.
The terminal can be placed over the parts to use less space on the sheet.
The design was drawn in Proteus version 7.10 SP1 (the current version as of this writing) and will not run on earlier versions.
HTH
Comment