Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

momentary push button to anlalog input

We have a USB 6210 DAQ, I want to connect momentary push button to anlalog input to find when the button is pushed. Can somebody help with electrical connections that is needed.

 

Thank you

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

Connect a pullup resistor to +5V, connect the other end to the switch, connect the other end of the switch to gnd. Connect your analog (or digital) input to the switch/resistor connection. The DAQ input will see either gnd or +5V.

0 Kudos
Message 2 of 4
(3,254 Views)

Thank you Dennis,

 

What is value of resistor,  I would appreciate if you can how calculate, I know voltage is 5 v, and what is the current value to be used in equation (v/i=r)

0 Kudos
Message 3 of 4
(3,251 Views)

First check the manual to see if the digital lines aleady have pullups. If not, read the manual for max current in. A 10k will probably work fine.

0 Kudos
Message 4 of 4
(3,247 Views)