I have connected a switch (off/on) to a USB output on my computer. I measure 5V from the end of the USB that is going to my switch. I am recording the voltage going from high (5V) to low (0V) when the switch is turned off/on. My problem:
The voltage I record does not drop off fast, it drops off fast to about 1V, then slowly to 0V after 10 seconds or so.
I tried a different USB outlet on a different computer (laptop) and it seems to work better most of the time (drops fast to 0V).
Any reasons why I would see the "slow" drop using one vs. the other? Any thoughts on troubleshooting would be appreciated.