HomeGuideFAQSearchMemberlistForumSupportStore
LD4all.com

Welcome to the archive! Log in
REM Detecting LED Goggle Device Nova Dreamer Wanna Be Thing
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     |##| -> |=|     LD4all archive Forum Index »Lucidity ToolsGoto page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
MeusOpusMagnus
Somniologist
Somniologist


Posts: 150
Joined: 02 Jan 2004
Last Visit: 04 Feb 2006
PostPosted: Fri Apr 16, 2004 9:50 pm    Post subject: Reply with quote

8D i got my two samples of the S4810 from Hamamatsu :D ... I was so excited for the whole day (they were shipped to school cause they wanted a "company" address to deliver to)...

There's a text on the box that says something about them being excited to send out samples, let them know how they work, blah blah and send them back when you're done with them eh but they were so little i LOST THEM IN A MASK !!! I CAN'T SEND THEM BACK !!! wink i mean they're about 1-2$ so i assume they're talking about bigger, pricier samples... oh well

it was the last thing missing!!! now i can finish my mask and party on hehehe :D

BOOYEAH !

___________
Back to top
milod789
Night Explorer
Dream Deity


Posts: 2991
Joined: 24 Oct 2003
Last Visit: 03 Apr 2013
Location: USA
PostPosted: Sat Apr 17, 2004 2:40 am    Post subject: Reply with quote

Good luck. I hope it works well for you.

___________
Back to top
KirbyMeister
Novice dreamer
Novice dreamer


Posts: 28
Joined: 16 Apr 2004
Last Visit: 24 Mar 2005
PostPosted: Sat Apr 17, 2004 8:21 pm    Post subject: Reply with quote

You know, if there is a way to hook a PIC to a USB port for data transfer, you could have advanced functions, such as REM state reports and such. You would probably want some form of solid state memory chip also.

___________
Back to top
Dream Monster
Astral Explorer
Astral Explorer


Posts: 265
Joined: 25 Jun 2003
Last Visit: 03 Nov 2004
Location: Cold, dark...
PostPosted: Sat Apr 17, 2004 10:39 pm    Post subject: Reply with quote

That PIC has 64 bytes of EEPROM which could be used to store some information. One byte for the amount of times it triggered during the night, one for how many times you pushed the RC-button, two bytes for how many seconds you had between two given REM periods and so on. Could be interesting. If i make one i would probably use a smaller chip by Atmel called tiny15, which also has the same amount of EEPROM.

I think you need an USB-interface chip for USB-support. Unless you know enough about USB to program your own routines for sending data directly from the pic.

___________
Back to top
KirbyMeister
Novice dreamer
Novice dreamer


Posts: 28
Joined: 16 Apr 2004
Last Visit: 24 Mar 2005
PostPosted: Sat Apr 17, 2004 11:48 pm    Post subject: Reply with quote

Yeah, you may need a seperate chip to handle the USB.

I've thought up some goals towards the perfect microcontroller-controlled 'Lucidity Mask':

- RC-Button (helps prolong lucidity in FAs)
- Timer-based trigger
- REM detection
- Remembering when the REMs were detected
- Some method of getting that info into the computer (parallel, serial, usb ports)
- Ability to recalibrate the system

Does anyone think this could be done with PIC chips?

___________
Back to top
Dream Monster
Astral Explorer
Astral Explorer


Posts: 265
Joined: 25 Jun 2003
Last Visit: 03 Nov 2004
Location: Cold, dark...
PostPosted: Sat Apr 17, 2004 11:52 pm    Post subject: Reply with quote

Quote:
Does anyone think this could be done with PIC chips?


It sounds like a perfect example of what you can do with a microcontroller. Have you programed in assembler before?

___________
Back to top
KirbyMeister
Novice dreamer
Novice dreamer


Posts: 28
Joined: 16 Apr 2004
Last Visit: 24 Mar 2005
PostPosted: Sat Apr 17, 2004 11:53 pm    Post subject: Reply with quote

I've played around with it once. I know the basic concepts though.

___________
Back to top
Dream Monster
Astral Explorer
Astral Explorer


Posts: 265
Joined: 25 Jun 2003
Last Visit: 03 Nov 2004
Location: Cold, dark...
PostPosted: Sat Apr 17, 2004 11:59 pm    Post subject: Reply with quote

The source for the kvasar mask is written in some high level language called "jal". Seems easy enough but the source and it's comments is in swedish. Easy for me to understand and modify, but maybe not for you? smile

Most of your features are already coded in it from the looks of the source.

EDIT: I think you missed the link on the other page, look here for more on the kvasar: http://brindefalk.solarbotics.net/kvasar/kvasar.html

