GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jzerfowski/Triggerduino: Trigger generator for easy synchronization of EEG/MEG/EMG signals

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
pyclient
pyclient
 
 
server/src
server/src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
readme.md
readme.md
 
 

Repository files navigation

Triggerduino

To synchronize data streams from multiple devices (in my case MEG, EMG and trigger/marker signals), one needs a way to know the temporal shift between them. This is the repository for a handy tool that can generates spikes on an analog channel (0-5V range in steps from 0-4095). These can also be used as condition markers (e.g., in mne). It is plugged in via USB and there is a simple python interface to spike synchronization triggers or experiment markers.

Hardware

We used an Arduino Nano and 2 MCP4725 12-bit DACs

Software

Sources can be found in the corresponding folders. The Arduino C++-Code requires the library MCP4725.

The interface to use triggers is in python and needs only pyserial

How it works

To send the information in the most efficient way possible, we only send necessary information to the Arduino. Therefore, we reconstruct the struct Trigger in DAC.h exactly with our TriggerStruct in triggerduino.py, which inherits from ctypes.Structure. We send this as a bytestream on the serial port which the Arduino interprets as a triggers. Potentially, more information can be sent to the Arduino, but then it is important to keep the order and type of values consistent between python and C.

About

Trigger generator for easy synchronization of EEG/MEG/EMG signals

Resources

Readme
GPL-3.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.