in the analog pin iam receiving the sessor value of 0 to 5 volt linearly varying voltage .my question is can i control this voltage using PWM pin or digital pin.how to do?
actually my task is to get an output of 0 to 5 linearly varying dc with respect to time using labview and arduino . how to do it ???
try looking at this article:
http://www.chemie.unibas.ch/~hauser/open-source-lab/Arduino-DAC/Arduino-DAC.html
The article describes ways you can create an analog output from an Arduino. unfortunately there is not direct way to get a varying DC voltage output without any other components.
Actually, a digital output can switch from close to zero volts to close to five volts in microseconds (nanoseconds?) in a nearly linear fashion. It all depends upon the unspecified time scale and the unspecified degree of linearity.