Views: 55,717

Assembling your face-mounted lucid dreaming mask

All > Tech > Inventions > Assembling your face-mounted lucid dreaming mask by natetrue
This guide contains step-by-step instructions on how to build a Face-Mounted Lucid Dreaming Mask.

You can buy the mask as a fully assembled, working mask (via Paypal, $60), as a kit ($30), or the programmed PIC chip ($10) alone, or just scrounge up the parts from your miscellaneous parts bin! Head to the Stuff you can buy from me page to buy.

This guide assumes you bought the full kit from me, for simplicity. It really doesn't matter where you got the parts from, so long as know you have the right ones.

First of all, make sure you have a clean, uncluttered workspace (see above).

Next, dump out the kit and have a look at the parts. You should have received (from left to right, top to bottom):

- 2x 1x1x2" foam pieces (one extra, in case you mess up)
- 2x 1 kilohm resistors (brown-black-red-gold)
- 1x 10 kilohm resistor (brown-black-orange-gold, or brown-black-black-red-brown)
- 2x 3mm white LEDs (fancy!)
- 3ft 1/8" elastic cord (one size fits most!)
- 2x CR1616 3v Lithium batteries
- 1x 18-pin IC socket
- 1x PIC16LF628A chip (pre-programmed)
- 2ft Generic hook-up wire, 26 gauge
- 1x Sliding power switch
- 1x Tactile pushbutton
- 1x Long brass piece
- 1x Square-ish brass piece
- 1x Perfboard PCB

Your kit may vary slightly from the parts shown (especially if you made your own kit!), but they should all look the same, more or less.

You'll need to gather some basic tools, too:
At a minimum, you'll need:
- Pliers (needlenose or otherwise)
- Wire cutters
- A soldering iron
- Solder

You may also want to have a wire stripper on hand, just to make things easier. It's not terribly necessary though (the wire cutters can do the job).

Uh, I guess some basic knowledge of how to use these tools is also required. But you wouldn't have bought the kit without knowing how to build it, right? Right? You at least know how to solder, I assume.

Anyway, moving on.
Grasp the perfboard firmly between your digital appendages. Make sure the non-metal side is facing you (and screwholes to the left), and place the IC socket as shown in the image. Make sure the notch on the socket is facing toward the bigger side of the board.

Congratulations! If you've made it this far, you're not functionally deficient!
Bend the pins of the IC socket on the other side to hold it in. The edge of a table works great for this.
Place the button and switch in a similar fashion. Try to get the positions exactly what I have on there.

Important: The button has a 'vertical' orientation to it - the pins should be coming out of the top and bottom (as the button faces you), not the left and right sides!
Take one of the LEDs and stick it through the board from the bottom, folding it over so it kind of sticks in place. Make sure that the longer lead is on top! If it's not, the LEDs will not light.
If you're color-blind, this next step may defeat you. Locate the two 1-kilohm resistors. They will have a brown-black-red-gold stripe pattern on them - beware! The red on these and the orange on the 10k resistor is very similar! Make sure you have adequate light before making your decision.
Place the resistors through the board as shown.
Bend their leads so they fold over the nearest LED lead or IC socket pin. Then cut off the excess!
Now set the board aside and locate the square-ish brass piece and take out one of the CR1616 batteries. Lay them atop each other in a manner consistent with the depiction of the above photographic diagram.
Grasp the corners of the brass piece with your pliers and fold them up so they hug the CR1616 battery just so.
Optionally, cut the corners for a less pointy feel.
You can file them down to smoothness if you'd like.
Position the brass piece (now a battery holder!) on the perfboard so as to locate two of the perfboard holes near two opposing corners of the battery holder.
Take a couple of cut resistor leads (you did keep them, right?) and put them in the board, folding them over on both sides to hold the battery holder in firmly.
Grab the long brass piece and fold / cut it into this particular shape (CR1616 battery here for scale). If you don't quite get the shape, check out the next couple of pictures.
Take a piece of tape and wrap it around the small fold - this will insulate the batteries from shorting out.
Put this piece on the board, over the battery holder. Its springiness should hold it on there. Position it so that the end is right in the middle of the battery holder.
Grab the 10k resistor now (brown-black-orange-gold, usually - yours might be brown-black-black-red-brown with a cyan-colored body), and place it on the board as shown. Fold one lead over the adjacent button lead but leave the other side disconnected - we'll hook that up later.
By now your board should look like this. Power up your soldering iron and apply solder to all of the leads coming through the board (and also to the brass strip on the bottom).
The bottom of your board should look like this now. Turn it over and solder the wires to the battery holder:
Then bend up the wires and cut them off so they don't interfere with the battery.
Go on and bend up the rest of the LED leads and cut them off at the board.

