Skip to main content

Using Arduino Microcontroller Boards to Measure Response Latencies.

 https://www.academia.edu/6819935/Using_Arduino_Microcontroller_Boards_to_Measure_Response_Latencies

 

 

Using Arduino microcontroller boards to measure
response latencies
Thomas W. Schubert & Alessandro D’Ausilio &
Rosario Canto
Published online: 13 April 2013
# Psychonomic Society, Inc. 2013
Abstract 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
Arduinomicrocontroller 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.
Keywords Response latencies . Reaction times . Response
box . Arduino . E-Prime
Paradigms that measure latencies of responses are a staple of
many areas of experimental research on cognition. In theory,
latencies of many different actions can be measured:
keypresses, spoken answers, or movements of fingers,
hands, eyes, or other body parts.
Very often, however, experimental psychologists simply
ask participants to react to computer-presented stimuli by
pressing keys on regular keyboards. We believe this is unfortunate
for two reasons: First, regular keyboards are notoriously
imprecise input devices that add noise to the data. Second,
keypresses are most often arbitrarily matched to the outcome
of some cognitive process, whereas other movements might
index the investigated process more directly. Experimental
psychologists may be aware of both shortcomings and still
choose the keyboard out of habit, convenience, or lack of
alternatives.
With the present work, we propose an alternative platform
that allows both more precise measurement and more
creative dependent variables. It uses the open-source
Arduino microcontroller platform and thereby harvests the
creativity of a large developer community. In the following,
we will elaborate on the imprecision of regular keyboards,
before we describe and test how the Arduino can be used as
a response latency measurement platform.
Electronic supplementary material The online version of this article
(doi:10.3758/s13428-013-0336-z) contains supplementary material,
which is available to authorized users.
T. W. Schubert
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
A. D’Ausilio : R. Canto
RBCS—Robotics, Brain and Cognitive Sciences Department,
Italian Institute of Technology (IIT), Genoa, Italy
A. D’Ausilio
e-mail: alessandro.dausilio@iit.it
R. Canto
e-mail: rosario.canto@unife.it
T. W. Schubert (*)
Psykologisk Institut, P.O. Box 1094, Blindern,
0317 Oslo, Norway
e-mail: schubert@igroup.org
Behav Res (2013) 45:1332–1346
DOI 10.3758/s13428-013-0336-z

 

Comments

Popular posts from this blog

The Difference Between LEGO MINDSTORMS EV3 Home Edition (#31313) and LEGO MINDSTORMS Education EV3 (#45544)

http://robotsquare.com/2013/11/25/difference-between-ev3-home-edition-and-education-ev3/ This article covers the difference between the LEGO MINDSTORMS EV3 Home Edition and LEGO MINDSTORMS Education EV3 products. Other articles in the ‘difference between’ series: * The difference and compatibility between EV3 and NXT ( link ) * The difference between NXT Home Edition and NXT Education products ( link ) One robotics platform, two targets The LEGO MINDSTORMS EV3 robotics platform has been developed for two different target audiences. We have home users (children and hobbyists) and educational users (students and teachers). LEGO has designed a base set for each group, as well as several add on sets. There isn’t a clear line between home users and educational users, though. It’s fine to use the Education set at home, and it’s fine to use the Home Edition set at school. This article aims to clarify the differences between the two product lines so you can decide which

Let’s ban PowerPoint in lectures – it makes students more stupid and professors more boring

https://theconversation.com/lets-ban-powerpoint-in-lectures-it-makes-students-more-stupid-and-professors-more-boring-36183 Reading bullet points off a screen doesn't teach anyone anything. Author Bent Meier Sørensen Professor in Philosophy and Business at Copenhagen Business School Disclosure Statement Bent Meier Sørensen does not work for, consult to, own shares in or receive funding from any company or organisation that would benefit from this article, and has no relevant affiliations. The Conversation is funded by CSIRO, Melbourne, Monash, RMIT, UTS, UWA, ACU, ANU, ASB, Baker IDI, Canberra, CDU, Curtin, Deakin, ECU, Flinders, Griffith, the Harry Perkins Institute, JCU, La Trobe, Massey, Murdoch, Newcastle, UQ, QUT, SAHMRI, Swinburne, Sydney, UNDA, UNE, UniSA, UNSW, USC, USQ, UTAS, UWS, VU and Wollongong.

Building a portable GSM BTS using the Nuand bladeRF, Raspberry Pi and YateBTS (The Definitive and Step by Step Guide)

https://blog.strcpy.info/2016/04/21/building-a-portable-gsm-bts-using-bladerf-raspberry-and-yatebts-the-definitive-guide/ Building a portable GSM BTS using the Nuand bladeRF, Raspberry Pi and YateBTS (The Definitive and Step by Step Guide) I was always amazed when I read articles published by some hackers related to GSM technology. H owever , playing with GSM technologies was not cheap until the arrival of Software Defined Radios (SDRs), besides not being something easy to be implemented. A fter reading various articles related to GSM BTS, I noticed that there were a lot of inconsistent and or incomplete information related to the topic. From this, I decided to write this article, detailing and describing step by step the building process of a portable and operational GSM BTS. Before starting with the “hands on”, I would like to thank all the pioneering Hackers and Researchers who started the studies related to previously closed GSM technology. In particul