Lick detection

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

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

Two lick detection module assembly

Have the PCB fabricated hereopen in new window (or download the GERBER files and have it made elsewhere). The step by step instructions to solder the components on the solenoid valve driver from the control module can be used as well for this module, making sure to use the appropiate components and placing them as labeled in the PCB.

LabelPart No.Description
R1, R2, R4, R5AC1206FR-0710MLopen in new window10M Ohm resistors
R3, R6AC1206FR-0747KLopen in new window47K Ohm resistors
R7, R8AC1206FR-0710KLopen in new window10K Ohm resistors
T1, T2, T3, T4MMBT2222LT1Gopen in new windowBJT Transistor NPN
8L61-12-011 (2)8L61-12-011open in new windowRelay reed SPDT 250MA 12V
U2UA78L05ACPKE6open in new windowLinear Voltage Regulator
No label (middle big square)TRS 2-2412open in new windowIsolated Module DC DC Converter
C1CL31B475KBHNNNEopen in new window4.7 µF Ceramic Capacitor
C2CL31C151JBCNNNCopen in new window150 pF Ceramic Capacitor
22 microIFSC1008ABER220M01open in new window22 µH Shielded Inductor

After assemblying the module, place the labels as shown in the picture below.

The description of each pin of the lick detector module can be found in the table below.

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 headplate to this pin
8. COMMONInput - Connect the ground from the NiDAQ (or any acquisition device) to this pin

Soldering a cable to the feeding spout and headplate holder

  1. Use sandpaper to remove the outer layer of the stainless steel spout at one of the sides if the luer lock connector (as far as possible from the connector tip), do the same with the headplate (wherever you want to place the cable, we recommend to use the arm without the tapped hole to fit a heat shrinkable tube).

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

  3. Drop a small drop of flux in the sanded surface and place the tip of the solder iron over the flux - the tip might stick to the stainless steel, that's normal - continue heating the surface and use soldering wire (we found lead works best) to solder the coaxial cable to the spout and headplate.

  4. Use heat shrinkable tube to cover the soldering spot.

To close the circuit for detection, you need a contact in the mice body. We solder a lead (repeating steps 1-4) at the headplate holder, but that can be adjusted on different setups.