Presto! Now comes the fun part.

By fun I mean tedious.

You'll need to cut sections of the black hookup wire to connect parts of the circuit. Let's start with the connection between the power switch and the battery holder.

Start by looking a few photos down to see where the connection needs to be made. Check against your own board and cut a piece of wire that is at least that distance.
Use your soldering iron and solder to 'tin' the ends of the wire (heat it up, add solder, wait until it flows into the strands of the wire).
It should look something like this when you're done.
For each end of the wire, touch the end to the solder point you wish to attach to. Heat the end of the wire with your soldering iron, pushing towards the perfboard pad you want to connect it to. The solder on both will melt and fuse. Perfect solder joint!
Now do that for all of these connections. Wasn't that easy?

No?

Here's a list of all the connections that must be made:
- Battery holder wire to the middle of the power switch
- Power switch pin 3 (towards LED) to PIC pin 14
- Power switch pin 3 to button (see photo for which side)
- Each of the LED cathodes to PIC pin 5, then to the long brass piece (battery cathode)
- Battery cathode to 10k resistor
- PIC pin 7 to button (see photo for pin)

Fortunately there aren't that many connections. Double-check to make sure you have everything absolutely perfect. I'll wait.

Surprise! You're almost done!
Insert the batteries in the holder, plus side down. The brass should be pressing quite firmly against the batteries. If necessary, use some tape to hold the batteries in place against the brass arm piece.
Insert the PIC in the socket. You may have to bend the pins inward for it to fit. Be sure the notched end of the socket and the notched end of the PIC line up.

That's all for the circuit board! Flip the power switch and make sure the LEDs flash at you (six times, pause, six times) and then stop flashing (for about 5 hours). If they don't, you screwed up somewhere! Double-check your work.
Now grab one of the foam pieces. You'll have to sculpt it so it fits your own face. Don't be scared - I included an extra one just in case you screw up!
Fold two of the corners back, and cut off the edge that sticks out, using scissors.
You'll notice it makes a curved cutout in the foam.
Now keep cutting into the foam, creating a place both for your forehead and the bridge of your nose. Keep testing it on your face to make sure it fits.

You should end up with something akin to this:
Now comes the attaching part. You will want to make some little eyelets on the circuit board to hold the foam on. It rests like this:
Note that the top of the circuit board generally protrudes above the foam. This makes sure there's enough room on the bottom so the board won't touch your nose. You can also see the eyelets I've constructed to hold the foam on - the elastic will go through the eyelets and through a hole in the foam to hold it on.
Grab a spare piece of the hookup wire (or a needle, or what have you) and make a hole through the foam. Twirl the wire back and forth as you push through so it doesn't get stuck in the foam. Leave the wire in there.
Tape the elastic to the end of the wire (making sure the side of the tape facing the foam is as flush to the wire as you can) and pull the elastic through the foam. It's easier if you crush the foam sides together, so that the distance the piece of tape has to travel is as short as possible.
Now the elastic is through the foam. Wonderful!

