PDA

View Full Version : Labcentre Proteus Simulation software question



financecatalyst
- 17th July 2012, 19:56
Is there any way to provide voltage to the ADC manually while the simulation is running? Upto now I always give voltage using a battery and I have to stop the simulation to change the battery voltage so I can see the ADC result which is very annoying.

I also tried it with an active potentiometer, but the steps are too big.

Darrel Taylor
- 17th July 2012, 20:36
Are you using the POT-HG or the normal POT?

POT-HG is a (High Granularity) version that has 1% steps.

You can also use the Function Generator set to 0 Hz, then adjust the amplitude.

financecatalyst
- 17th July 2012, 22:54
Thanks. Do you know any way where I can provide a minimum 0.5V and then increment 1.22mV on top. I have tried a few ways but couldn't do it precisely.

Darrel Taylor
- 18th July 2012, 01:49
You could use one of the 12-bit DAC's, which gives 1.221mV steps.

A second PIC in the the .dsn with a couple buttons to control it should work.

Darrel Taylor
- 8th August 2012, 02:48
Here's an example that gives two 12-bit analog voltages using a DAC.
A Virtual Terminal is used to set the voltages.

http://support.melabs.com/threads/285-High-resolution-Voltage-Source-(replaces-pots)