{"id":23297636,"url":"https://github.com/marcobarilari/triggerino","last_synced_at":"2026-04-26T23:31:26.295Z","repository":{"id":89294584,"uuid":"296834410","full_name":"marcobarilari/triggerino","owner":"marcobarilari","description":"WIP repo for an Arduino based mock triggers input to use for developing fMRI stimulation code","archived":false,"fork":false,"pushed_at":"2021-05-08T13:25:12.000Z","size":496,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T19:54:14.678Z","etag":null,"topics":["arduino","arduino-leonardo","fmri","psychtoolbox","trigger"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcobarilari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-19T09:39:01.000Z","updated_at":"2020-10-14T13:07:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"469d4099-e34c-4979-a75a-942103f0ccfe","html_url":"https://github.com/marcobarilari/triggerino","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/marcobarilari/triggerino","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarilari%2Ftriggerino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarilari%2Ftriggerino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarilari%2Ftriggerino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarilari%2Ftriggerino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcobarilari","download_url":"https://codeload.github.com/marcobarilari/triggerino/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarilari%2Ftriggerino/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32317162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","arduino-leonardo","fmri","psychtoolbox","trigger"],"created_at":"2024-12-20T07:18:39.767Z","updated_at":"2026-04-26T23:31:26.273Z","avatar_url":"https://github.com/marcobarilari.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# triggerino\n\nArduino based mock trigger device to use for developing fMRI stimulation code (in case you need to sync your stimulation with the MRI triggers).\n\n---\n\nBasic use: while the button is pressed, it will flash the led and send a letter (e.g., a 't') every x msec (e.g., 1800 msec) to the connected computer.\n\n## Code\n\nIn `triggerino.ino` set the trigger key and the TR according to your need (see example below)\n\n``` c++\n// set trigger key\nchar triggerKey = 't';\n\n// set TR in msec\nint TR = 1800;\n```\n\n## Circuit\n\n![](triggerino_schema.jpg)\n\nElements you need:\n\n- Arduino Leonardo (compared to the classic Arduino UNO, computers and Matlab see it as an external keyboard)\n\n- micro USB cable\n\n- breadboard\n\n- 6 jumpers\n\n- 1 basic led\n\n- 1 basic button\n\n- 2 resistors (220 Ω and 10 kΩ)\n\n## How to use it\n\n`sandbox_getTrigger.m` is a PsychtoolbBox based script that waits for the Arduino input (a keyboard stroke) to do something.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcobarilari%2Ftriggerino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcobarilari%2Ftriggerino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcobarilari%2Ftriggerino/lists"}