Trigger psychopy stimulus with Arduino

Hello!
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 :slight_smile:
Ana Marta

This paper may help you although they connect to eprime instead of psychopy

http://link.springer.com/article/10.3758/s13428-013-0336-z

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!