Skip to content

Lick detection ​

The lick detection module is based on a simple transistor design (Slotnick 2009), which we modified to detect licks on 2 spouts in the same module. We also added a DC-DC converter to isolate the circuit from the power source, and a 5 V voltage regulator after the relays to get a TTL signal at the output of both circuits.

The module was designed this way for a specific task that requires two spouts, but it can also be used with one spout (e.g. to count the number of licks during a task). Below is an example of a setup using two lick spouts in a decision-making task developed by a member of the BRAIN CoGS team.

Two lick detection module assembly ​

Have the PCB made here (or download the Gerber files and have it made elsewhere). The step-by-step soldering instructions for the solenoid valve driver in the control module also apply to this module; just use the appropriate components and place them as labeled on the PCB.

LabelPart No.Description
R1, R2, R4, R5AC1206FR-0710ML10 MΩ resistors
R3, R6AC1206FR-0747KL47 kΩ resistors
R7, R8AC1206FR-0710KL10 kΩ resistors
T1, T2, T3, T4MMBT2222LT1GNPN BJT transistor
8L61-12-011 (2)8L61-12-011Reed relay, SPDT, 250 mA, 12 V
U2UA78L05ACPKE6Linear voltage regulator
No label (middle big square)TRS 2-2412Isolated DC-DC converter module
C1CL31B475KBHNNNE4.7 µF ceramic capacitor
C2CL31C151JBCNNNC150 pF ceramic capacitor
22 microIFSC1008ABER220M0122 µH shielded inductor

After assembling the module, apply the labels as shown in the picture below.

The table below describes each pin of the lick detector module.

PINDescription
1. GROUNDInput - ground
2. 24VInput - 24V DC
3. OUT LEFTOutput - TTL output pin for the left spout
4. OUT RIGHTOutput - TTL output pin for the right spout
5. RIGHT SPOUTInput - Connect the right spout to this pin
6. LEFT SPOUTInput - Connect the left spout to this pin
7. HEADPLATEInput - Connect the head plate to this pin
8. COMMONInput - Connect the ground from the NI-DAQ (or any other acquisition device) to this pin

Soldering a cable to the feeding spout and head plate holder ​

  1. Sand off the outer layer of the stainless steel spout on one side, near the Luer lock connector (as far as possible from the connector tip). Do the same on the head plate holder wherever you want to attach the cable (we recommend the arm without the tapped hole, so heat-shrink tubing fits over it).

  2. Clean the sanded surface with isopropyl alcohol and let it dry. In the meantime, prepare the coaxial cable (we recommend a 26 or 28 AWG coaxial cable like these) by removing the jacket and the shield, then strip a portion of the insulation to expose the conductor. Repeat on the other end of the cable.

  3. Put a small drop of flux on the sanded surface and place the tip of the soldering iron on it (the tip might stick to the stainless steel; that's normal). Keep heating the surface and use solder wire (we found leaded solder works best) to solder the coaxial cable to the spout and the head plate holder.

  4. Cover the solder joint with heat-shrink tubing.

To close the detection circuit, you need a contact on the mouse's body. We solder a lead to the head plate holder (repeating steps 1-4), but this can be adapted to other setups.

Made by BRAIN CoGS at Princeton Neuroscience Institute