|
ANY-maze Help > The ANY-maze reference > The I/O page > Making I/O connections > Connecting pellet dispensers Connecting pellet dispensers
DetailsMost pellet dispensers include an 'operate' connection which, when connected to the dispenser's power cause it to dispense a pellet. Usually the operate signal needs to last for just a short duration, for example half a second, otherwise multiple pellets are dispensed. So here what we need is something like a computer controlled switch, connected between the dispenser's operate and power inputs - the computer can then briefly close this 'switch' to dispense a pellet. The ANY-maze Relay interface includes eight computer controlled switches just like this (they're called relays). So, to connect a pellet dispenser you simply need to connect its operate line to one output on an ANY-maze Relay interface port and its power line to the other, as shown in figure 1, below.
Figure 1. Controlling a pellet dispenser through an ANY-maze Relay interface. Note that not all pellet dispensers connect in this way - you should check how your device works before connecting it.
After connecting the pellet dispenser, you should test that it is working correctly using the I/O page. Here you should quickly turn the relevant output switch port on and then off, a pellet should be dispensed. To actually use the pellet dispenser in an experiment, you'll need to add it to the protocol as an on/off output. You'll find that on/off outputs can be set to automatically switch off a set period after they are switched on - so you can use this to have the output turn off half a second after it comes on, so as ensure just one pellet is dispensed (the exact pulse duration should be in the pellet dispensers manual, or you can determine it through experimentation). You'll probably also want to add a procedure, as it's the procedure which will actually turn the pellet dispenser on (so it dispenses a pellet) during the tests. See also:
© Copyright 2003-2026 Stoelting Co. All rights reserved ANY-maze help topic T0903 |