University of Cambridge: Hubert's boxes (25-way connector style) |
Top Previous Next |
Hubert Jackson has created boxes for the University of Cambridge that enclose all the Amplicon hardware. They have the following connections:
The wiring map is shown below.
Whisker line numbers are shown for three boxes, with Amplicon panels (X/Y/Z) and connection numbers within each panel (A0-C7) shown in brackets. If you have two Amplicon cards and six boxes, add 72 to each line number for the second set of three boxes.
Note that most Whisker clients will expect six boxes to be numbered 0-5, not 1-6.
Safety relay to Z-C2 (N/O) and Z-C3 (N/C) on EX213 board. Link C2 COM to +24V and C3 COM to 0V. Part numbers: 24V relay (RS 229-3614 or Farnell 910-806), holder (RS 802-890 or Farnell 625-619), LED (RS 802-941 or Farnell 735-073).
16 output control lines x 3 boxes = 48 lines from Y-PL3 and Z-PL4 on EX213 boards; EX213 board output control lines connected to SK7 and SK8 N/O; all COM to 0V.
6 input response line x 3 boxes = 18 lines into X-PL2 on EX230 board; EX230 board input response lines connected to SK8 0V; remove header links on EX230 board and connect J31 to J54 together to +28V (SK5,6,7,8) using header sockets (RS 406-0696 or Farnell 973-543).
(By Hubert Jackson, 4 Sep 2002.)
The corresponding device definition file should look something like this:
WhiskerServer v2.0 - DEVICE DEFINITION FILE - DO NOT ALTER THIS LINE #################################################################### # # These definitions are for 3- or 6-box systems running through Hubert's "IV" boxes, # which have the following connectors: # 28V and 0V power in (plug the power supply in here) # a 78-way cable emerging that plugs into the computer # three 25-way connectors - wire these to the operant chambers, one per box # Failsafes are 66 (on), 67 (off), 138 (on), 139 (off). # # Steps to follow: # 1) Wire up the boxes according to this broad mapping scheme. *NOTE* THAT IF YOUR MED BOXES # USE THE NEWER MED POWER SCHEME (SEPARATE CABLES), YOU MAY NEED TO MODIFY THE BOXES - see separate # document or Whisker help system. # 2) Make a copy of this file and modify it according to your actual mapping, if needed. # 3) Configure "Configure hardware -> Set device definition file" to use your # modified version of this file. # 4) Configure "Configure hardware -> Configure failsafe outputs" # to have lines 67/138 on during operation, lines 67/139 off during operation, and all # those lines off when the server exits. # 5) Configure fake lines ("Configure hardware -> Fake (debugging) I/O lines") as needed. # 6) Restart the server. # # Hubert's "standardized" mapping is: # # Device Med panel Line numbers (for boxes 0, 1, 2, 3, 4, 5) # ------------------------------------------------------------------------------- # L lever report IN 1 3, 4, 5, 75, 76, 77 # R lever report IN 2 6, 7, 8, 78, 79, 80 # Nosepoke IN 3 0, 1, 2, 72, 73, 74 # Left locomotor beam IN 4 9, 10, 11, 81, 82, 83 # Centre loco beam IN 5 12, 13, 14, 84, 85, 86 # Right locomotor beam IN 6 15, 16, 17, 87, 88, 89 # L lever operate OUT 1 36, 37, 38, 108, 109, 110 # R lever operate OUT 2 39, 40, 41, 111, 112, 113 # Dipper OUT 3 33, 34, 35, 105, 106, 107 # Left light OUT 4 42, 43, 44, 114, 115, 116 # Centre light OUT 5 48, 49, 50, 120, 121, 122 # Right light OUT 6 45, 46, 47, 117, 118, 119 # Houselight OUT 7 24, 25, 26, 96, 97, 98 # Pump OUT 8 30, 31, 32, 102, 103, 104 # Traylight OUT 9 27, 28, 29, 99, 100, 101 # Clicker OUT 10 57, 58, 59, 129, 130, 131 # Tone OUT 11 51, 52, 53, 123, 124, 125 # Pellet OUT 12 54, 55, 56, 126, 127, 128 # Spare 1 OUT 13 60, 61, 62, 132, 133, 134 # Spare 2 OUT 14 63, 64, 65, 135, 136, 137 # Shock OUT 16 69, 70, 71, 141, 142, 143 # # In practice, you may want to modify these - e.g. adding "fake" locomotor beams that aren't present, # or mapping non-existent traylights to centrelights, etc. # # Fake lines would begin at line 144, if you define them. Suppose you define 18 fake inputs; you might use these: # Inputs (18 of them): # LOCOBEAM_FRONT lines 144, 145, 146, 147, 148, 149 # LOCOBEAM_MIDDLE lines 150, 151, 152, 153, 154, 155 # LOCOBEAM_REAR lines 156, 157, 158, 159, 160, 161 # ###################################################################
# Box 0 definition
line 0 box0 NOSEPOKE line 3 box0 LEFTLEVER line 6 box0 RIGHTLEVER
line 24 box0 HOUSELIGHT line 57 box0 CLICKER line 54 box0 PELLET line 33 box0 DIPPER line 36 box0 LEFTLEVERCONTROL line 39 box0 RIGHTLEVERCONTROL line 42 box0 LEFTLIGHT line 45 box0 RIGHTLIGHT line 48 box0 CENTRELIGHT line 30 box0 PUMP
line 9 box0 LOCOBEAM_LEFT line 12 box0 LOCOBEAM_CENTRE line 15 box0 LOCOBEAM_RIGHT line 27 box0 TRAYLIGHT line 51 box0 TONE line 60 box0 SPARE1 line 63 box0 SPARE2 line 69 box0 SHOCK
line 144 box0 LOCOBEAM_FRONT line 150 box0 LOCOBEAM_MIDDLE line 156 box0 LOCOBEAM_REAR
# Box 1 definition
line 1 box1 NOSEPOKE line 4 box1 LEFTLEVER line 7 box1 RIGHTLEVER
line 25 box1 HOUSELIGHT line 58 box1 CLICKER line 55 box1 PELLET line 34 box1 DIPPER line 37 box1 LEFTLEVERCONTROL line 40 box1 RIGHTLEVERCONTROL line 43 box1 LEFTLIGHT line 46 box1 RIGHTLIGHT line 49 box1 CENTRELIGHT line 31 box1 PUMP
line 10 box1 LOCOBEAM_LEFT line 13 box1 LOCOBEAM_CENTRE line 16 box1 LOCOBEAM_RIGHT line 28 box1 TRAYLIGHT line 52 box1 TONE line 61 box1 SPARE1 line 64 box1 SPARE2 line 70 box1 SHOCK
line 145 box1 LOCOBEAM_FRONT line 151 box1 LOCOBEAM_MIDDLE line 157 box1 LOCOBEAM_REAR
# Box 2 definition
line 2 box2 NOSEPOKE line 5 box2 LEFTLEVER line 8 box2 RIGHTLEVER
line 26 box2 HOUSELIGHT line 59 box2 CLICKER line 56 box2 PELLET line 35 box2 DIPPER line 38 box2 LEFTLEVERCONTROL line 41 box2 RIGHTLEVERCONTROL line 44 box2 LEFTLIGHT line 47 box2 RIGHTLIGHT line 50 box2 CENTRELIGHT line 32 box2 PUMP
line 11 box2 LOCOBEAM_LEFT line 14 box2 LOCOBEAM_CENTRE line 17 box2 LOCOBEAM_RIGHT line 29 box2 TRAYLIGHT line 53 box2 TONE line 62 box2 SPARE1 line 65 box2 SPARE2 line 71 box2 SHOCK
line 146 box2 LOCOBEAM_FRONT line 152 box2 LOCOBEAM_MIDDLE line 158 box2 LOCOBEAM_REAR
# Box 3 definition
line 72 box3 NOSEPOKE line 75 box3 LEFTLEVER line 78 box3 RIGHTLEVER
line 96 box3 HOUSELIGHT line 129 box3 CLICKER line 126 box3 PELLET line 105 box3 DIPPER line 108 box3 LEFTLEVERCONTROL line 111 box3 RIGHTLEVERCONTROL line 114 box3 LEFTLIGHT line 117 box3 RIGHTLIGHT line 120 box3 CENTRELIGHT line 102 box3 PUMP
line 81 box3 LOCOBEAM_LEFT line 84 box3 LOCOBEAM_CENTRE line 87 box3 LOCOBEAM_RIGHT line 99 box3 TRAYLIGHT line 123 box3 TONE line 132 box3 SPARE1 line 135 box3 SPARE2 line 141 box3 SHOCK
line 147 box3 LOCOBEAM_FRONT line 153 box3 LOCOBEAM_MIDDLE line 159 box3 LOCOBEAM_REAR
# Box 4 definition
line 73 box4 NOSEPOKE line 76 box4 LEFTLEVER line 79 box4 RIGHTLEVER
line 97 box4 HOUSELIGHT line 130 box4 CLICKER line 127 box4 PELLET line 106 box4 DIPPER line 109 box4 LEFTLEVERCONTROL line 112 box4 RIGHTLEVERCONTROL line 115 box4 LEFTLIGHT line 118 box4 RIGHTLIGHT line 121 box4 CENTRELIGHT line 103 box4 PUMP
line 82 box4 LOCOBEAM_LEFT line 85 box4 LOCOBEAM_CENTRE line 88 box4 LOCOBEAM_RIGHT line 100 box4 TRAYLIGHT line 124 box4 TONE line 133 box4 SPARE1 line 136 box4 SPARE2 line 142 box4 SHOCK
line 148 box4 LOCOBEAM_FRONT line 154 box4 LOCOBEAM_MIDDLE line 160 box4 LOCOBEAM_REAR
# Box 5 definition
line 74 box5 NOSEPOKE line 77 box5 LEFTLEVER line 80 box5 RIGHTLEVER
line 98 box5 HOUSELIGHT line 131 box5 CLICKER line 128 box5 PELLET line 107 box5 DIPPER line 110 box5 LEFTLEVERCONTROL line 113 box5 RIGHTLEVERCONTROL line 116 box5 LEFTLIGHT line 119 box5 RIGHTLIGHT line 122 box5 CENTRELIGHT line 104 box5 PUMP
line 83 box5 LOCOBEAM_LEFT line 86 box5 LOCOBEAM_CENTRE line 89 box5 LOCOBEAM_RIGHT line 101 box5 TRAYLIGHT line 125 box5 TONE line 134 box5 SPARE1 line 137 box5 SPARE2 line 143 box5 SHOCK
line 149 box5 LOCOBEAM_FRONT line 155 box5 LOCOBEAM_MIDDLE line 161 box5 LOCOBEAM_REAR
See also:
|