Building A Mask To Induce Lucid Dreaming

While dreams are generally thought of as the unconscious wanderings of the mind, that’s not the full story. Lucid dreams are ones in which the individual is conscious or semi-conscious in the dream state, and may be able to control the dream environment. Over the years, various devices have been used to generate these dream states more reliably. [Ben] decided to have a go at building his own, inspired by designs from the 1990s.

To induce lucid dreaming, the aim is to first detect that the mask wearer is in REM sleep. This is commonly done with an infrared eye tracker, which detects the rapid twitching of the eye. [Ben] used the onboard IR proximity sensor on the Adafruit Circuit Playground Express to pull this off. The accelerometer hardware was then used to detect if the wearer was still, indicating they are indeed fully asleep. Once the user is in the correct state, the mask then flashes LEDs which are intended to be visible to the wearer while dreaming. This allows them to realise they are dreaming, and thus enter a conscious, lucid state.

[Ben] doesn’t report the success rate at using the mask, but we’d love to know more about how well the mask works. We’ve seen others do similar work before, and even a recent Hackaday Prize entry. Video after the break.

Continue reading “Building A Mask To Induce Lucid Dreaming”

Hackaday Prize Entry: Lucid Dreaming Research

Lucid dreaming is one of the rare psychological phenomenon terrible sci-fi frequently gets right. Yes, lucid dreaming does exist, and one of the best ways to turn a normal dream into a lucid dream is to fixate on a particular object, sound, or smell. For their Hackaday Prize entry, [Jae] is building a device to turn the electronic enthusiast community on to lucid dreaming. It’s a research platform that allows anyone to study their own dreams and access a world where you can do anything.

The core of this project is an 8-channel EEG used to measure the electrical activity in the brain during sleep. These EEG electrodes are fed into a 24-bit ADC which is sampled 250 times per second by an ARM Cortex M4F microcontroller. The captured data is recorded or sent to a PC or smartphone over a Bluetooth connection where a familiar sound can be played (think of the briefcase in Inception), or some other signal that will tell the dreamer they’re dreaming.

We’ve seen a few similar builds in the past, most famously a NeuroSky MindWave headset turned into a comfortable single-channel EEG-type device. The NeuroSky hardware is limited, though, and a setup with proper amplifiers and ADCs will be significantly more helpful in debugging the meatspace between [Jae]’s ears.

REM Detection Lets You Boss Around Your Dreams

[Michael] has been working on projects involving lucid dreaming for a long time. The recurring problem with most projects of this nature, though, is that they often rely on some sort of headgear or other wearable which can be cumbersome to actually sleep with. He seems to have made some headway on that problem by replacing some of the offending equipment with a small camera that can detect eye movements just as well as other methods.

The idea behind projects like this is that a piece of hardware detects when the user is in REM sleep, and activates some cue which alerts the sleeper to the fact that they’re dreaming (without waking them up). Then, the sleeper can take control of the dream. The new device uses a small camera that dangles in front of an eye, which is close enough to monitor the eye’s movement. It measures the amount of change between each frame, logs the movements throughout the night and plays audio tracks or triggers other hardware when eye movements are detected.

[Michael]’s goal is to eventually communicate from inside of a dream, and has gone a long way to achieving that goal. Now that this device is more comfortable and more reliable, the dream is closer to reality. [Michael] is looking for volunteers to provide sleep logs and run tests, so if you’re interested then check out the project!

Lucid Dreaming With Plastic Milk Cartons

milk-carton-mask-layoutBeing aware that oneself is in a dream can be a difficult moment to accomplish. But as [Rob] showed on his blog, monitoring the lucid experience once it happens doesn’t have to be costly. Instead, household items can be fashioned together to make a mask that senses REM sleep cycles. We were tipped off to the project by [Michael Paul Coder] who developed an algorithm to communicate inside a dream.

[Rob] cut up plastic milk cartons for this ‘DreamJacker’ project and attached a webcam to produce a simple way to detect eye movements. A standard game adapter with a triangular array of white LED’s was added to the plastic cover in order to provide the necessary illumination needed for the camera. After testing it out, he switched to red light to balance sensitivity issues. Another iteration later and [Rob] attempted to create hypnagogic imagery during the drowsiness state that occurs right before falling asleep. He did this by fitting a single tri-color LED that he scrapped from Christmas lights that were dumped on his street.

The mask is tied to the back of the head with shoelaces, and acts like an eye patch during Wake Back to Bed sessions (WBTB). The end result produces an eerie looking graph of eye twitching taken throughout the night. We would be interested confirming that this setup helps the user experience a lucid dream, so it might be time to make our own.

Since writing his post, [Rob] has since adapted a mouse for use inside the mask cup to integrate with the LucidScribe REM FIELD-mouse plugin developed by [Michael Paul Coder].

Project Lucidity Wants YOU!


Do you lucid dream? Do you want to? [Dinesh Seemakurty] has just started something called Project Lucidity, which is the first(?) open source, developer friendly, fully featured, lucid dreaming sleep mask. And he’s looking for hackers to help!

We’ve covered lots of projects on lucid dreaming before, like making your own homemade lucid dreaming goggles, or modifying a commercial EEG headset for lucid dreaming. We also can’t forget the LucidScribe project either, the one that seeks to communicate from within dream state!

Anyway, what’s different about Project Lucidity? Well, first of all, it’s open source. Second of all, it’s based on an ATMEGA328P, meaning it’s fully compatible with the Arduino IDE. It looks like a great start, and [Dinesh] is planning on taking everything open source very soon — but before then he wants you to try it out!

If this sounds like a project you want to get behind and help develop, check out his site and sign up. Or ask away in the comments section!

Electrooculograph (EOG) From A Video Stream

[Michael] from Lucidcode is at it again, this time with an Android app called Halovision.

In case you don’t remember, this is the guy who has been working on the Lucid Scribe Project, with the end goal of communicating from inside your dreams! Here’s the basic gist of it. If we can use a sensor to detect REM (rapid eye movement) or body movement during sleep, we can tell if we’re dreaming — then it’s just a matter of using an audible cue to inform the sleeper of the dream, so they can take control and become lucid.

The first way they did this was by using commercial EEG headsets to detect REM. We covered a hack on modifying one so it would be more comfortable to wear at night, but what is really exciting is [Michael’s] new app, Halovision — No EEG required

It’s an Android app that uses the camera to detect movement during sleep, and it is only the first plugin planned for Lucid Scribe. The algorithm is still in its experimental stages, but it is at least somewhat functional at this time. They note it’ll only work for day-time naps or with a bright night light, but this could be easily solved with an IR webcam and a few IR LEDs.

It will be interesting to see where this all goes, has anyone else been following or participating in Lucid Scribe?

Off The Shelf EEG Hardware Records Your Dreams


Over the past few years, we’ve seen [Michael]’s adventures in electronics and lucid dreaming. With commercial EEG hardware, [Michael] is able to communicate from inside his dreams with Morse code and record his rhythmic blinking for data analysis when he wakes up. His project is called Lucid Scribe, and now it’s open to just about everyone – including brain experimenters with OpenEEG hardware.

OpenEEG is a project that aims to reduce the cost of EEG hardware by providing the hardware, electrodes, software, and documentation to build your own EEG headset. It’s a great tool in the field of biofeedback, but [Michael] is going one step further; he’s busy writing an algorithm that will detect REM sleep and play an audio track while he’s in a dream state to trigger a lucid dream.

[Michael] points out that anyone with OpenEEG hardware including the DIY Olmex board can contribute to his Lucid Scribe database. You might also get some lucid dreaming time in, but then you’ll have to wake to the crushing reality of real life.