I've tried to do something like this on and off for a few years. Each try gets a bit better, but I'm still not there.
The biggest problem is one I'd never even considered: making something that's both comfortable and completely immovable. My first few projects always ended up on top of my head by the end of the night (even the ones that were really uncomfortable to wear). Who knew I'd have to get good at sewing as well as electronics?!?
My most recent attempt is pretty good. It's got an IR sensor mounted close to each of my eyes along with 1 meg of flash memory to record the readings and a serial interface to download the readings to the computer. Unfortunately, looking at the readings, I can't make anything out. I'd really hoped for a clear "the line is straight: I'm not dreaming; the line is wiggly: I'm dreaming." Unfortunately, the line wiggles about the same all night long. It works when I test it during the day, so I suspect it's moving just enough to take readings off of something that's not my eyelid; but I don't really know.
A while back, I saw a project where the guy said "forget the crazy IR stuff, just set a timer for 5 hours and blink every few minutes after that." I'm very tempted to try this approach next time.
I'm currently in my "this is too annoying, I can't work on this right now" stage of the development cycle, but I can make my sources available if anyone is interested. It's built on the AVR set of chips (the kvasar is built on PICs).
|
|
Bookmarks