A biofeedback signal recorder and research tool designed to detect eye movements during sleep.Download | Documentation

Download or develop plugins for various biofeedback and lucid dreaming devices.

Plugins

CPU
Monitors your machine’s CPU performance. Included.

Halovision
Monitors the video stream from the halograph EOG – a night-vision camera the size of a matchbox that can be placed next to your pillow and measures the amount of change between each video frame. It then plays audio tracks, triggers plug-outs or flashes the screen when rapid eye movement patterns are detected. It can also connect to any webcam or a smartphone’s camera to demonstrate the REM-detection algorithm.Download (requires VLC win32) | Updates | LSDBase Entries

Halograph FM
Monitors the output from the halograph FM – a headband with a motion detector that is sensitive enough to pick up the heartbeat. The plugin plays an audio track and cycles through the playlist during REM sleep.Download | LSDBase Entries

Mouse FIELD (Finger Induced Electronic Lucid Dream)
Monitors the mouse activity and plays an audio track when the mouse button is released. The idea is to catch yourself when you fall asleep – in a dream, but awake. Another channel detects eye movements from the infrared LED sensors operated out of mice.Download | Updates | Source Code | LSDBase Entries

Microphone
Monitors the volume of the default microphone.Download | Updates

Pranayama
Outlines breathing patterns that can be followed by keeping the lungs filled at the level of the graph. The line shows the level at which the lungs should be filled and how long the breath should be retained. The first exercise is to inhale for 8 seconds, hold for 32 and exhale for 16 (a ratio of 1:4:2).Download | Updates | Source Code | LSDBase Entries

OCZ NIA
Monitors a mixture of muscle, skin and nerve activity including sympathetic and parasympathetic components that can be summarized as biopotentials from the OCZ / BCInet NIA (Neural Impulse Actuator).Download | Updates | Source Code

TI Chronos EZ430
Monitors the XYZ output from the Texas Instruments EZ430 Chronos. Includes source code.
Pro tip: to change the default transmission timeout (of 3600s) you need to change sRFsmpl.timeout (and SIMPLICITI_TIMEOUT):
Use the Code Composer (included with the chronos) to edit one line of code in rfsimpliciti.c, then build it for the frequency for the device (e.g.: 433Mhz) and use the TI Control Center to wirelessly update the firmware.Download | Updates | LSDBase Entries | Source Code

62 Comments:

Thanks for including source code for your plugins! Some of the source code solutions appear to include an incorrect Reference. As I see it, the Reference to ‘Lucid Interface’ that is contained in the source solution(s) should be a reference to lucidcode.LucidScribe.Interface.

Sure! You are correct – the reference should be to lucidcode.LucidScribe.Interface. I will fix this in the solutions… in the mean time you can delete the existing reference and add a new reference to the DLL.

hey, i use Lucid Scribe to view my eeg-signals with the mindwave headset from neurosky but the theta its on the top line on 1000 in the view.. is that a bug or say it “no signal for theta aviable”? its creepy when the theta its always on 1000 when i´m on alpha-state with my mind D: is that normal?

That is not normal. But it may be a bug when the theta is an order of magnitude more than normal. You could try restarting Lucid Scribe – sometimes the values get stuck when the skin connection is lost. Otherwise I will update the plugin to divide the theta value some more to scale better.

i can show you a video.. its like the theta value its to high to show but when i´m on theta state with my mind its scale down.. hm -> http://www.youtube.com/watch?v=GJRRiWovIo0 here you see it good, i go on 1:20 to theta state with a trigger in my mind and its scale down the value, if i on normal state with the mind its on the 1000 value

Thanks for your great work on this excellent project! I’d seen the Dec. 20 post over at hackaday.com that referred to your site and, well, I just got my MindWave today! Unfortunately, LucidScribe.1.2.2 is not displaying any data. I have the ThinkGear.EEG.0.9.8 plugin. The stock MindWave apps (Meditation Journal, SpeedMath, etc.) work perfectly. I’ve tried tinkering with the scaling settings, but have had no luck. Also, just FYI, the headset is model MW001 and has yet to be modified into something that can be worn while sleeping. Any suggestions would be greatly appreciated. Thanks and keep up the great dev work!

