Hello everyone,
I would like to build a device that reads brain waves and detects REM state during sleep (REM = Rapid Eye Movement) REM is when we are dreaming.
There is a similar device called 'Oura Smart Ring' which works differently and creates reports of your night sleep and then sends it to your smart phone. I don't want to do any of that, I just want to be able to read brain waves from the forehead and analyze and detect the REM state, then send a signal that REM state detected meaning the person is in REM state.
I know it sounds like a crazy hard project, but I thought maybe there are already electronic components or devices that do majority of what I am trying to achieve and then I'd just incorporate those into my project.
I hope someone out here will put me in the right direction!
Cheers!
The "right" direction is, in my view, to learn about sleep and what is required to
build a device that reads brain waves and detects REM state during sleep.
My intention is to be realistic without unnecessarily squashing your enthusiasm. On the other hand, I have a lot of mixed feelings about this so-called home neuroscience and bio-hacking. I worry about safety first and simplicity-induced delusions second.
I also note that you have not said why you want to do what you want to do and you have not given any indication of your experience and skill level.
Read through the sections here
https://emedicine.medscape.com/article/1188764-overview#a2 to get an idea about how sleep is measured in a laboratory.
Measuring sleep stages accurately is complicated and WELL beyond the capability of a simple hobbyist or beginner electronic enthusiast.
It is NOT a simple matter of getting an EEG (and those instrumentation amplifiers and associated electronics are not simple at all). Even if it were, you must understand that the hardware end of EEG is only one piece. The software end is probably more difficult.
Here is a greatly simplified introduction to EEG waveforms during sleep stages
That being said, are actigraphy devices (let's simplify that class of device as being largely accelerometer based) used as sleep detectors any good? I think yes, they are surprisingly decent at measuring TOTAL sleep time when compared to laboratory polysomnography. But, that is for total sleep time, NOT REM sleep.
The alarm clock that was mentioned does NOT measure REM sleep at all [edit: I need to back off of that a bit, I don't know what the Zeo clock does for sure but it looks like it is only EEG and no EOG, but I don't know for sure]. You sleep in cycles and each cycle has stages (again I am being simplistic). The "best" time to wake up is at the end of a cycle, which is where the REM is going on. In fact, if left undisturbed, that is normally how you wake up....you have gone through enough cycles and at the "end" of the REM stage of the last cycle needed, you wake up naturally,
Such alarm clocks derive some measure of the cycles and decide when you are likely to be in REM based on movement activity (and lack of movement activity) and time. There are phone apps for such clocks
https://www.sleepcycle.com/ but you should be able to understand that there is no direct measurement of REM going on at all.
The movie prop in the Northern Exposure clip is supposed to illustrate the idea of measuring sleep stages (as with an EEG) and eye movements (as in an EOG) and, thus, directly detect when you are in REM. That example is based on the idea that lucid dreaming (where you have awareness and, ideally control, while you are dreaming) is beneficial. Lucid dreaming is real but I am not going to comment on whether it is beneficial at all.
So, where does that leave you? Hopefully pointed in the right direction. Is there any hope for a home-brew device that would do what you want? Probably it is a long shot...maybe a very long shot. Still, there are some intriguing devices out there that do not cause my BS meter to wail away - here is one and I HAVE NOT tested this at all and have not even read reviews and so on, it just looks interesting
https://backyardbrains.com/products/heartandbrainspikershieldbundle See the ability to measure eye movements here-
Again, I am not endorsing anything other than you doing a whole lot more reading.
Hope it helps.