Thread the elastic through the eyelets thusly:
Then tie the ends of the elastic together, and you have a finished Face-mounted Lucid Dreaming Mask!
Congratulations! Now to use it!

Using your Face-mounted Lucid Dream Mask

I tried to design the firmware to be as simple as possible to use.

For the most basic operation, just turn it on, strap it onto your face, and go to sleep!

A couple of more advanced features are built in. If you aren't sure of a good reality test, press and hold the button on the device until the lights flash once. Then release the button. If you're not dreaming, the lights will flash three times, then twice, then once. Additionally, after you activate the Reality Check, the mask will automatically wait a half hour for you to fall back asleep before trying to signal you again.

There's also a Hypnogogia Assist mode, where the mask does not wait at all to begin flashing at you. This is useful when you'd like to examine your hypnogogic state as you fall asleep. To activate this mode, press and hold the button until the LEDs flash a total of two times. Release and the mask will confirm by flashing twice. It will then flash the LEDs in 15-minute increments.

That's about all for the Dreaming Mask owner's manual! If you have any questions, please post them below, so everyone can benefit from the answers!

More creations by natetrue

More creations in Inventions

Comments:

Posted by natetrue 1 year ago ( 09-Dec-2006 12:39:56 ), comment hidden (show)

NOTICE: I am currently out of White LEDs so the kits will be delayed while I wait for more to come in. I expect I will be able to ship by the end of December (sorry, not likely to be in time for Christmas). If you ordered before December 5th, your kit has already been sent out.

Posted by natetrue 1 year ago ( 30-Dec-2006 09:45:02 )

Kit production is back on schedule!

Posted by fiktishus 1 year ago ( 30-Dec-2006 14:12:11 )

do you post to australia for the same price?

Posted by xchanius 1 year ago ( 01-Jan-2007 20:15:46 )

I am very interested in using your device but am pretty much incapable of using a soldering iron or any type of 'non digital' type devices. For an extra fee, is it possible to purchase a kit that has already been put together?

Posted by natetrue 1 year ago ( 01-Jan-2007 21:00:50 )

Hi xchanius - unfortunately due to time constraints I cannot offer preassembled kits. Maybe someone who reads this will offer their time for money? Anyone?

Posted by xchanius 1 year ago ( 02-Jan-2007 18:36:10 )

Yeah, I figured you're a busy kind of guy. If anyone else is willing to assemble, please let me know. Thanks.

Posted by novastar 1 year ago ( 13-Jan-2007 22:26:36 )

xchanius, I've got a lot of experiance putting together kit like this, if you want, email me, novastar@talkhost.info id be willing to build this for you.

Posted by bentivi 1 year ago ( 13-Feb-2007 15:48:00 )

I tried e-mailing, but got no response. The instructions say to connect the third pin of the switch to Pin 14 of the PIC, but the picture shows it attached to Pin 13... I tried both but can't get this thing to work.

Posted by natetrue 1 year ago ( 13-Feb-2007 16:01:22 )

The switch should be connected to pin 14 (the center pin on the side opposite pin 1) and the photos are consistent with that - your problem is elsewhere. If you can upload a photo of your board (you can use the "Add an image to this comment" link) I can have a look at it for you!

Posted by bentivi 1 year ago ( 13-Feb-2007 17:45:04 )

Ok, you're right, I miscounted! Pretty sure the problem with my unit is the battery holder. I'm having a hard time getting the battery to lie flush against the brass piece cuz some solder got onto it. Where do you get sheets of brass?
Thanks.

Posted by natetrue 1 year ago ( 13-Feb-2007 21:03:02 )

I get them from the hobby store. You might also want to just try melting the solder off of it.

Posted by snife 1 year ago ( 16-Apr-2007 05:29:42 )

