First off, this is a Collaboration between me Guyfrom7up and Gmoon
Gmoon did all of the programming, debugging, etc.
Guyfrom7up did all of the hardware, PCB, etc.
What is Lucid Dreaming? Lucid Dreaming is when you are sleeping and dreaming and that you are aware that your are asleep and that you are dreaming, yet you don't wake up. This can be great, giving you full control of your dreams, jumping off of buildings, going into space, whatever your mind can create.
The Lucid Dream Machine is a pair of glasses that you wear while you are sleeping. About 4 hours into your sleep the AVR microcontroller pulse LEDs that shine through your eyelids. This half wakes you up. The flashing lights helps you become aware (in your sleep) that your are sleeping and dreaming, in doing so you become more likely to be able to control your dreams.
Our Collaboration give you the Lucid Dream Machine.
Sorry, but to watch a video you will have to download it, for some reason the video won't work on both youtube and metacafe.
(gmoon: I tweaked the video and uploaded to my account... I need to do this for all my videos, also.)
Remove these ads by
Signing UpStep 1: Supplies
1x ATtiny13v AVR Microcontroller
2x LEDs (color of your choice, we used red because it works at low voltage, shines through eyelids well, and is cheap)
2x Resistors (value of your choice)
1x SPST or SPDT switch (it's only used as a power switch, so it doesn't matter)
1x Normally off momentary switch
1x Lithium 3volt Watch Battery (we used a CR2032)
1x Lithium Watch Battery Holder (we used a CR2032 holder)
Some way of mounting the device to your face, such as glasses).
Wire
Solder
Ways of making a PCB or just Prefboard (up to you, we used a custom PCB using toner transfer and Eagle)
An AVR programmer
















































Visit Our Store »
Go Pro Today »