EDIT_2: I just noticed he included a translated version of the source. A good opportunity to brush up on your swedish. smile

___________
Back to top
KirbyMeister
Novice dreamer
Novice dreamer


Posts: 28
Joined: 16 Apr 2004
Last Visit: 24 Mar 2005
PostPosted: Sun Apr 18, 2004 12:12 am    Post subject: Reply with quote

I found an interesting microcontroller on microchip's (the guys who made the PIC architecture) site that can handle USB.

PIC16C745

I could code this thing if you wanted, and then you test it out (i dont think i'll be able to get my hands on the equipment to work with these things until i'm 16)

___________
Back to top
Dream Monster
Astral Explorer
Astral Explorer


Posts: 265
Joined: 25 Jun 2003
Last Visit: 03 Nov 2004
Location: Cold, dark...
PostPosted: Sun Apr 18, 2004 12:19 am    Post subject: Reply with quote

I am not sure but i think that the C in PIC16C745 means that it is not reprogramable. You can only program it once. The F models are reprogramable (correct me if i'm wrong).

I am going to build a programmer for Atmel AVR:s instead. They are more versatile and a little more expensive. But i figured that i will only buy one for each project i make anyway.

___________
Back to top
KirbyMeister
Novice dreamer
Novice dreamer


Posts: 28
Joined: 16 Apr 2004
Last Visit: 24 Mar 2005
PostPosted: Sun Apr 18, 2004 12:26 am    Post subject: Reply with quote

Ohwell, whatever works best for you.

Seriously, I would like to see work on a guide for an advanced dream mask that can be programmed both by buttons on the unit and companion software.

___________
Back to top
MeusOpusMagnus
Somniologist
Somniologist


Posts: 150
Joined: 02 Jan 2004
Last Visit: 04 Feb 2006
PostPosted: Sun Apr 18, 2004 1:03 am    Post subject: Reply with quote

Quote:
I am not sure but i think that the C in PIC16C745 means that it is not reprogramable. You can only program it once. The F models are reprogramable (correct me if i'm wrong).


F is flash and C is for some other thing you can reprogram if you can erase the chip with UV or something... i know reading both are reprogramable, but the F is the easy one to do so.

But you're right, the C ones you usually program once and that's it...

... i got my project together, all hooked up right but it's not calibrating. there's two reasons this may be happening:

1- the chip's not programmed right ... i sometimes get an error message so i don't know how well it gets programmed even when i don't get the error...

2- hiding under the blankets in the basement is not enough darkness for the sensor (but that's a bit weird)

... or maybe i didn't calibrate the IR led properly, i'll play with that some more...

meanwhile I e-mailed Bjorn and asked about these things, i hope he'll reply soon.

___________
Back to top
KirbyMeister
Novice dreamer
Novice dreamer


Posts: 28
Joined: 16 Apr 2004
Last Visit: 24 Mar 2005
PostPosted: Sun Apr 18, 2004 1:33 am    Post subject: Reply with quote

I'd try reprogramming the chip (if you can)

___________
Back to top
KirbyMeister
Novice dreamer
Novice dreamer


Posts: 28
Joined: 16 Apr 2004
Last Visit: 24 Mar 2005
PostPosted: Sun Apr 18, 2004 7:40 pm    Post subject: Reply with quote

I came up with an interesting function for an MCU-controlled Dream Mask:

Remember when LaBerge tested the validity of Lucid Dreaming? And how he used a machine to track eye movements? Well, if the sensors can track eye movements, then you could have the mask continually flasing LEDs until you continuously move your eyes in a pre-determined pattern.

And another one:

A mode called 'learning mode' where the mask would just gather data about REM periods without giving cues. Then, the mask could target your cues to your longest REM period. (thus, disabling the need for WBTB!)

___________
Back to top
Dream Monster
Astral Explorer
Astral Explorer


Posts: 265
Joined: 25 Jun 2003
Last Visit: 03 Nov 2004
Location: Cold, dark...
PostPosted: Sun Apr 18, 2004 8:36 pm    Post subject: Reply with quote

The only limits are the sensors you use and the amount of memory in the computer (the PIC).

My first design (if i make one) will aim to have only one basic function (to detect REM and flash) and to be as small as possible.

I'm not even sure if i could sleep with a mask on, even less with one that has hard parts (batteries, sensor mountings etc).

___________
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     |##| -> |=|     LD4all archive Forum Index » Lucidity Tools All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 4 of 6

 



© pasQuale - donations greatly appreciated
Powered by phpBB © 2001, 2005 phpBB Group