|
ANY-maze Help > The ANY-maze reference > The I/O page > Making I/O connections > Connecting levers, switches, push buttons, etc. Connecting levers, switches, push buttons, etc.
DetailsLevers, switches, push buttons, etc. are all essentially the same - they consist of two terminals which are connected together (or sometimes separated) when the device is 'activated'. So all we need to do here is connect these two terminals to an I/O device. The ANY-maze Digital interface switch input ports are perfect for this, you simply have to connect the two terminals to pins 1 and 2 (odd numbered ports) or pins 3 and 4 (even numbered ports) - see figure 1.
Figure 1. Any two-terminal switch simply connects between pins 1 and 2, or 3 and 4, of an ANY-maze Digital interface switch input port.
As well as making this connection, you will also need to configure the ANY-maze Digital interface so that it knows that the port you've connected to is being used for a switch input. You should then test that the switch is working correctly using the I/O page. To actually use the switch in an experiment, you'll need to add it to the protocol as an on/off input. See also:
© Copyright 2003-2026 Stoelting Co. All rights reserved ANY-maze help topic T0899 |