Sie sind auf Seite 1von 4

DATA HOSTED WITH ♥ BY PASTEBIN.

COM - DOWNLOAD RAW - SEE ORIGINAL


/*
LUCID DREAM MASK

At specific time intervals the LEDs are


signaling that you are dreaming
*/

int led1 = 9; // initializing LEDs


int led2 = 10;
int brightness = 0;
//*********OPTIONS*******************************
int fadeAmount = 50; // how smooth LEDs flash, less=smoother
int blinkDelay = 50; // how fast LEDs flash (in ms)
int repeat = 20; // how many times LEDs flash in one session
int minInterval = 5 ; // minimum time in minutes to sleep
int maxInterval = 15 ; // maximum time in minutes to sleep
//********************************************************
int cycle = repeat;

// the setup routine runs once when you press reset:


void setup() {
// declare pin 9 to be an output:
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
}

// the loop routine runs over and over again forever:


void loop() {
while (cycle > 1){
// set the brightness of LEDs:
analogWrite(led1, brightness);
analogWrite(led2, brightness);

// change the brightness for next time through the loop:


brightness = brightness + fadeAmount;

// reverse the direction of the fading at the ends of the fade:


if (brightness == 0 || brightness >= 255) {
cycle --;
fadeAmount = -fadeAmount ;
}
// wait for the delay to see the dimming effect
delay(blinkDelay);
}
analogWrite(led1, 0); //turning off LEDs
analogWrite(led2, 0);
// waiting for the next interval
delay(random((minInterval * 60000), (maxInterval * 60000)));
// reseting cycles
cycle = repeat;
}

Quick, Flashing Lights:

int fadeAmount = 255;


int blinkDelay = 30;
int repeat = 20
Slowly Fading Lights:

int fadeAmount = 15;


int blinkDelay = 30;
int repeat = 20;

Smoothly Pulsating Lights:

int fadeAmount = 1;
int blinkDelay = 10;
int repeat = 10;
Tavern of Dreams
BLOG
10
ARCHIVE
6
RECOMMENDATIONS
SOCIAL STREAM
CONTACT
ABOUT
DEVICES
Home » Make a Lucid Dream Mask

Make a Lucid Dream Mask


Make a Lucid Dream Mask
You can call it a lucid dreaming device, mask or goggles, but we are going to make
it! You are going to make a lucid dream mask on your own.
[]Why spend hundred on a Remee when you can build your own lucid dream device for 5
times lower price and have fun? We are going to use Arduino (an open-source
computer hardware and software company) to achieve that. This is very quick and
dirty do it yourself project, it will take only few hours!

Shopping List:components needed for making lucid dreaming mask


fig. 1 – Needed components

Arduino UNO Starter Kit. You won’t need all the cables, resistors and the
breadboard, but the price is very similar to buying everything separately.
Male-to-Female Cables. It’s a shame these are not included in the starter kit…
9v battery with buckle snaps. If you are getting these seperetaly, make sure the
jack of buckle snaps fits Arduino.
Some sort of Headband. I found a winter headband at home.
Paperclips and Safety-Pins. You will need only few of each. Unless you have
lobster hands.
Cable Ties. You will need these to tighten the Arduino board to the headband
Let’s get to the business! The Hardware:
Wrap the ends of your resistors (220 to 1000 Ohm will be good) around the male ends
of your cables. Bend the other ends of resistors in half and connect them to pins 9
and 10 on the Arduino board, see fig. 2 (I told you it’s a quick and dirty way!)
In fig. 3 you can see the connections schematics. They are really simple. Take note
that the shorter end (cathode) of the led light should go into the GND pin on
Arduino.
Bend your LEDs at 90 degrees (that way they will directly face your eyes). Also,
secure them in place with sticky tape, see fig. 4
In fig. 5 I used cable tie to secure the Arduino board with battery to the
headband. Also, I straightened a paper clip and taped it to the each side along
with the cables (that will make the LEDs ‘ position easily adjustable). The LEDs
and the wires themselves are simply pinned to the headband with the safety pins.
secure-leds-and the arduino board
fig. 5 – secure
prepare-leds
fig. 4 – prepare LEDs

lucid_dream_mask_scheme
fig. 3 – Schematics

preparing resistors for a lucid dream mask


fig. 2 – prep. resistors

The Software:
I will not go into details on how to prepare your Arduino board and install all the
needed software. The official quick start guide is really sufficient. Just copy-
paste the following code into a new Arduino sketch.

You can modify the OPTIONS section to achieve various light patterns. I’ll give you
some:

option 1

option 2

option 3

Smoothly Pulsating Lights:

int fadeAmount = 1;
int blinkDelay = 10;
int repeat = 10;

Option repeat specifies how many times you want the lights to repeat the pattern
(i.e. increase it if you are deep sleeper. ) minInterval and minInterval specifies
time interval for the light pattern to repeat. I suggest you start with something
between 5 and 15 minutes and then tweak from there.

You got the lucid dreaming mask, now what?


It’s time to use it! However, the flashing lights might not be sufficient for you
to become lucid. You need to associate those flashing lights to the dream state.
For example, if you are using red and blue LED lights (which are similar to the
police lights), you can tell to yourself: “every time I see police lights I must be
dreaming, I must do a reality check.”

The second part to successful use of this device is tweaking. By experimenting with
various light patterns and different delay times you should find what works for you
best.

More possibilities
Arduino is cool. There are many different sensors for you to explore. Movement,
sound, pulse or temperature sensors can be added to your project to make it better.
Who knows, maybe you are going to be the next lucid dreaming mask inventor?

Share this:
Facebook45TwitterGooglePinterest11Email

RECENT POSTS
Savouring Lucidity: the Taste Stabilisation Technique
Make a Lucid Dream Mask
How Cannabis and Alcohol can affect your Lucid Dreams
Selling Lucid Dreams
Easy Lucid Dream Techniques You May Not Heard Of
DREAMER’S NEWS
First Name
Email Address
Sign Up
INFO
About
Contact
Privacy Policy
Disclaimer
© 2014-2017 Tavern of Dreams

Das könnte Ihnen auch gefallen