LOW-COST USB INTERFACE FOR OPERANT RESEARCH USING ARDUINO AND VISUAL BASIC

被引:15
作者
Escobar, Rogelio [1 ]
Perez-Herrera, Carlos A. [1 ]
机构
[1] Univ Nacl Autonoma Mexico, Mexico City 04510, DF, Mexico
关键词
interface; Arduino; Visual Basic; instrumentation; experimental control;
D O I
10.1002/jeab.135
中图分类号
B84 [心理学];
学科分类号
04 ; 0402 ;
摘要
This note describes the design of a low-cost interface using Arduino (R) microcontroller boards and Visual Basic programming for operant conditioning research. The board executes one program in Arduino (R) 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 (R) running on a laptop, desktop, netbook computer, or even a tablet equipped with Windows (R) operating system. The Visual Basic program controls schedules of reinforcement and records real-time data. A single Arduino (R) board can be used to control a total of 52 inputs/output lines, and multiple Arduino (R) 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.
引用
收藏
页码:427 / 435
页数:9
相关论文
共 9 条
[1]  
Cabello F., 2002, EXPT ANAL HUMAN BEHA, V20, P18
[2]   Arduino: A low-cost multipurpose lab equipment [J].
D'Ausilio, Alessandro .
BEHAVIOR RESEARCH METHODS, 2012, 44 (02) :305-313
[3]  
Dixon MR., 2003, Visual basic for behavioral psychologists
[4]  
Escobar R., 2010, MEX J BEHAV ANAL, V36, P7, DOI [10.5514/rmac.v36.i3.21402, DOI 10.5514/RMAC.V36.I3.21402]
[5]   A PROGRESSION FOR GENERATING VARIABLE-INTERVAL SCHEDULES [J].
FLESHLER, M ;
HOFFMAN, HS .
JOURNAL OF THE EXPERIMENTAL ANALYSIS OF BEHAVIOR, 1962, 5 (04) :529-&
[6]  
Gollub L. R., 1991, TECHNIQUES BEHAV NEU, P155
[7]   ELOPTA: A novel microcontroller-based operant device [J].
Hoffman, Adam M. ;
Song, Jianjian ;
Tuttle, Elaina M. .
BEHAVIOR RESEARCH METHODS, 2007, 39 (04) :776-782
[8]   A POWERFUL, INEXPENSIVE EXPERIMENT CONTROLLER OR IBM PC INTERFACE AND EXPERIMENT CONTROL LANGUAGE [J].
PALYA, WL ;
WALTER, DE .
BEHAVIOR RESEARCH METHODS INSTRUMENTS & COMPUTERS, 1993, 25 (02) :127-136
[9]   Using Arduino microcontroller boards to measure response latencies [J].
Schubert, Thomas W. ;
D'Ausilio, Alessandro ;
Canto, Rosario .
BEHAVIOR RESEARCH METHODS, 2013, 45 (04) :1332-1346