- Install the Arduino Desktop IDE
- Go to the Cthulhu GitHub repo and download ZIP
- Open the Arduino IDE, go to
Sketch > Include Library > Add .ZIP Library
, and select the.zip
file downloaded in the previous step - Setup Anaconda environment with
conda env create -f environment.yml
- Set the default
port
value insimstim/cthulhu.py
. If you don't know the port, make sure the Arduino is connected to your computer and runls -lha /dev/tty*
(it will probably look like/dev/tty.usbmodem
).
- In the Arduino IDE, open
File > Examples > Cthulhu-master > SerialInput
and run the program - Activate Anaconda environment with
conda activate simstim
- Run
python study.py
- Click on circle to toggle prediction. If you think the electrode is on, toggle it black. Otherwise, leave it gray.
- When you're ready to submit your prediction, hit Enter. The difference between your prediction and the true pattern will be revealed.
- Gray: predicted off, actually off
- Green: predicted on, actually on
- Blue: predicted off, actually on
- Red: predicted on, actually off
- Once you are done looking at the results, hit the right arrow key. The display will be reset, and the electrodes will be reset to a new pattern.
- When you want to end the experiment, click the
X
button at the top of the experiment window