Lucid Dream/Dream Recall Machine Using Infrared.

Published

Introduction: Lucid Dream/Dream Recall Machine Using Infrared.

Hi,
This is my first instructable, so I hope everything is clear and hoping you find it interesting, and would appreciate any feedback, so here I go. I am sill testing this device with other people,  but  personally I have found  my dream recall has improved dramatically, wow! some of the dreams are totally amazing. 

WARNING. Because of the flashing Led this could pose a problem with people that are affected by epilepsy. One solution would be to connect a switch to the Led, therefore there would only be a sound as a dream trigger.

   If any one is interested in this project I can sell a kit of parts or sell a complete and tested device. Please contact me for prices at.  jeffbarnes311@googlemail.com  

Description.
The device will scan the closed eye using infrared and when movement is detected(REM) the PIC microcontroller will flash an LED and produce a sound on a piezo. This should wake one up into a dream. Useful for Lucid dreaming or if one wants to better their dream recall. I have found using this device, my dream recall has greatly improved.

Operation.
After switching on the device there will be a delay of approximately 60 seconds, to allow one to settle into bed. Then the device will scan the closed eye three times, to check functionality, after this the device will stop scanning for three hours. It will then go into a cycle of scanning the eye then delay for 15 minutes until the device is turned off or the push button is pressed. If button is pressed the LED will illuminate then flash once after which there will be a delay of 30 minutes then scanning is resumed. This is to allow you to interrupt the cycle eg. sleep was interrupted so as to allow you to go back to sleep or can be used for a nap.

Setup mode.
1/ Keep push button pressed then turn on and release button, the LED will flash and piezo will sound, this is to allow adjustment of the LED light intensity VR1 and piezo volume VR2,  also to check battery state of charge.
2/ Press button until LED only flashes and release, this will enter infrared functionality test.
3/ Pressing button again, the device will go into the main program or turn off device.


Summary of operation.
1/ When one is ready for sleep turn on device then count to 60(seconds approximately).
2/ Move the eyes under closed lids until the device has triggered three times. This is to test functionality.
3/ Device will go into a three hour delay until scanning starts.
4/ Then it will scan the eye, delay for 15 minutes and repeat until the device is turned off or the push button is pressed.
5/ If push button is pressed the Led will stay on until released then flash once, there will then be a delay of 30 minutes and continue as in 4/. The button can be pressed at any time.
6/Sweet dreams and or great lucids.
7/Turn off device with the slid switch. Good morning

   Jeff Barnes


Step 1: PARTS LIST


Parts list.
R1 = 3K3 1/4 WATT
R2 = 10K
R3 = 5K6
R4 = 150R
VR1 = 5K PRESET
VR2 = 100K PRESET

C1 = 1000uF 6.3V ELECTROLYTIC
C2 = 100nF CERAMIC
C3 = 22pF CERAMIC

IC1 = 12F675 PIC MICROCONTROLLER
INFRARED PHOTO TRAN 3mm OR 5mm
INFRARED LED 5mm
5mm LED
PIEZO 20mm

SW1 = MINATURE SLIDE SWITCH
PB1 = MINATURE PUSH BUTTON

8 PIN DIL SOCKET
AAA BATTERY HOLDER FOR TWO AAA BATTERIES
SLEEP MASK
DOUBLE SIDED STICKY PADS X 2
STRIP BOARD 25 HOLES X 18 STRIPS
1mm HEAT SHRINK SLEEVING
TINNED COPPER WIRE FOR LINKS, 7 IN TOTAL.
SLEEP MASK

  Jeff Barnes

Step 2: CONSTRUCTION

Construction.
   Please refer to schematic and board overlay
For the circuit board I have used Vero/stip board and the tracks cut using a spot face cutter or a 3mm drill bit, as indicated by  X's in the circuit board layout, 9 in total. I have also included a PCB lay out.

Construction of the board is pretty straightforward, just have to watch for the polarity of the electrolytic cap, IC1, infrared led, infrared tran(collector denoted by the short leg) and visible led.
  Some things to watch out for:-
  The push button legs will have to be straightened to fit into the correct position, as shown in the circuit board overlay.
  The two white rectangles by the side of the piezo are the double sided sticky pads for securing the battery holder.
   Piezo is glued to the circuit board with a small amount of adhesive.
   The battery holder:-
                                    Two lengths of tined copper wire are soldered onto the board at the points marked with a + and a _,  then pass them through the solder tags on the battery holder, stick holder in place after sewing to sleep mask with the two double sided sticky pads and solder wires to the solder tags, being careful not to use too much heat, are the plastic of the holder will melt.
   Led, infrared led and infrared transistor:- (infrared tran collector denoted by short leg)
                                                                         Use 1mm sleeving on the legs of these components and try to keep them as long as possible when soldering to board. The short lead on the infrared transistor indicates the collector. Bend these components out from the board and bend the heads so as to be able to shine on the eyes. Next stitch board to sleep mask, as indicated on the board overly, mark the position of the Leds and transistor on the mask, then cut small holes using a leather hole punch or something simular, press the heads of these components through so the leds protrude approximately 3mm and the photo tran 2mm, making shore the infrared led is slightly angle towards the photo transistor and then glue into place using supper glue. There is a photo of the templates I used showing the position of these components, there is another photo showing the ideal position of the infra red led and photo transistor in relation to the eye.   WARNING, ALLOW AT LEAST 3 HOURS BEFORE PUTTING MASK ON FACE, BECAUSE  FUMES FROM THE GLUE CAN IRRITATE THE EYES.
 The PCB software I am using is from  http://www.expresspcb.com/expresspcbhtm/download.htm

    Jeff Barnes
   
    

     

