Brain icon indicating copy to clipboard operation
Brain copied to clipboard

Question about the Frequency

Open Revix1998 opened this issue 3 years ago • 4 comments

hello, im trying to do a project where i can read the Delta, alpha, beta ... ect.

my probelm is that i dont know how to pull the frequency as an output to the LEDs .

can anyone help me with that ?

thank you

Revix1998 avatar Mar 24 '22 09:03 Revix1998

The TGAM module uses its own hidden algorithm to decide which frequency range currently dominated the signal. So in this simple mode you only get values for the ranges. It can be switched into a mode where it additionally outputs filtered but otherwise raw data. You could use this stream to do your own calculations. But there will always be several different frequencies contained in a brain wave pattern.

steeph-k avatar Mar 24 '22 16:03 steeph-k

Sorry, I think I completely misread your question. If you want to switch LEDs on/off, this is not directly related to the TGAM module or this project. Do you want an LED to reflect the raw data? Or some other frequency? Maybe you could use PWM.

steeph-k avatar Mar 24 '22 16:03 steeph-k

yes using PWM , but my main problem is that how can i separate each value through a single LED,

for example if i wanted to show the code (unsigned long readMidGamma();) on a single LED is that possible ?

Revix1998 avatar Mar 25 '22 09:03 Revix1998

Maybe consider using a Neopixel and make it more red for a lower value and more green for a higher value, or some other colours...?

sixtyfive avatar Mar 25 '22 11:03 sixtyfive

Thanks — closing this since it's not actually an issue related to the project.

kitschpatrol avatar Nov 19 '23 22:11 kitschpatrol