From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Noisy DS digital inputs

Hello,

We've discovered something interesting with our DS' digital inputs. With nothing attached, they read off. When we connect a 3-pin (PWM signal) wire, they quickly alternate between on and off. When we short the SIG and GND, it reads off. We can't get them to read solid on.

Any ideas?

0 Kudos
Message 1 of 3
(5,879 Views)

Hi,

What happens when you connect the digital input to 5 volts?  The inputs are floating, so if you don't connect them to ground or 5 volts, the value is undefined and will often toggle back and forth between 0 and 1.

Regards,

Jeremy Billheimer
Applications Engineer
National Instruments

Regards,

Jeremy_B

Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,557 Views)

Ah, that makes loads of sense. We'll try it out next meeting, but I expect that'll work just fine.

Thanks!

0 Kudos
Message 3 of 3
(2,557 Views)