Billh
Billh
About
- Username
- Billh
- Joined
- Visits
- 3,166
- Last Active
- Roles
- Member
Comments
-
Should you have both an x vector and a y vector in your plot() statement?
-
so: n1 = ADS.channelData[0] sleep(100 milliseconds) n2 = ADS.channelData[0] if n2 - n1 > x // do something ....
-
So ADS.channelData[0] is always 0?
-
EEG data is times series data. That usually means that either ADS.channelData[0] is itself a vector of measurements over time, or that ADS.channelData[0] is different after time has passed because it is updated over time. Do you know what ADS.ch…
-
If he is trying to do all the interface and DSP within the Arduino I have not done this doubt I could be of much help. It looks as if it has been tried before though: see https://github.com/starcat-io/hackeeg-driver-arduino
-
William ,that link is interesting. Page 30 of the PDF manual shows an FFT screen where the user range can be set! This means that if the user sets a range of between 8 Hz and 12 Hz the PDK will display in its FFT app what OP wants. @wjcroft s…
-
@ugrcnknbr said: Hi Bill, Yes I can receive the signal. I can observe the signal on the serial plotter screen of Arduino. Okay, now can you grab a small segment, say 2 seconds of the signal and save it to a C array, then find the minim…
-
To help I would need to know where you are with your setup. The ADS1299EEGFE-PDK comes with Windows software that can show an oscilloscope and lets you do FFT. Do you have that installed and getting signals from your hardware?
-
ugrcnknbr, Are you using a computer to program the Arduino? If so, I would compile and test a C program using a C DSP library on the computer that does what you want, then port the program to the Arduino using an Arduino C DSP library, hopefully…
-
See for example https://github.com/mozanunal/SimpleDSP You need to check, first, that the data as received by your Arduino is in a format that something such as the DSP library above can use.
-
It seems in the data above that the bad epochs have an extra peak between start and the point where all epochs have a peak. This could be used as a feature in a random forest machine learning classifier. Look for values above a threshold to find the…
-
I don't have pictures atm, but try setting filters to remove everything above about 14 Hz and see if that looks better. If that looks better and is not just flat, slowly increase the filter on the high end and see at what point your noise returns. …
-
Yes, if you can do digital signal processing on the Arduino fast enough, that should work. Look for a C or C++ signal processing library that runs on Arduino, if there is one.
-
Generally, you take the data from the OpenBCI as above and use it and the sample rate to 1) filter the data, say excluding frequencies below 1 and above 40; 2) do a FFT of the data to get amplitudes at various frequencies; 3) "bin" the frquencies t…
-
Do you have OpenBCI's GUI running on a computer connected to the board? If so, why not do all the processing on the computer that runs the OpenBCI GUI and just send the result as an on - off signal to the Arduino?
-
Another thought: You could require that the user create a "project" (as with some programming GUI systems) and have that be your main directory, as a per-project tree of files. The common log for all projects would then be elsewhere, probably in th…
-
This might be an improvement. If we look at the EEG format in the paper https://www.nature.com/articles/s41597-019-0104-8 (figure 1) I think that each run of the GUI would need to have its files placed in one of the sub_01 type subdirectories,…
-
One way to think of this is as a difference of two differences: Active electrode voltage = active wire voltage - ground wire voltage (removes some noise and DC offset) Reference electrode voltage = reference wire voltage - ground wire voltage Act…
-
It should run on the Intel CPU based ones. If using the bluetooth dongle make sure the unit has a USB port that fits that.
-
if you don't know what resistor values work, and you have a breadboard circuit setup for the trigger wires, consider putting a 'pot' type variable volume control type resistor on one or both sides of the voltage divider, crank down the voltage til t…
-
The bias electrode gets it name from its historical use, with older analog equipment that was powered from AC current, as a source of a tiny bit of cancelling AC voltage to offset mains noise. Filters were not as good back then. A battery powered E…
-
I would look at scipy.signal.butter(). I would adjust the settings based on what you need to see, but to me a highpass of 0.5 and lowpass of 40 Hz looks nice.
-
if you really wanted a mac gcc build, you could try to build a 64-bit gcc for PIC32 from the source code (I have not tried this): https://github.com/ccompiler4pic32/pic32-gcc
-
The ADC hardware is, per channel and sampling rate times per second, measuring a voltage difference. The hardware expresses this voltage difference as a 24-bit signed integer. See https://www.ti.com/product/ADS1299#:~:text=ADS1299 ACTIVE&text=…
-
Depends on how you want the graph to look and how fast you want real time updates. I suggest enough points to get a smooth line when displayed, so at least 100, Also, there will be a delay of chunk size time for each graph update, so too large a chu…
-
Have you read this? https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4434600/ or this? https://jamanetwork.com/journals/jamaneurology/fullarticle/2768699 One option that seems to work is to record the EEG data continuously for the EEG reader to look …
-
This looks as if the limit setting on the Y axis on the graphing software is set too low as the problem, as more likely than the hardware has a problem.
-
The applications you reference are not short latency evoked potentials, so they don't require millisecond synchrony-- in fact 0.1 second synchrony would be enough. This means that with a modern CPU and good video processing routines you could do al…
-
If the leads (wires and electrodes) are ok, check this document: https://www.aset.org/files/public/Skin_Safety_During_EEG_Procedures.pdf
-
If you get a signal with wiggling a wire, check each wire for a signal from wiggling one at a time. If all wires respond to wiggling them, you may either have a skin impedance problem (the electrodes are not making good contact) or the filtering a…