Try these steps:
1.) Close all apps – ThinkGear Connector should be ‘disconnected’.
2.) Open ThinkGear Connector and note the COM port.
3.) Open Lucid Scribe and select the COM port (you can exit it by right-clicking on the icon next to the system time).
4.) ThinkGear Connector should remain ‘disconnected’, but Lucid Scribe should pick up the signal.

I also tried connecting via different USB ports. No change. Then tried a different PC… Tried turning off firewall (just a guess). No luck.

Both PC’s running Win7 64 bit. Could 64 bit be an issue, perhaps to do with the “C:\Program Files (x86)” directory name? Just grasping at straws here, but I hope we can get this ironed out and documented here to potentially help others with the same connection issue. …and maybe even find and squash a bug in the process!

The MindPlay looks comfy! Actually, I’m really looking forward to modding the MindWave, but only once it’s working with Lucid Scribe. Of course, if MindPlay ends up being superior, then I may get that too.

Success! Well, partially, at least. I got Lucid Scribe working on an older laptop running Win7 32-bit. No other differences that I can tell. Now it’s time to turn the MindWave into something wear-able during sleep. Looking forward to the next steps!

Wanted to try the software but the installer seems to be broken. I could install it at first but the install was broken (Software didn’t start) Reinstalled appropriate NET framework didn’t help. Now the installer won’t even open because of access violations?

Hello guys, my name is Friend, a final semester student of software engineering, am working on a project under Neurosky, to carry out an activity (catch a fish) with meditation and attention of brain waves, am stuck because I dont have the codes sufficient enough to implement. Pls can somebody help me with codes. Thank you!

I tried replying at hackaday but it wouldnt let me >.< I would love to help test the mindflex plugin! LS wouldn't show me anything until last night when I added a serial RX line into the TGAM and loaded a sketch in my arduino that set pinMode to INPUT for pin 0 and 1 so the atmega just snoozes while the TGAM and FTDI pass data back and forth. I'm guessing that's what the hardware for the Mindflex USB mod is? If not I’m sure I can whip it together in no time at all. Oh, LS was showing me sine waves on every channel! I’m sure I got something wrong though.

