Skip to content

Lick debounce #105

Closed Answered by ThomasAkam
AtMostafa asked this question in Q&A
Nov 9, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @AtMostafa, I don't think debouncing is going to help with this because it prevents multiple events from being generated within a specified window, but will not stop a single event being generated due to crosstalk between the solenoid and lick detector. The best way to resolve this problem is to minimise electrical coupling between the solenoid circuitry and the sensitive part of the lick detection circuitry, which includes the lick spout itself and the wire connecting it to the lickometer. The main ways to achieve this are:

  1. Increase the physical distance between the circuits, e.g. by having the solenoid plugged into a seperate port adapter board rather than into the lickometer board.…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AtMostafa
Comment options

@AtMostafa
Comment options

Answer selected by AtMostafa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants