Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to generate constant voltage using digital I/O

Solved!
Go to solution

Hello everybody,

 

I know Digital I/O used just for digital waves but I am wondering is there any way to have a DC constant voltage(0-5volt) using the digital I/O, maybe by increasing the pulse width and decreasing the frequency! Do u have any idea about?

 

 

Thanks,

Elahe

0 Kudos
Message 1 of 4
(3,730 Views)

This is trivial. If you want 5V, you write a logic 1 or a Boolean True. If you want 0V, you write a 0 or a Boolean False. It all depends ion which DAQmx Write you use or how you configure the DAQ Assistant.

 

Message Edited by Dennis Knutson on 11-03-2009 10:48 AM
0 Kudos
Message 2 of 4
(3,725 Views)
Thanks for your answer, but I did,'t meant only for 0 volt and 5 volt. I asked for a vlotage value between 0 and 5
0 Kudos
Message 3 of 4
(3,719 Views)
Solution
Accepted by topic author elahetal

Not sure how much ripple there would be, but you could pulse the output and change the duty cycle. Feed that into an RC filter perhaps. You would have to collect some data as to what pulse width generates what voltage for a given frequency.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 4 of 4
(3,706 Views)