Experimental Apparatus to show: EMS speeds up someone's reaction time but only if you train with an Agency-preserving EMS device!
This code allows you to run simple reaction time experiments in which your participants' reaction time is accelerated by means of Electrical Muscle Stimulation (EMS).
This code was derived from 'Preserving Agency During Electrical Muscle Stimulation Training Speeds up Reaction Time Directly After Removing EMS', more info & read our CHI 2021 Paper, by Shunichi Kasahara, Kazuma Takada, Jun Nishida, Kazuhisa Shibata, Shinsuke Shimojo and Pedro Lopes.
This uses TouchDesigner. We recommend using the "64Bit Build 2018.28120" version. Due to some backward-incompatibility in TouchDesigner, the pulse function might not work as expected in the newer versions.
- We used a
BioSyncElectrical Muscle Stimulator (design by Jun Nishida(see CHI2017 Paper), via Serial (over USB); please refer to our CHI 2021 Paper for hardware requirements. - We used an
Arduinomicrocontroller connected to a simple capacitive touch sensor as our button for the reaction time tests (code included); please refer to our CHI 2021 Paper for hardware requirements.
-
AgencyGateLearn_PreStudy.toeRun this code to acquire data for "Agency Curve" (refer to Study #1 in our CHI 2021 Paper) -
AgencyGateLearn_MainStudy.toeRun this code to acquire data for the Main Study (refer to Study #2 in our CHI 2021 Paper)
ReactionTimeMeasureThis is a simple firmware that talks between an Arduino and the TouchDesigner experiments, it implements a simple serial protocol that was designed for this study.