REM Detecting LED Goggle Device Nova Dreamer Wanna Be Thing

Here’s an archived version of that page:
https://web.archive.org/web/20030609225304/https://brindefalk.solarbotics.net/kvasar/kvasar.html

The kvasar page doesn’t cost nearly as much to build as purchasing a novadreamer does! I’d say the one on that Kvasar site probably cost less than $20 for everything.

I am an electrical engineer and I built my own set of goggles using a microcontroller (like the kvasar site) so it is completely self-contained like the novadreamer. I created mine from scratch without any external help (there are some errors on the schematics on the kvasar site). I’ve had probably around 20 lucid dreams with it in the past couple months, it works great! I’ve been meaning to put some plans/pictures up on the web but haven’t gotten around to it yet. The best part is the whole thing only costs less than $10 to make. What are you using that brings the price up to $50? I was actually thinking of making several of mine and selling them on ebay for around $50 (as it is very labor intensive to build/buy all the parts).

My current design does not have an IR emitter/detector pair. I currently am just using a time delay and was going to add on the IR (for eye movement detection) later but have found no need for it! The time delay works great for me so I figured why bother! It also has a reality check button where a lot of the LD’s stem from.

I’d be willing to help anywhere in the hardware/software design of this project. If anyone wants I can take some pics of my current design and explain how it works. My email address is below if anyone would like to contact me directly.

-Dave
dwax413@yahoo.com

I figured no one would believe me when I said I built my goggles for around 10 bucks so here are the parts I am using:

PIC Microcontroller: $3.88

Perf-board: ~$1.00 (from radioshack)

Goggles: $1.00 (I found a thing called a GEL mask at ocean state job lot (a cheap store in new england). I think the purpose of it was you put it in the freezer then you put the mask on for puffy eyes or something. I cut a hole in the goggles and took the gel out and presto, a mask for a buck).

battery holder: ~$1.00 (I think it was less than 50 cents actually!)

2 switches (on/off and a reality check): ~$2.00 (I forget the exact amount but it was only a couple bucks!)

2 LED’s / several resistors / wire / thread (to mount perf board onto goggles): the price on these things was negligible. I had this stuff just lying around but you can buy it all at radioshack for a couple bucks each.


Total: Less than $10
As you can see all the parts range from a couple pennies to a couple bucks at radioshack except for the PIC. All parts can be purchased at radioshack except for the goggles and PIC.

Other parts needed:

Solder/Iron: They had a soldering iron at that same job lot store for $2.99, I got my solder from radioshack (they have the irons too but they are more expensive)

PIC Programmer: I got mine from www.sparkfun.com for $12.99. They have a deal where you buy the programmer/PIC/cable for $20.

I wroted in “Idea” topic:

“Im finishing my own goggles tomorrow. They will flash leds couple times and make a beeb through buzzer. This will occure after every 90mins. Electronics are placed inside of sleeping mask or whatever it is.”

And as i said i will be emproving these and add IR-led(s) and phototransistor(s) to detect REM stage.

The heart of my goggles is Atmel’s At90s2313 microcontroller. Without REM stage detecting these goggles are pretty easy to build. I might put some schematics for my goggles some day. Will see :smile:

Im going to post my results with these goggles in that “Idea” topic.

Ps. And also here, excuse my lousy english :eh:

Hello Jamiks,

Good luck with your project! I have the same idea in mind (adding the IR in the future). I currently just have the LED’s flashing with a time delay and it seems to work good enough. I bet I could get much better results with REM detection though. I would highly recommend a reality check button. It’s real simple to add in (1 pull-up resistor and 1 switch), and about 5 lines of code. The way I have mine hooked up is when the LED’s aren’t flashing and you press the RC button they flash. When the LED’s ARE flashing and you press the button they stop flashing. Every time you wake up with the goggles press the RC button. I have had a lot of instances where the lights are flashing and I have a FA, then I press the RC button and realize i’m dreaming when it doesn’t stop the flashing! Hope this helps and good luck!

-Dave

dwax,

Actually at the moment im programming that RC program in my lightcontroller-unit.

That shows a counter in 2x16 lcd and every 90mins it makes a beep and writes on the screen: “Are you dreaming?” Then it recommends random RC and asks you to do it. After that you choose “Yes” or “No” by 4x4 keyboard matrix :smile:.

It’s almost ready now and i should go to bed pretty soon :eek: . Oh and that RC button, my circuit got 2 of buttons. That’s because with first button i can choose that sleeping thing or different preset flashing frequensies from relaxing to deep hypnosis. The second button is for RC:s :smile:. And btw in At90s2313 you don’t need to place those pullup resistors :smile:.

Drax, I said $50 to be safe, and to include needed tools (soldering iron etc.)

HOWEVER, I did not know microcontroler programmers were so cheap!
What langueage do you use to program it? any beginner sites you could point me to? I’de love to try something with sensors…

thanks!

well,
you dont actually need to buy any programmer. It’s very easy to build your own “programmer” :smile:. I havent work with pic’s but at least working with atmels microcontroller’s is peace of cake.

If you are trying to build one and using Atmels products, privmsg for me and i try to help you as much as i can :smile:

Holy crap!!! You guys actually succeded! I’ll be one of the first people to buy one, garunteed. Heck I’ll buy one now if possible(actually give me a week.)

