3D printable TTL box to interface between python/matlab via arduino with BNC connection outputs to trigger experiment contingencies. Included are 3D models created using Fusion 360 and 3D printing .stl files.
An example use case is interface between a matlab/python script that tracks animals live position and both 12V solinoid valves and inscopix miniscope equipment via BNC cable delivered 5V TTL pulses. Experiments required live position tracking of lab animals on a track. If certain zones of the track were occupied an automatic liquid reward would be delivered via opening of a solinoid valve. In addition the animals position within another zone would trigger optogenetic activation communicated via a TTL pulse to inscopix equipment.
Component | Description | Source | Reference | Quantity |
---|---|---|---|---|
Arduino uno | Arduino microcontroler | Online | 1 | |
Solinoid valves | 12V solinoid valves | cole-parmer | 98302-02 | 2 |
BNC connectors | Male BNC connectors to allow connection with BNC cables | RS | 546-4910 | 4 |
TIP120 Transistor | Transistor for solinoid circuit | RS | 2 | |
1N4001-T Diode | Diode for solinoid circuit | RS | 2 | |
1KOhm Resistor | Resistor for solinoid circuit | RS | 2 | |
Circuit stripboard | Strip board to essemble solinoid circuit | RS | 1 | |
DC jack connector | 5.5 X 2.1mm DC power Jack | RS | 1 | |
Capacitor | 100uF 50V for power surge protection | RS | 1 | |
Wire | Wire to connect components | RS | 1 | |
Wire terminal strip | Terminal strip to connect solinoids to TTL box | RS | 4 | |
3D printer | 3D extrusion printer to fabricate case | 1 | ||
3D printer filament | PLA 3D Printer Filament | RS | 1 |