open-ephys and Arduino

138 views
Skip to first unread message

Chris

unread,
Oct 15, 2019, 5:32:46 PM10/15/19
to Open Ephys
Hello, 


I am attempting to use an Arduino alongside the open-ephys platform, but have been having some trouble setting up the system as I am relatively new to open-ephys. My objectives, setup, and question are outlined below. 


Overall Objective

My overall goal is to have the open-ephys interpret signals coming from a multi-electrode array that is hooked up to a computer that runs open-ephys. I am hoping to have these interpreted signals be sent to the Arduino board in almost a binary fashion, with 1 being a period with lots of firing and 2 being a period of very little activity. The Arduino will then respond in response to those signals as it is controlling a robotic platform. 


Current Setup

In doing so, I have my current open-ephys configuration read the output from the electrodes, put it through a bandpass filter, a phase detector, and then output this to the Arduino. This seems to send a signal to the Arduino as the Rx light flashes occasionally to indicate that it receives a signal. However, I have the Arduino programmed to do different things given the signal, and just want 1 or 2, or a similar single-character, output to be sent to the Arduino. 

A screenshot of my setup is enclosed. 


Question

How would I set up the signal chain such that a 1 is outputted and sent to an Arduino when the signals are over a certain threshold, and 2 is sent when the signals are under a certain threshold? If this is not possible, what data is currently being sent to the Arduino with my current setup (described above)? 


Thanks in advance for your help. It is greatly appreciated! 


Best, 

Chris




open-ephys setup.png

Jon Newman

unread,
Oct 15, 2019, 7:33:33 PM10/15/19
to Chris, Open Ephys
This is a case were using bonsai is a much better solution.


it has support for both oe acquisition board and arduino. Doing a feedback loop like this is natural there and will require a more effort with OE GUI which is specifically for doing in-vivo electrophysiology.

- Jon

--
You received this message because you are subscribed to the Google Groups "Open Ephys" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-ephys+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/open-ephys/9fb26b09-3109-470b-b918-6ac7f5de5d50%40googlegroups.com.


--
Jonathan Newman
Postdoctoral Fellow, MIT
Reply all
Reply to author
Forward
0 new messages