OK, as a very novice solderer, I got this working I think, my soldering is not pretty but everything is connected where it should be. The only thing is that my LEDs are barely visible (i'd guess about 0.3 lux or something like that) and I just wanted to check if this is how they should be or is there something I have done that might cause this.

Posted by natetrue 1 year ago ( 16-Apr-2007 09:11:57 )

Yes, they're supposed to be very dim, otherwise they would be so bright they'd wake you up. If the lights flash, you've got everything right as far as assembly goes.

Posted by arkan 1 year ago ( 22-Apr-2007 04:14:15 )

Hi Natetrue, I already built my lucid dreaming mask following your instructions but not sure if it is working at all. How are the periods of time for flashing the leds, and for how long are they blinking?. I have the impression it is not flashing at night because in the morning when I get up, I cann´t see blinking the leds. (maybe it blink each 15 minutes, I don´t know)

The device blinks like 5 or 6 times for the beginning stop and do it again. Sometimes when I press the reset button, it doesn´t work, other times it works. Can you can tell us some middle detailled instructions of how to manage the device and working periods?

Thanks
Arkan

This comment was edited at 2007-04-22 04:30:23


Posted by natetrue 1 year ago ( 22-Apr-2007 08:21:16 )

Arkan, if the lights flash when you turn it on then there is no malfunction in the timing program. The exact same code that flashes the lights to begin with is what flashes them during the night.

Also, there is no reset button. The one button is a mode button which you can read about at the end of the creation entry.

Posted by trosky 1 year ago ( 22-Apr-2007 08:32:06 ), comment hidden (show)

This comment was edited at 2007-04-22 11:04:12


Posted by arkan 1 year ago ( 22-Apr-2007 11:05:12 )

Another question: 5 hours after turning on, and the leds start bllinking. How long between blinks?

Posted by johncap 1 year ago ( 22-Apr-2007 20:46:57 )

this is one of the coolest things I have ever seen im definatly going to try this.

Posted by niko 1 year ago ( 26-Apr-2007 09:08:52 )

Natetrue, thanks for the programmed chip. I used it lastnight, however, it was too dim to notice I believe. I couldn't even see the blinks with my eyes closed. Any ideas?

Posted by natetrue 1 year ago ( 26-Apr-2007 14:23:17 )

The brightness is tuned so it's barely noticeable when your eyes are at their most sensitive. If you like, you can reduce or omit the series resistors on the white LEDs to increase the brightness.

Posted by mosfet 1 year ago ( 01-May-2007 20:35:41 )

Do you send shipments to mexico?, if yes, is there any extra fee?, how much?. <3

Posted by natetrue 1 year ago ( 06-May-2007 14:49:14 )

No extra charge for shipments to Mexico. Nor to any other country. If Paypal accepts your country for payment (not so for Colombia, sorry), I will ship for the same price.

This comment was edited at 2007-05-06 14:50:06


Posted by kelusterk 42 weeks ago ( 18-Jul-2007 20:28:36 )

Hey, quick question. How long should it take for the kit (unassembled) to ship to New Jersey, USA?
Thanks,
Alex

Posted by barnes 42 weeks ago ( 25-Jul-2007 11:43:17 )

I just put the kite together, a lot of fun to do. Great experince. I just turned it on..and to my dismay, it didn't flash as it was supposed to. Instead, it flashed 4 times, pause, 4 times, and then flashed about every second. I checked over my wiring, looks ok...just wonder if it could be a bad PIC. HAse anyone had this issue?

Posted by natetrue 41 weeks ago ( 25-Jul-2007 13:17:08 )

The lights do the one-flash-per-second thing when the PIC thinks the button is being held down. Can you possibly take a good-quality photo or scan of the back of your PCB and post it with a comment?

Posted by barnes 41 weeks ago ( 25-Jul-2007 17:32:08 )

Will do, but if I know enough about buttons I think I can fix it myself. I'll take the picture a little bit later and get it up here.

Posted by barnes 41 weeks ago ( 25-Jul-2007 17:46:50 )

Picture as promised. Not the best.
Attached image:

Posted by natetrue 41 weeks ago ( 25-Jul-2007 20:37:55 )

You might have figured it out by now, but for the edification of others if nothing else, your button is installed sideways.

Posted by barnes 41 weeks ago ( 25-Jul-2007 21:10:45 )

Well now I just feel stupid. I realized the fact that the button could be placed sideways just after posting the picture. Thanks for the great response, your deff. on my list of people I'd recommend to friends. Thanks again.

Posted by jimandkevin 41 weeks ago ( 29-Jul-2007 14:03:22 )

Hi Nate,

My son and I built your LD machine from parts we bought plus the chip we got from you. It is really not clear how/where to connect the "useless" button, or if the button triggers a test mode or what?

Also, we built it with adjustable resistors, so we can tune the brightness, but it would be very helpful if the lights would blink for a bit when power is first applied, so we don't have to wait hours for tuning. Maybe I have missed something?

Anyway, a fun project so far, and looking forward to testing.

Jim
Attached image:

Posted by natetrue 41 weeks ago ( 29-Jul-2007 18:54:12 )

Hi Jim,

If hooked up correctly, the mask should flash in two groups of five flashes right as it's powered up. The chip you bought should act as outlined under the "Using" section at the end of the assembly instructions. As for the button, it should be connected to +V when pressed, otherwise tied to ground through a 10k-ohm resistor. That should be on the PIC's pin 12.

Posted by jimandkevin 41 weeks ago ( 29-Jul-2007 21:12:29 )

Whoops. I missed that fact that it was flashing at power up, because our LED's were not so bright. We adjusted the pots to make them brighter. All seems to be working. Thanks!

Posted by sandworm 41 weeks ago ( 01-Aug-2007 07:46:49 )

Excellent, I've proved I'm not functionally deficient! For a first-time solder project, this was tricky, but after many redone connections and burnt plastic wire coating, I popped in the batteries and found myself victorious. The pictures make it look nice and big and easy, but wow, in real life it's tiny :) Finally realized cleaning my soldering iron tip made it work so much better.

I can't wait to try it.

PS, Nate, you shipped this from Shoreline, WA to me in Taiwan. I used to live in Shoreline while I was going to the art institute in Seattle! Awesome coincidence. Thanks for the kit.

Posted by liolgg 40 weeks ago ( 03-Aug-2007 00:55:36 )

Ok nate i got your kit, but one of the resistors was missing (either i misplace it or it was not shipped) no biggy i went out and bought another set.

I can't get it to work, im new doing this kind of thing but i think i did a pretty good job, i check the wiring and everything seems right, here is the picture, any help would be appreciated.

If i can't get it to work i will buy the kit completely assembled.
Attached image:

Posted by liolgg 40 weeks ago ( 03-Aug-2007 15:02:57 )

Also is there a diferece between a 1 ohm resistor and a 1 kilohm? because i think? (i have to check to be sure) i installed a 1 ohm resistor.


Posted by jml 18 weeks ago ( 06-Jan-2008 16:12:02 )

Is there a schematic for this device?

Nate, purchased your programmed PIC a while ago, and I'm jus getting around to putting it all together. I'd first like to gift it all together on a breadboard to see if I have it all straight, but the instructions don't translate well into schematics.

Thanks in advance,
James

Posted by jeffneal 15 weeks ago ( 24-Jan-2008 22:41:02 )

Here's an addition to Nate's mask.

http://cre.ations.net/creation/lucid-dreamer-retrod-with-a-sleeping-mask

Posted by rocstar 13 weeks ago ( 06-Feb-2008 19:37:58 ), comment hidden (show)

Does anyone know what variables to tweak if I want to change the amount of time the LEDs stay on while flashing in the ASM code?
Nevermind, I figured out how to modify the code to flash longer.

This comment was edited at 2008-02-06 22:50:55


Log in or register to post comments.
You are not logged in.
Log inRegister now!