I am using PsychoPy to trigger a visual stimulus for an experiment with mice. I will have a screen with the stimulus and I want to trigger it using an Arduino. Any hint on how that can be done?
Thank you very much
This paper may help you although they connect to eprime instead of psychopy
A simple hardware solution is to use a U-HID (https://www.ultimarc.com/control-interfaces/u-hid-en/u-hid/) to mimic keystrokes. The U-HID will read a 5V from the Arduino and output any keystroke that can be read by PsychoPy.
I will look it up, thank you very much!