Using Arduino microcontroller boards to measure response latencies.

Behav Res Methods

Instituto Universitário de Lisboa (ISCTE-IUL), Centro de Investigação e Intervenção Social, Av. Forças Armadas, Ed. ISCTE-IUL, 1649-026, Lisbon, Portugal,

Published: December 2013

Latencies of buttonpresses are a staple of cognitive science paradigms. Often keyboards are employed to collect buttonpresses, but their imprecision and variability decreases test power and increases the risk of false positives. Response boxes and data acquisition cards are precise, but expensive and inflexible, alternatives. We propose using open-source Arduino microcontroller boards as an inexpensive and flexible alternative. These boards connect to standard experimental software using a USB connection and a virtual serial port, or by emulating a keyboard. In our solution, an Arduino measures response latencies after being signaled the start of a trial, and communicates the latency and response back to the PC over a USB connection. We demonstrated the reliability, robustness, and precision of this communication in six studies. Test measures confirmed that the error added to the measurement had an SD of less than 1 ms. Alternatively, emulation of a keyboard results in similarly precise measurement. The Arduino performs as well as a serial response box, and better than a keyboard. In addition, our setup allows for the flexible integration of other sensors, and even actuators, to extend the cognitive science toolbox.

Download full-text PDF

Source
http://dx.doi.org/10.3758/s13428-013-0336-zDOI Listing

Publication Analysis

Top Keywords

arduino microcontroller
8
microcontroller boards
8
response latencies
8
cognitive science
8
usb connection
8
response
5
arduino
4
boards measure
4
measure response
4
latencies latencies
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!