‘Test’ doesn’t mean that I wouldn’t pay for them :smile:
Let me know if you decide to sell them!!

Dear dwax,

as I am currently building the mask from brindefalks homepage (kvasar) I would be interested wbout what´s wrong with his plans. Ii would be kidn of you to give me some hints as I don´t want to run into trouble later on. I have almost all parts available now and will prepare the perfboard asap. Also you were right, as the total costs fora all parts is not more than 15 EUR , including the part that you need to build a PIC programmer in order to program the 16F84.

best wishes,

tom

Does anyone know what sensor they use in the Nova Dreamer? I understand that it is an infra red, but what part is it?

Well, cookie,

I assume that similar to Brindefalks Kvasar they use an IR emitting diode the light of wich is detected bya photodiode being sensitive in the IR range (~900 nm). But I don´t understand what you want to do with that information if you have no clue about all the electronics behind it?

Or did you think it was a sensor that you could buy at Walmart and that you only had to clamp one or two LEDs to it to make it work? “Oh, mom, when you go shopping later on, could you please get me some cans of coke, crisps, some chocolate and … oh … yes… also one of these REM detecting IR sensors that they have on special offer at the moment?” lol

Best wishes,

Tom

Hehe yeah you are right about that. But I have some common knowledge and an interest in electronics and computing. I have a pretty good idea on how to build such a device - in theory. Im not planning to go buy parts and build one. At least not right now…

Anyway my guess would be what you said. The movement of the eyelid would (in theory) create minor changes in the intensity of the reflections of the light from the emitter. That could be measured by the sensor diode (in theory). But you need two parts that are compatible enought to give a strong enough signal to be detected by the onchip A/D on the microcontroller. Unless you want it to cost $50 just for the A/D.

I bet it would take lots of trial and error and testing of different setups (preferably with an occiloscope) to get it working in practice. OR you could just use the same setup as the Nova Dreamer, which is likely to work.

EDIT: By the way, my nickname and this account was just meant to be temporary. I didn’t think i would actually return and post stuff here months later :smile: Sorry if i confused anyone - im not a kid and im not always un-serious.

I’ll get a new name soon, cause i feel im going to be a regular visitor and poster.

Ok, I see.
But all that is not bare theory, as I built the novadreamer like device from brindefalks homepage. Please check here:

brindefalk.solarbotics.net/kvasar/kvasar.html

The only problem is now to program the PIc as the programmer I built doesn´t seem to work properly :sad:

Meanwhile I finished building a kind of Dreamflasher from a simple alarm clock and 2 LEDs as described elsewhere and I am going to test that tonight

Best,

Tom

this is the thread that got me thinking about the goggles dwax built. i e-mailed him a few days ago with no luck, maybe he’ll reply in the future, maybe not.

i was looking around for clocks with more than just one alarm (some have 6, which means if you can get the clock to stop the alarm after a few seconds, you can program the 6 at 90 min intervals)… the problem, again, with the alarm clock is the leds blinking till you get up and turn it off… which would mess up your LD cause you’d have to, well, wake up.

i’ll ask my dad (he’s good with electronics) if there is an easy alternative to the PIC microchip. if not i’ll see if i can get one of the programmers and maybe start from there…

if only dwax would come back and explain how he built his pair :smile:

as for the REM sensor

the chip used in the dreamweaver mask is an Optek sensor which seems to measure the distance between itself and the eyelid… when your eyes move, the distance changes more frequently which causes (in the dreamweaver’s case) the computer to react… that’s pretty cool, cause using the computer you can actually monitor your eye movement for a whole night and figure out exactly what the numbers are when you’re in REM…

but all this is beyond what i’m trying to figure out hehehe :cry: i just wanted a pair of goggles that flash at every 90 minutes or so…

i’m not giving up tho.

(ps: sorry for the long post)

That looks cool. I definetly have to build one :smile:. It’s a lot more simple than what i had in mind…

Im also planning to build a programmer, either for the PIC or for AVR and get started with some programming for it.

Which programmer did you build? I know that the parallel port in Windows XP does not alwasy work like it should. Can’t even get printers to work with it anymore :smile:

Edit: have you seen this? https://www.jdm.homepage.dk/newpic.htm

okay im prepared ot build the kvasar mask but i wondering if anyone has built it and it worked? I would only be moved to make this if there was positive feedback from someone that it worked for.
thanks heaps guys :smile:

i’m building one too… I have everything I need (except for one or two, including the IR Sensor) and I’ve already started putting it together.
For the IR Sensor i called Hamamatsu and a very very nice lady made an exception (they only ship to companies with a min 50$ purchase) for me and is now shipping me two “samples” of the S4810, free of charge :happy:

All i have to do now is finish putting it together and then wait for the sensor to get here (meanwhile i can build the programmer)… hehe, and to think a week ago i had NO IDEA of any of this. It’s really fun.

One question though… on the Kvasar diagram there are two lines going nowhere saying “com in” and “com out” (right side of PIC)… does anyone know what they are and where they go ? or do i just leave them untouched ?

so here’s stage one of the electronics :

i didn’t want to build it too small cause i’m not that great with the iron hehe, it’s already crazy enough with all the wires. it’s going pretty good and it’s tons of fun hehe (at least i find it fun)