because i want to simulate the mask
We all are humans, we can make the decisions of our own. Each individual determines if this instructable is dangerous or not on his own.
So let's stop the pointless argument and comment about the flaws of the project and the experiences of people who've actually used it!
You could cause yourself to be stuck in certain parts of sleep patterns and not fully get out like when you are driving.
It's a bad idea to take someone's credentials at face value on the internet. An anonymous person who claims to hold a master's degree in psychology could just be a cat lady who took Inception a little too seriously. I'm not attacking haunted_lady's credentials, I'm just giving a cautionary note.
Fact: the percentage of people who have photosensitive epilepsy, who will be triggered by lights blinking slowly, is extremely low. A television is more dangerous than this instructable, and televisions are available for mainstream sale. I'm sure you aren't organizing a door to door campaign to ban the use of decorative lights around the holidays.
These lights are not going to hypnotize you into sleep patterns that catch back up with you in the afternoon when you're driving home from work. At worst, they may contribute to incidents of sleepwalking in individuals who are predisposed to it. OTC sleeping pills are just as dangerous, though.
In short:
If you know you have epilepsy, then you should know better than to strap blinking lights to your face. Further, I don't believe that it is possible to get stuck in a particular stage of sleep.
TL;DR
Use common sense, I want proof of mind-stickage
Use common sense wow and how would common sense have anything to do with being educated about subjects. I love the internet everyone thinks they know everything or they can look it up on WIKI..lets just close down all all the schools and call everyone equal because they have common sense.
Mind stickage you sound stupid and frankly some people may not realize ( and now I am speaking to you for instance ) what this machine could do and so they could promote seizures and get up the next day and have a car accident and kill someone. So this isn't a trite subject so grow up.
1. I find it highly ironic that the 'Highly Trained Psychology Major' is calling other people stupid. As any educated 'Highly Trained Psychology Major' knows... calling others 'stupid' causes most people to stop listening, and stop caring. This is natural human behavior.
2. It's also ironic that the 'Highly Trained Psychology Major' doesn't use proper spelling, grammar, or syntax.
I never said I was highly trained. I admit I do not use my best writing skills on the internet, if I did most of you folks would not understand what you were reading. Hell I used my worst skills there and you did ot understand what you were reading you still messed it up did you not. SO there you go my point exactly!
Colloquial: conversational, informal referring to types of speech not on a formal level. Refers to a style used in the oral exchange of ideas, opinions, etc.: an easy conversational style, without formality, without strict attention to set forms, unceremonious: an informal manner of speaking; it describes the ordinary, everyday language of cultivated speakers.
I'm wondering if you're capable of leaving positive comments... You seem to enjoy hurting others.
I LOVE YOU. Aren't you cute.
I've an idea; if you really want to continue this, then how about we swap sides of the argument? That way I'll really see your side of things, even if I don't have a full degree or understanding.
In your retort, you called me stupid. I assure you i am not stupid, merely uninformed. There is a crucial semantic difference between those two. I am in fact attending a University for an electrical engineering degree, and as such the matters of psychosis is a bit out of my area.
Also in the aforementioned response, I quote "Ever hear of hypnosis?" Why yes, I have. BUT, like a large number of people on here we are not intimately familiar with all of the possible side effects of improper waking.
You are obviously passionate about this subject, so take a minute and properly educate us unversed masses with a mature and documented response. References would be nice, as they lend credibility as opposed to claims by a faceless internet person.
Doubt is easy, disproving doubt is difficult.
Secondly now you want references before you said use common sense.
And I am sorry it is hard to take a man seriously who is wearing a cream puff on his head seriously.
If you are going to school why don't you make use of the library there ( no not the internet) and look up something. Try to research a subject not familiar to you.
I do this all the time. I should not have to hold your hand on this.
And I have given you examples when you first said you thought the "science behind his invention" was interesting.
What science would that be funny how he showed no references? Yet you swallowed it hook line in sinker you need to use your common sense it seems.
Sorry if I am a little tired of the sheep mentality on the internet " wow shiny cool" and no one thinks down the road...
I would give you links to things to look at but I read real books.
Less "crazy."
And it's not a Cream Puff, it's a chicken. And it's glorious.
I love it to bits, by the way.
I apologize for calling you "Crazy."
Just a reminder, the comment option is intended for feedback on this instructable, not for attacking other members or smearing my website.
I send love.
I apologize for playing devil's advocate the whole time, and we both have made decent points.Your research point is a very valid one, for example, and if I or anyone else felt so inclined that would be the proper course of action.
Have a nice day.
You made the point that people that know whey have Epilepsy should avoid this or whatever. Well considering the awesome health insurance Americans have I am sure you will be glad to know I was in my late 20's before mine was discovered.
We are a Wiki nation everyone wants to contribute because they think they know something even when they do not. We all want to pretend we are somebody. No one wants to be the unknown guy in the corner in the chicken hat. In this arena this could get dangerous and could cause someone to do things dangerous... it isn't like we are building soap boxy derby cars.
Did you yourself not hear the story of the Japanese videos games pulled form the shelves because of the severe seizures kids were going into?
Do you know what a paradox even is without Wiki??? Controlling information my goodness wow...that has nothing to do with anything don;t confuse me with your Mom.
I cannot build cars and decide to start selling them to people because I think they are great. They have to be tested that has nothing to do with controlling information that has to do with common sense.
We were better off with paper alone people still print out everything..
The Sierra Club is a nice place to visit maybe have a look at their website.
Just another reminder, the comment option is intended for feedback on this instructable, not for attacking other members. A little kindness will get you farther, with more people who are willing to side with you, and expound on your example.
As always, I send love.
That's awesome!
I really feel like making it, but no one in my family / friend group would recognize the awesomeness... :'(
The power of poultry compels you...
The power of poultry compels you...
The power of poultry compels you...
Has anyone accomplished this?
This is you REALLY needing to pee in real life. However, your subconscious knows that peeing the bed is a bad thing, so it "blocks" you from peeing in your dreams. If you were ever actually able to take that pee in your dreams, you would wet the bed.
As for the running and jumping flying thing, I sincerely believe that this is somehow related to our genetics. Many people describe the very same dream (I have it often, and it's one of my favorites). In mine, if I can keep my concentration, I can use a "flapping" motion to get higher, then when high enough, can use the speed from "diving" to maneuver as if I were a bird. If I lose my concentration, though, I crash. I wonder if deep in our DNA we're still related to birds closely enough that this feeling is precisely what flying really feels like?
:-)
www.thedreamed.com
and our Facebook page:
http://www.facebook.com/pages/The-Dreamed/115872545103362
However, falling down is a recurrent dream I faced during adolescence, I remember they said it meant something... Anyway, I'm still alive but again it wasn't lucid.
I would believe that knowing that you are dreaming only makes it less possible for you to die, after all you know that what you are looking at is not real...
And think of it this way, you get hit by a bullet, you don't die until you have lost a lot of blood, an organ stops functioning etc... So I doubt that could kill you, and I don't think you can keep dreaming after being hit by a bullet or knives w/e
Radio shack has become such a waste.
Anyway, since the local one has BOEs, I'd assume they came with the chip...
I don't think anyone who builds electronics stuff would disagree that Radio Shack is not what it used to be as far as components. Some don't even carry PC boards or IC sockets anymore. And the employees I've encountered are the stupidest hacks off the street they could find. I was building a Joule Thief a couple years ago and I asked one for a ferrite toroid and she looked at me like I had just asked for a jinglehopper goobersnatch. I thought, "Okay, she's supposed to be an 'expert,' but that's kind of an obscure item, I guess," But then I asked if they had inductors and she didn't know what that was either! But I bet she would have known if I'd have asked what kind of RC cars they had, or what cell phone plans I could sign up for there.
So yeah, Radio Shack = worthless, unless you absolutely have to have something right now, and you don't mind paying 10 times a reasonable price for it and don't expect anyone to help you find it.
Its a lightweight headband. Would be an interesting integration with this concept.... thoughts?
Ben
I put this in notepad:
Dim userInput
userInput = ("You are in a dream. You are in a dream. You are in a dream.")
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
Sapi.speak userInput
Saved it as "LucidDreaming.vbs" and then put it in my scheduled tasks. :)
Great job. Is it possible to get code in C with comments for a beginner programmer, posted here or by email? To improve, modify, etc...
Thanks.
/********************************************* lucid13.c V 0.2b Lucid dreaming device Software by gmoon (Doug Garmon) Hardware by guyfrom7up (Brian _)* Chip type : ATtiny13* Clock frequency : Internal clock 1.2 Mhz*********************************************/#include <avr/io.h>#include <inttypes.h>#include <avr/interrupt.h>#include <avr/sleep.h>#define F_CPU 1200000UL // 1.2 MHz default clock// ramping fx increments#define PWM_VAL 4#define TRANS_VAL 6// the overall pulse width and delay between pulses#define MACRO_WIDTH 1500#define MACRO_GAP 1500// mode#define MODE_WAITING 0#define MODE_DREAM 1#define WAIT_LENGTH 1#define BUTTON PB4 // button#define LED _BV(PB1) | _BV(PB2) // LED outputvolatile uint16_t macropulse;volatile uint16_t waitstate;// IRQ vectorISR (TIM0_OVF_vect){ static uint8_t modeflag; static uint8_t pwm; static uint16_t transition; switch (modeflag) { case MODE_DREAM: if(macropulse < MACRO_WIDTH) { pwm += PWM_VAL; if (pwm > transition) PORTB &= ~(LED); // turn off LEDs else PORTB |= LED; // turn on if (!pwm) transition += TRANS_VAL; } // delay between pulses else { pwm = transition = 0; PORTB &= ~(LED); // turn off if (macropulse > (MACRO_GAP + MACRO_WIDTH)) macropulse = 0; } macropulse++; break; case MODE_WAITING: macropulse++; if (!macropulse) waitstate++; if (waitstate >= WAIT_LENGTH) { modeflag = MODE_DREAM; TCCR0B = _BV(CS00); // new prescaler } break; }}// init the IRQvoid irqinit (void){ // timer scaler value TCCR0B |= (_BV(CS02) | _BV(CS00)); // Enable timer overflow irq TIMSK0 = _BV (TOIE0); sei (); // IRQ on}int main(void){ uint8_t userflag; /* INITIALIZE */ DDRB &= ~_BV(DDB4); // clear bit, input fire-button PORTB |= _BV(BUTTON); // set bit, enable pull-up resistor DDRB |= _BV(DDB1) | _BV(DDB2); // set output //PORTB &= ~(LED); // set bits off // Check if button is pressed when powering up... if(!(PINB & _BV(BUTTON))) userflag = 1; // init the IRQ irqinit(); // turn on LED, // delay before checking user input again while(macropulse < 14) { PORTB |= (LED); } PORTB &= ~(LED); // button still pressed? Enter immediate mode... if(!(PINB & _BV(BUTTON)) && userflag) waitstate = WAIT_LENGTH; // place the CPU into idle mode set_sleep_mode (SLEEP_MODE_IDLE); sleep_mode (); // infinite loop--the IRQ does all the work... while(1) { } return(0);}
unforrtunately instructables took out the returns, i'll see if i can fix it
zzz....
i feel ya pain.....
lol
The lucid dreams actually helped me get over my fear as i was able to change what happened (and evidently, i didnt wake up in a cold sweat)
They stopped after a year or so, and now i sleep like anyone else =P
Sounds a bit odd, but thats my input =P
http://cgi.ebay.com/STK-compatible-ATMEL-AVR-programmer-AVR-Tiny-Mega_W0QQitemZ310095816696QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item310095816696&_trksid=p3286.c0.m14&_trkparms=72%3A1205|66%3A2|65%3A12|39%3A1|240%3A1318|301%3A0|293%3A1|294%3A50
or this
http://cgi.ebay.com/Serial-Atmel-ISP-programmer-works-with-AVR-Studio-4_W0QQitemZ310095816721QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item310095816721&_trksid=p3286.c0.m14&_trkparms=72%3A1205|66%3A2|65%3A12|39%3A1|240%3A1318|301%3A0|293%3A1|294%3A50
http://www.oxisso.com/Microcontrollers/ISPheader.gif
You just connect all the stuff with the same name to the attiny13
attiny13 pinout:
http://herman.kopinga.nl/wiki/_media/pinout_attiny13.png?w=300&h=&cache=cache
just connect all of the gnds (ground) together, all of the Vcc's (5 volts), and miso to miso, mosi to mosi, sck to sck, and reset to reset. You don't have to connect LED pin to anything.
I'v been practesing Lucid Dreaming for a long time now, and I had success in lucing my dream up, and I'v been looking for more wayes to luce tham up.then I found this web and got intrested in that.
'Gosha18s@hotmail.com'
on page 19.
what will happen is the timer will go off and when it does it will set off this circuit, which can be easily wired with 2 led's instead of one.
Just as you would if your clock radio came on at night. It's probably about as dangerous as drinking coffee before bedtime.
I have no doubt that if one were forced to endure blinking lights all night for weeks on end, you would be sleep-deprived, and probably go bonkers.
Regarding the frequency, 1.5 hz is safely within the "Delta" brain wave range: (0.1 - 3 Hz), which, if you believe can be influenced by external stimuli, could trigger deep sleep, lucid dreaming, increased immune functions, and hypnosis.
Mind you, there's as much hokum as science in all the research I read. I've had several personal experiences, but it's up to guyfrom7up to let us know if changes are needed (one of the downsides to a long-distance collaboration.)
Based on independent reviews of the consumer devices available, I expect that something like this would work as well as any device costing less than 10 or 15K. That is to say: it might work well, or it might not work at all...or it might only work for some people.
like one of these bad boys...
http://www.sourcingmap.com/led-modes-red-flash-bicycle-safety-light-p-17350.html
It has a mode where it just blinks.
Wouldn't that work? or would that defeat the whole purpose of DIY.
Article -Hack Your Brain - Make Video Podcast
PDF- Brain Machine
AWESOME!!
How do I set it so that I get tons of dreams involving elves?
Ghetto Programming: Getting started with AVR microprocessors on the cheap
Which reminds me; I should add a Makefile to the project. I believe guyfrom7up uses AVR Studio (for PC), but a simple Makefile for Linux users would help...
that's not really fair, is it?
Although they do examine the contest data pretty closely, to be sure one person isn't voting from multiple accounts. I think they'd catch that, if it's even possible....
Congrats to both of you for this collaborative experimentation !
I hope it will work ! =o)
He deserves the lion's share of the credit...
Personally, I'd like to see more collaborations. It was fun.
http://www.noah.org/wiki/Dreamachine dream machine
Yours seems a little different but perhaps could be modded to work in this way?