Is digital input debounced? Looking for explanation for long lick durations #21
-
Hi, The signal I receive is 0's and 1's as expected, but I do have some 'licks' that last > 20 seconds, which cannot be physiologically true. I am currently trying to figure out what the issue is / how I can prevent this from happening.
I hope I explained my issue clearly and would appreciate any input on the matter. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @margo-tje, The digital inputs do not have any debouncing or other processing, the state of each input (high or low voltage) is just recorded at the sampling rate of the photometry signals. One thing to check is that the grounds on the Med TTL adapter and the pyPhotometry board are connected (though assuming your connecting to the BNC connector on the MED adapter this should be fine as the BNC cable has ground and signal lines). I suggest using an oscilloscope to look at the signals coming out from the Med system (if your lab does not already have one the PicoScope 2204A is a nice and cheap option). |
Beta Was this translation helpful? Give feedback.
Hi @margo-tje,
The digital inputs do not have any debouncing or other processing, the state of each input (high or low voltage) is just recorded at the sampling rate of the photometry signals. One thing to check is that the grounds on the Med TTL adapter and the pyPhotometry board are connected (though assuming your connecting to the BNC connector on the MED adapter this should be fine as the BNC cable has ground and signal lines).
I suggest using an oscilloscope to look at the signals coming out from the Med system (if your lab does not already have one the PicoScope 2204A is a nice and cheap option).