I also have a Mindset which works just fine on its own with LS but having both the Mindset and Mindflex plugins at the same time is problematic (two entries in the plugins page for each band, no easy way to identify them 🙂

I have a TI chronos that I've used, I will be acquiring a brainband very soon for more experimentation, and was looking for the DIY instructions for the halograph but they seem to have disappeared?

Finally, I have a couple old photosonix light/sound machines I plan to experiment with brainwave entrainment DURING sleep to see what if any effects A/V stimulation have on brainwaves. Whew I hope I don’t get a TL:DR for this comment lol

I cant get a screencap of what i was seeing at that time, i think what i was seeing was due to the sampling rate of the signal (which i had set WAY too high) I’ve since turned it down and now i am getting more readable results. thanks for that last update labelling the mindflex channels, makes it a lot easier to read. i’ve got some other ideas, how best to communicate about them? thanks

i tried to download lucid scribe on my mac, but as soon as a download it and try to open it it sais cant open the file because no available application can open it. i have the mind wave but i just got it today, i barely kno how to work it, but still i should be able to download this, i just duno what to do.

Hmm, I am not sure either. I started the Mono version for someone else and they got it running after a few test versions… I think you need to run a command prompt with something like “mono Lucid Scribe.exe”. It might also need the path.

im having tons of trouble with the minwave itself atm, so i aint going to be downloading nothing atm, for some reason i cant even get a good connection from my usb to my mind wave, its annoying me!! at first the signal was good then it would deteriorate then repeat that, know it wont even connect,

i was using meditation journal, it was working really good for a couple minutes, untill i got up to shut my light off and put my computer on the deskt o try and go into deep meditation and then it cut out, and i couldnt even get it over 3 bars on speed math. and i duno i had the clip directly attacted to my ear lobe. i keep having to screw around with the forehead electrode were its touching to try and get a good wave.

If youre experimenting with neurosky and arduino, i may be able to help, although the mindwave + arduino is a slightly more complicated setup. I think, but i am not sure, that all neurosky products output data in the same format, and the only difference is the wrapper that various language/platform specific plugins apply to the data. Perhaps the author could shed some light? Specifically, the difference between the mindflex and the mindset plugins?

i am waiting for one in the mail, wont have it for a while still though, i just bought it for mini projects and to get a better understanding of programming for know, wouldnt want to break my only mindwave to fuck around with it and an arduino, if i ever do though, ill buy a new one.. but i really like the idea of making a different mind wave that you can sleep with, and in your dream play music that would be really interesting!! atm i just gotta figure out why im not getting a good wave signal, your plly right im guna have to use some moisturizer or somthing, im frustrated atm as to why im not getting a good perfect wave quality..

My experience with neurosky products suggests that perfect wave quality is difficult at best to acheive. I have a mindset, which gives good quality as long as i dont move (useless for sleep for this and other reasons) i have several modded mindflex headbands, the original is downright painful and the duel uses conductive fabric which is terrible without eeg gel. Finally, i have a brainband, which i get best results with. High quality signal, though ou have to wear it rather tight, and i wake up with two red spots on my forehead.

OpenEEG is next on my list of things i need. I have pretty much hit the wall when it comes to the capability of Neurosky’s chips; what I am working on is just a bit more than they are capable of at this time. Though I do look forward to their upcoming products which look to be pretty exciting, some very full-featured biometric sensor suites. I am very much a DIYer so I like OpenEEG not only for the flexibility but also the price compared to, say, an EPOC. Which I imagine would be a real pain to sleep with (not to mention a pain in the pocketbook if it broke during the night!)

im sure theres a means of designing a more versatile eeg headset for sleeping with, somthing similar to those pictures of that strap around the head, also it would probably be best to implement some more electrodes into the thing, i suspect that is why the neuroskys mindwave isnt the greatest at perfect wave quality, and i guess not what i need to do the experimentalism i would like to conduct.

This is the state of the art. Halographs. To make one professionally, suit-up and get two halo headbands (one white tie, one black pullover and some iron on tape so you can make a smugglers belt in the middle for the cables and sensors). The halograph EEG has five electrodes for two channels and one for ref.

I rarely notice licence agreements…just usually click through! But this is the best by far:

LUCID LICENSE AGREEMENT
1. Usage. While using any lucidcode products, you agree: (i) to cease from all sin, (ii) to get virtue and (iii) to purify the mind.
2. Observance. You agree to observe the following percepts: (i) kill not; (ii) steal not; (iii) indulge in no forbidden sexual pleasure; (iv) lie not; (v) take no stupefying drug or liquor.

Hi Michael, I’m trying to develop a plugin for triggering it when REM sleep but I’d like to test my code when I’m working on it instead of waiting to the actual sleeping at night. Is there a way to “play” the LSD logs for seeing in realtime my development?
Thanks!

Hi, i have a problem with halovision plugin! After 4-6 hours of use, a red cross appears in the place of webcam feed with an error : System.InvalidOperationException , System.Drawing . How to solve this? thanks

7 Trackbacks / Pingbacks for this entry:

[…] The mask chiefly measures EEG and has a unique placement of a secondary sensor behind the ear for reference and data clarity, but also will employ EMG to capture eye movement. As for hardware: […] a NeuroSky chip (ThinkGear AM) wedded to an open-source software pack known as LucidScribe.

I have started using an OpenEEG headset to track my sleep patterns and prompt me … aware, but not awake, in REM phase, in order to acknowledge and start Lucid Dreaming.
[…] the meantime, read more at Lucid Scribe, Go Lucid, and OpenEEG.

[…] induction in the near future. I plan to invest in some biofeedback devices soon, and try IAmCoder's Lucid Scribe sleep monitor and REM detector, among others. Here's a topic I don't generally talk about with […]