Category: REM Sleep

Sleep and Consciousness Research Graph

I now have an infrared LED shining down on me from a cupboard… and the recordings have been out of this world! Gone are the dark ages with just a few squiggly lines of questionable EEG signal quality.

The latest version of the Halovision plugin records an image-stream of any movements and Lucid Scribe automatically replays them when reviewing a session. This helped a lot with writing filters for the artefacts, like when the camera re-focuses.

The eye movements that triggered the audio track can be seen in the minute above. I was re-taming a hippo that I had saved as a baby in another life!

Here is the finalised release candidate of the Halograph EOG – a headband with a night-vision camera held in place by two bendable selfie-sticks:

It is more comfortable to sleep in than I had ever hoped. I can sleep on either side or on my back with complete freedom of movement with the 2 meter cable.

The age of light is nigh; this is light-bending!

2015-01-07 – EEG Stairs

Caught a nice flight of stairs from the OpenEEG channel in the minute below.

EEG Stairs

The signal quality tapered off here and there after that, which can only be seen in the raw EEG data… will add a signal quality channel to keep track of it.

Download entry as Lucid Scribe Data (LSD) with raw EEG data.

Effects of Supplements on Eye Movement at 0135
Thanks to neuralswarm from DreamViews I now have some Choline and Galantamine to test with. I took one of each just before sleep and recorded some nice patterns within the hour during which the audio tracks triggered. The dreams were very technical in nature and I was aware of heightened electrical activity in sections of two-dimensional grids in the frontal lobe.

Download entry as Lucid Scribe Data (LSD), Comma Separated Values (CSV) or watch the video.

After explaining the REM-detection algorithm to a friend over the weekend, I was inspired to shed some light on it by plotting each step in the loop on the graph so that it becomes easier to visualize.

The first printout that I recorded last night, 5 minutes past midnight, shows the strained beats picked up by the halograph FM. The fREM channel can be seen counting up each blink or strained beat that peaks over the top line and then triggers the next track in the playlist after the 8th blink.

13 Strained Heartbeats at 0005

And the second printout, recorded at 0017, shows the same thing happening with the OpenREM channel from the OpenEEG electrodes.

Eye Movement Count from EEG at 0017

This will make it a lot easier to perfect the algorithm by highlighting where it was thinking about triggering. The tracks at 0618 made it into the dream and helped me stave off a hoard of zombies, but didn’t trigger lucidity…

Download entry as Lucid Scribe Data (LSD) or Comma Separated Values (CSV) or watch the video.

2013-11-22 – Knock, Knock

The four printouts that follow were recorded during the same night with the halograph FM and EEG.

The first minute, 0143, shows a pattern that I have seen many times: a sequence of heartbeats where every third beat is three times as strong as a normal beat, 12 of which can be seen below. I have begun to suspect that this may be a phenomenon that only occurs in male subjects. Note that the EEG channels flatline.

12 Strained Heartbeats at 0143

Moving on, two and a half hours later at 0408 there are two such beats right before the onset of a marathon REM session that lasted half an hour.

2 Strained Heartbeats at 0408

And peaked with eye movements like this at 0412:

EOG from EEG at 0412

Only to end again with some strained beats at 0450. No idea what to make of that spike on channel 2, it seems to pop up quite regularly.

Strained Heartbeats at 0450

Download entry as Lucid Scribe Data (LSD) or Comma Separated Values (CSV).

2013-11-05 – EEG Waves

EEG Graph REM Sleep
I recorded with my halograph FM and EEG in parallel. The electrodes didn’t have the best contact, but they still picked up some interesting readings. I have been embedding the passive electrode in the headband by my temple – a lot more comfortable than the earlobe and it still picks up the eye movements.

The eight waves in the minute featured above seem to have repeated every hour, around the 50 minute mark, starting at 2 am. The relative quite in the accelerometer channel suggest that the waves aren’t artifacts. I might set an alarm for them one day.

Download entry as Lucid Scribe Data (LSD) or Comma Separated Values (CSV).

OpenEEG recording of a lucid dream
I had a rare natural lucid dream triggered by events inspired by the main theme of Bob DeNatale’s new film about lucid dreaming, The Art of Dreaming. I maintained lucidity for a good minute of human flight. The minute featured above shows a spike in the data that is otherwise flat, recorded at 0614, when I believe the dream occured. I was asleep from 0015 to 0640.

The algorithm didn’t trigger an audio track, as it was looking for multiple events like this in a row. I will update it to optionally trigger on only a single event, because of the vividness of the dream. The spike looks similar to when I open my eyes while awake.

Download entry as Lucid Scribe Data (LSD) or Comma Separated Values (CSV).

2013-05-31 – EEG Baseline

EEG Baseline
The minute above shows the “normal” EEG values when I am still. I can move my head around quite a lot without affecting the values. But as soon as I move or close my eyes, significant peaks can be seen like in the minute below that I recorded during my sleep at 0825.
EEG Eye Movements

I woke up at 0841 right out of a dream.

Download entry as Lucid Scribe Data (LSD) or Comma Separated Values (CSV).

2013-05-24 – Open Electroencephalography

OpenEEG Project - REM Sleep
A decade after I was able to afford my first printed circuit board from Olimex and started dabbling in the OpenEEG project, I finally managed to build a device with which I can comfortably record my brainwaves during sleep.

It took forever to fall asleep because I was just too excited. I woke up at 0534 from a dream and noted the time. The printout of the minute I selected is from 0515 and shows some very distinct patterns that are similar to when I move my eyes around while conscious. I will use that as a base to write the REM-detection algorithm that will trigger the audio tracks.

I embedded the four active electrodes inside a headband and taped the passive electrode to my earlobe with some duct tape. I still need to meditate on a more convenient way to attach the passive electrode.

It can be worn with the sensors on the forehead by the Frontal Lobe to trigger on the spikes in electrical activity caused by eye movements or at the back to monitor the brainwaves by the Occipital Lobe where visual perception is processed. Check it:
Halograph EEG

Anyone with a device compatible with the OpenEEG project can now upload to the Lucid Scribe Database project by right-clicking on a log in Lucid Scribe and selecting Export to -> LSDBase. The source code for the OpenEEG plugin is available on GitHub.

Download entry as Lucid Scribe Data (LSD) or Comma Separated Values (CSV).

First Dream with Modified MindWave
First dream captured with modified NeuroSky MindWave. Anyone familiar with the MindWave knows its design makes sleeping with it on nearly impossible. I took mine apart and remounted the boards, contacts and battery (crudely) in a elastic headband. Now it is possible to sleep with it on.

Download entry as Lucid Scribe Data (LSD) or Comma Separated Values (CSV).

Thought I’d do the process in bullet form. To be used in conjunction with the attached pics. Unfortunately I didn’t take step by step pics but it is really pretty simple. If I forgot anything feel free to ask.

  • Remove all the stickers from the mind wave including the large circular one that says NeuroSky MindWave. They just peel off.
  • Unscrew everything
  • The blue wires Going to the forehead sensor can be carefully pried out of the sides.
  • Gently remove the boards and refer to pics for wiring scheme. These wires/connections are fragile!
  • Buy a battery holder or cut away the original one and add wires to be able to mount it in a more comfortable position.
  • Adapt or replace the forehead sensor
  • Mount into headband as suits your needs.
  • Sleep, Dream, Be Amazed


Read more »