How to detect power input to a USB port for EEG project.

Click For Summary

Discussion Overview

The discussion revolves around the challenges of detecting power input to a USB port for an EEG project, specifically focusing on interfacing with an EEG device and capturing data using C# or C++. Participants explore methods for data acquisition, signal processing, and potential software solutions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant seeks guidance on writing a program to detect EEG input frequencies, expressing a preference for C# over C++.
  • Another participant questions the method of capturing input and the protocols that will be used for data transmission.
  • A participant admits to a lack of experience with external device interfacing and outlines a rough plan involving EEG electrodes, an amplification system, and analog-to-digital conversion.
  • One suggestion is to utilize the microphone or line-in port for capturing EEG signals, noting the potential issue of a high-pass filter affecting lower frequencies.
  • A participant proposes modulating the EEG signal to a higher frequency to avoid filtering issues.
  • Another participant suggests using recording software to capture the audio signal and analyze it, acknowledging this method may be cumbersome but effective for initial setup.
  • Real-time analysis of the signal is mentioned, with a link provided for further guidance on capturing audio streams using the .NET framework.

Areas of Agreement / Disagreement

The discussion does not reach a consensus on the best method for capturing EEG data or the most effective way to interface with the hardware. Multiple approaches are proposed, and participants express varying levels of experience and comfort with the technology involved.

Contextual Notes

Participants express uncertainty regarding the specifics of interfacing with the EEG device and the limitations of using audio input methods due to filtering effects. There are also unresolved questions about the choice of protocols and the overall feasibility of the proposed methods.

Who May Find This Useful

This discussion may be useful for individuals interested in EEG technology, signal processing, or those looking to interface external devices with programming languages like C# or C++. It may also benefit beginners seeking practical advice on hardware and software integration in electronics projects.

Superposed_Cat
Messages
388
Reaction score
5
Hi, so I want to build an EEG and have it send data to my laptop (windows 8). But how would I go about writing a C#(or C++ but I'm more comfortable with C#) program to detect the input (the different frequencies). I was hoping to be able to treat it as a like a music input but I can't seem to find an sdk/api for that. Any help appreciated.
 
Technology news on Phys.org
How exactly do you plan on capturing the input? What protocols are you going to use to send the data?
 
That's the thing. I've never interfaced with an external device before. I've only ever coded things like basic two-dimensional games, process managers, bots, things to do my math homework for me etc nothing even remotely within the sense of the word online. So no protocol so to speak. as far as the EEG I was just(roughly) going to connect EEG electrodes (ordered online) to an amplification system (using op-amps) with circuitry to isolate the ambient noise (hopefully) and convert the analog to digital. I admit this was just some random idea that came to me at 11:30 on a sun (time zones). But as I say any advice welcome. Is there nothing that can just pick up that noise and convert it to plottable values?
 
It might be easiest to use the microphone or line-in port. The sound hardware will already have an ADC. The only catch is that there is probably going to be a high-pass filter to suppress the 50/60 Hz noise, and the most interesting EEG frequencies are below 60 Hz AFAIK. You could get around that by modulating some higher frequency (say 1500 Hz) with the EEG signal.
 
  • Like
Likes   Reactions: 1 person
I see why you have a thanks badge, so but how will it read from the audio jack?
 
Thank you so much.
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
19
Views
4K
Replies
8
Views
2K
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K