Step 3: ADJUSTMENT

    Adjust the two presets, lower right side of board, so as to wake you up in a dream but not totally, you will probably have to experiment with these settings. Please refer to intro for explanation of entering setup mode.
    To check for infrared detection functionality please refer to intro for explanation of entering setup mode.

   Jeff Barnes
 

Step 4:

This is the HEX code for programing the 12F675 PIC microcontroller.

    Jeff Barnes

Share

Recommendations

  • Water Contest

    Water Contest
  • Creative Misuse Contest

    Creative Misuse Contest
  • Oil Contest

    Oil Contest

73 Discussions

hi can you send me your ASM file(source of micro)??? i need it because if somebody write asm file for me i should pay money ...(much money in my country)

hi.... where you placed new program ??? and my programing language is visual basic v6.0

1 reply

Hi, The new HEX file is down this page labled IRED(5)HEX. If you use visual basic for programing the ASM file will be no good to you as I program in machine code. Hope this is helpful.

Jeff

ok friend dont answer me not mind but note the cost of your plane for me about 90 dollar i pay about 90 dollar up to now i dont conclude and this is not mind for you i paddle and try about 2 months and now i am tired.... i just wanted you your original program just it ,ok goodbye and thanks for all your guides dear

1 reply

Hi, Sorry you are having problems. The program that I have placed here for you should work ok with the circuit changes you have made, infact it should work with my circuit. Can you tell me what programing language you use.

Jeff

hi jeff i have questions :

now i dont have programmer ,in this new HEX file after 5 second delay after turn on device ,do the device go three hours delay and then start scan??? and cycles of scanning are 8 minutes ???

how about after push the PB1 ???

thanks jeff you are very kind

i am very very very sorry that pester you , please excuse me

2 replies

Hi Ata0Ana,
Here is the HEX file you requested with the changes
made.
If PB1 is pressed there will be a delay of 30 minutes
and then scan the eye delay, continue until device
is turned off or PB1 is pressed.
Size of HEX file is 1.38KB,

Jeff

Hi Ata0An,

You are correct, the device will start a 1 minute scan after a three hour delay, then start scanning after every 8 minutes.

If the PB1 is pressed there will be a delay of 8 minutes then the scan cycle will start, 1 minute scan then 8 minutes delay and will continue until the device is turned off or PB1 is pushed

Hope this is clear.

I am glad and hope I have been of help to you.

Jeff

dear can you change program(hex file) again , i want after turn on start scan after 5 Seconds, not 60 Seconds and cycle of scanning be 8 minutes, not 15 minutes thank you

sorry that i cant change program(hex file) myself

1 reply

hi jeff please tell me how many frequencies are there in out put of PIC(sixth base) for IR LED sender ??? 38 KHz ??? and give me your hex file original source i want change times of scan .... these are important for me please jeff...i wait you

thanks

3 replies


Hi Ata0Ana,
Sorry for the misunderstanding, but I have replaced
the old HEX file with a new one and can be found at
step 4, named NEWIR.hex.
Please let me know if it works ok for you.
Regards,
Jeff

hi dear thank you , you are very kind

i am very very very sorry that pester you , please excuse me

i inform you certainly

thanks again

and there are many types of phototransistore but you didnt say me for example: LTR 4206E but i use photo diode(5mm) please say me what is your photo tran number and model exactly?? and dont forget that answer how many frequencies are there in out put of PIC for IR LED sender

i wait you thanks

1 reply

Hi,

You could try a new HEX file(NEWIR.hex) in STEP 4.

Hope this will solve the problem.

Jeff

Hi Ata0Ana,
I am sorry you are still having problems.
This circuit looks ok but I have had no problems with my circuit and I have built many.
This is a way to check the IR.
1) If you go into the IR testing part and use an
infrared television controller and press a button
while holding close to the IR tran, this should
flash the visible led and activate the sounder.
2) If you have a smartphone you can get an app
which will let your camera see infrared light,
there are a number of them at the app store.

These steps will show if the infrared part is working
correctly.
Please let me know what happens.
Jeff

i want use PIR sensor instead of IR photo tran ,how can i do it without change circuit?? must i change circuit ?????

and this is my new circuit ...

IMG_20150408_010103.jpg