| Literature DB >> 25649099 |
Rogelio Escobar1, Carlos A Pérez-Herrera.
Abstract
This note describes the design of a low-cost interface using Arduino microcontroller boards and Visual Basic programming for operant conditioning research. The board executes one program in Arduino programming language that polls the state of the inputs and generates outputs in an operant chamber. This program communicates through a USB port with another program written in Visual Basic 2010 Express Edition running on a laptop, desktop, netbook computer, or even a tablet equipped with Windows operating system. The Visual Basic program controls schedules of reinforcement and records real-time data. A single Arduino board can be used to control a total of 52 inputs/output lines, and multiple Arduino boards can be used to control multiple operant chambers. An external power supply and a series of micro relays are required to control 28-V DC devices commonly used in operant chambers. Instructions for downloading and using the programs to generate simple and concurrent schedules of reinforcement are provided. Testing suggests that the interface is reliable, accurate, and could serve as an inexpensive alternative to commercial equipment. © Society for the Experimental Analysis of Behavior.Keywords: Arduino; Visual Basic; experimental control; instrumentation; interface
Mesh:
Year: 2015 PMID: 25649099 DOI: 10.1002/jeab.135
Source DB: PubMed Journal: J Exp Anal Behav ISSN: 0022-5002 Impact factor: 2.468