ANY-maze Help > The ANY-maze reference > The I/O page > Making I/O connections > Connecting shockers

Connecting shockers

Introduction

There are two ways to control a shocker in ANY-maze, either using the ANY-maze shocker cable, or using one of the ANY-maze interface device family.

Using the ANY-maze shocker cable

The ANY-maze shocker cable is designed to control the San Diego Instruments programmable shocker. The cable simply plugs into a USB port on your computer and into a port on the rear of the shocker. It allows ANY-maze to switch the shocker on and off and to control the level of shock that is delivered.

After connecting a shocker cable you will want to check it is working correctly using the I/O page.

To actually use the shocker in an experiment, you'll need to add a shocker element to your protocol and also a procedure too, as it's the procedure which will actually switch the shocker on and off during tests.

Using an ANY-maze interface device

If you don't own a San Diego Instruments programmable shocker, you won't be able to use the ANY-maze shocker cable. However, most shockers include a 'remote control' input which can be used to turn the shocker on and off and one of the ANY-maze interface device family can usually be connected to these inputs.

In fact there are three types of 'remote control' input commonly found on shockers - TTL inputs, switch inputs and opto-isolated inputs:

 •TTL inputs can be connected to an ANY-maze Digital interface TTL output port, the signal should connect to pin 1 and 2 (odd numbered ports) or pin 3 and 4 (even numbered ports). After connecting the shocker, you will need to configure the ANY-maze Digital interface so that it knows  that the port you've connected to is being used to output a TTL signal - specifically you should set the port to be a TTL output.  
 •Switch inputs simply require that their two terminals are connected together in order for the shocker to deliver a shock. This type of input can be connected directly to pins 2 and 3 of a ANY-maze Relay interface port (it doesn't matter which way round you make the connection - so either terminal on the shocker can be connected to either terminal on the ANY-maze Relay interface port.)  
 •Opto-isolated inputs can be connected to an ANY-maze Digital interface too, but this is a little more complicated, so we recommend you contact ANY-maze Support if your shocker has this type of input.  

Once you have connected the shocker you should test that it is working correctly using the I/O page.

To actually use the shocker in an experiment, you'll need to add it to the protocol as an on/off output. You'll need to add a procedure too, as it's the procedure which will actually switch the shocker on and off during tests at the appropriate times.

See also:

 •The ANY-maze shocker cable  
 •The ANY-maze Digital interface 
 •Configuring the ANY-maze Digital interface 
 •The ANY-maze Digital interface TTL output ports 
 •The ANY-maze Relay interface 
 •An introduction to on/off outputs 

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T0907