StimSync: Open-source hardware for behavioral and MRI experiments

BACKGROUND Many neuroscience experiments rely on presenting stimuli and measuring participants' responses to these events. Often computer screens, speakers and keyboards are sufficient. However, these devices are not appropriate for some situations. For example, some studies present tactile or olfactory stimuli or brain stimulation. Likewise, keyboard buttons are not appropriate for use with vocal responses, small animals or individuals with motor impairments. NEW METHOD We describe StimSync, which simulates USB keyboard inputs, allowing use with most experimental software. StimSync can measure button presses, optical signals from magnetic resonance imaging systems, changes in ambient light (e.g. synchronizing intracranial electrography), and auditory events (a voice key). In addition to the USB keyboard mode (necessarily millisecond precision), StimSync can also be set to provide higher precision timing. This feature can be used to validate timing, ensuring event synchronization (e.g. auditory events, visual events, brain stimulation). In addition to recording inputs, StimSync provides seven digital outputs for controlling external devices. Finally, StimSync can record analog inputs; we illustrate how this can be used to evaluate the rise time for computer displays. RESULTS We observed outputs with a mean latency of 2.1ms (sd=0.17ms) and USB inputs with a mean latency of 2ms (sd=0.54ms). COMPARISON WITH EXISTING METHOD(S) StimSync statistically outperforms two professional solutions and numerically outperforms other devices described in the literature. CONCLUSIONS StimSync (http://www.mccauslandcenter.sc.edu/CRNL/tools/stimsync) provides an open-source solution for controlling and validating neuroscience experiments. In addition to sharing the design, we have produced a batch of devices to demonstrate the market for professional implementations.

[1]  D. Burnham,et al.  The delayed trigger voice key: An improved analogue voice key for psycholinguistic research , 2005, Behavior research methods.

[2]  Rolf Ulrich,et al.  Time resolution of clocks: Effects on reaction time measurement—Good news for bad clocks , 1989 .

[3]  Jan Theeuwes,et al.  OpenSesame: An open-source, graphical experiment builder for the social sciences , 2011, Behavior Research Methods.

[4]  J. Mattingley,et al.  Fast and slow parietal pathways mediate spatial attention , 2004, Nature Neuroscience.

[5]  Jonathan W. Peirce,et al.  PsychoPy—Psychophysics software in Python , 2007, Journal of Neuroscience Methods.

[6]  Yijun Liu,et al.  A full-size MRI-compatible keyboard response system , 2005, NeuroImage.

[7]  C. Craig Morris Using the IBM-compatible microcomputer’s serial port as an input-output interface , 1992 .

[8]  E. C. Dalrymple-Alford,et al.  Response-key input via the IBM PC/XT/AT’s parallel printer port , 1992 .

[9]  Sidney J. Segalowitz,et al.  Suitability of the IBM XT, AT, and PS/2 keyboard, mouse, and game port as response devices in reaction time paradigms , 1990 .

[10]  Marcelo M. Wanderley,et al.  fMRI-compatible electronic controllers , 2007, NIME '07.

[11]  K. Hayakawa,et al.  Mechanism of burn injury during magnetic resonance imaging (MRI)--simple loops can induce heat injury. , 2001, Frontiers of medical and biological engineering : the international journal of the Japan Society of Medical Electronics and Biological Engineering.

[12]  Richard R Plant,et al.  Millisecond precision psychological research in a world of commodity computers: New hardware, new problems? , 2009, Behavior research methods.

[13]  Michael R. Markham An interface for controlling external devices via the IBM PC/XT/AT parallel port , 1993 .

[14]  Walter Heindel,et al.  Hazardous situation in the MR bore: induction in ECG leads causes fire , 2003, European Radiology.

[15]  Lise Abrams,et al.  VoiceRelay: Voice key operation using Visual Basic , 2004, Behavior research methods, instruments, & computers : a journal of the Psychonomic Society, Inc.

[16]  Alessandro D’Ausilio,et al.  Using Arduino microcontroller boards to measure response latencies , 2013, Behavior research methods.