• Lucid Dreaming - Dream Views




    Page 1 of 2 1 2 LastLast
    Results 1 to 25 of 38
    Like Tree1Likes

    Thread: Homemade EEG

    1. #1
      Member
      Join Date
      Mar 2011
      LD Count
      300+
      Gender
      Location
      United Kingdon
      Posts
      143
      Likes
      42

      Homemade EEG

      Hi all. I've long wanted an EEG. For those who don't know, an EEG measures tiny voltages across the brain frequency range to map electrical activity in parts of the brain. We can use it to see beta, alpha, gamma, theta, delta, epsilon, etc brain wave activity in the different areas that we can monitor. Unfortunately, a professional one, even second hand, is too expensive.

      I am building an OpenEEG device openeeg.sourceforge.net/doc/ and I've gone for the maximum configuration/complexity with 6 channels. 6 channels means that we can measure voltage differences across 6 different areas.

      I have three purposes for it;

      1. Use it for neurofeedback training - i.e. practice with it to achieve the desired isolated activity/synchronous activity in/across different brain areas.

      2. Look at meditation sessions, regular sleep, DILDs and WILDs. I have a good idea of what I expect to see here, but would be very interested to look at any interesting anomalys.

      3. Test Thomas Yuschak's explainations and research on LD supplements, and tie the different supplements into modified brainwave activity.

      I have already set up a push button USB interface so that I can have my finger over a small touch sensitive button during any practice sessions. All I need do is apply the slightest bit more pressure over it, and it will log the timestamp. This will not interrupt meditation sessions or WILD. I plan to apply small pressure each time I 'switch out' another step through the relaxation/WILD process, and then tie up my markers with the brainwave activity.

      If anyone is interested in any progress I make on this or has any other suggestions for uses or research in this area, please let me know and I will update the thread

    2. #2
      Member nina's Avatar
      Join Date
      Aug 2004
      Gender
      Posts
      10,788
      Likes
      2592
      DJ Entries
      17
      I am definitely interested. I've wanted one myself for years now. That's pretty awesome that you made one yourself. How accurate is it? and how can you tell without a real EEG?

    3. #3
      Member
      Join Date
      Mar 2011
      LD Count
      300+
      Gender
      Location
      United Kingdon
      Posts
      143
      Likes
      42
      Still in progress - should be either finished or failed within 2 weeks . I suspect that as long as the circuitry and cabling is well shielded, and the electrodes make good contact, it will be quite accurate. I wont need a real EEG to benchmark accuracy. An inaccurate EEG won't show say loads of theta waves when there are really loads of beta waves, instead, there would just be inconsistent results everywhere and lots of noise that makes the brainwaves indistinguishable. I think that as long as I'm able to consistently repeat experiments with the same results, and see minimum line noise (there is a specially fitted DRL circuit that's supposed to help), the machine is accurate.
      Last edited by apsinvo; 03-15-2011 at 11:00 PM. Reason: typo

    4. #4
      Member Jplecas's Avatar
      Join Date
      Dec 2010
      Gender
      Location
      Arizona
      Posts
      6
      Likes
      2
      DJ Entries
      2
      wow! Last week i was thinking about trying something like this for biofeedback purposes. Am very glad you posted the site where you are getting your resources from. Ill have to look it over later tonight. I would be interested in seeing photos of your progress and possibly trying this myself.

    5. #5
      The First Lightbender Achievements:
      Tagger First Class Made lots of Friends on DV Referrer Bronze 5000 Hall Points Veteran First Class
      IAmCoder's Avatar
      Join Date
      Dec 2010
      Location
      Down Under
      Posts
      1,078
      Likes
      564
      Sweet bro, I have been working on an app for this, called "Lucid Scribe". It graphs and logs everything and has triggers that can play a song or recording when certain conditions are met. Let me know if you want to test, and I can get you the beta version. Thus far, however, I have only been able to get it to accurately trigger on the REM state through an accelerometer which picks up blinking. But perhaps with 6 channels it might work better on the EEG.

    6. #6
      Administrator Achievements:
      Veteran First Class Made lots of Friends on DV Populated Wall Vivid Dream Journal Tagger First Class Referrer Bronze 10000 Hall Points
      anderj101's Avatar
      Join Date
      Sep 2010
      LD Count
      ∞ ÷ 0
      Gender
      Location
      USA
      Posts
      2,817
      Likes
      5859
      DJ Entries
      230
      I'm very interested to hear how this project works out. I've always been interested in the EEG devices, but never stumbled upon the OpenEEG project before.

    7. #7
      Member
      Join Date
      Mar 2011
      LD Count
      300+
      Gender
      Location
      United Kingdon
      Posts
      143
      Likes
      42
      Quote Originally Posted by IAmCoder View Post
      Sweet bro, I have been working on an app for this, called "Lucid Scribe". It graphs and logs everything and has triggers that can play a song or recording when certain conditions are met. Let me know if you want to test, and I can get you the beta version. Thus far, however, I have only been able to get it to accurately trigger on the REM state through an accelerometer which picks up blinking. But perhaps with 6 channels it might work better on the EEG.
      Sure. I'd love to. I'm using active-robots.com/products/phidgets/sensors-phidgets-force-pressure.shtml to measure REM sleep. They're technically meant for measuring force, but when taped to the closed eyelids, during NREM sleep, they remain idle, only moving +/- 2 on a scale of 0-1000. During REM sleep they fluctuate +/- 30 so is easily detectable

    8. #8
      Banned
      Join Date
      Nov 2007
      Gender
      Posts
      1,674
      Likes
      200
      The only time I was interested in an EEG was when I started learning things in lucid dreaming. I thought I might have somekind of brain malfunction, so I schedualed an EEG, which, turned out normal.
      Making one would be interesting, but learning how to read it might pose a challenge.

    9. #9
      The First Lightbender Achievements:
      Tagger First Class Made lots of Friends on DV Referrer Bronze 5000 Hall Points Veteran First Class
      IAmCoder's Avatar
      Join Date
      Dec 2010
      Location
      Down Under
      Posts
      1,078
      Likes
      564
      Quote Originally Posted by apsinvo View Post
      Sure. I'd love to. I'm using active-robots.com/products/phidgets/sensors-phidgets-force-pressure.shtml to measure REM sleep. They're technically meant for measuring force, but when taped to the closed eyelids, during NREM sleep, they remain idle, only moving +/- 2 on a scale of 0-1000. During REM sleep they fluctuate +/- 30 so is easily detectable
      Perfect. I have written Lucid Scribe plugins for other Phidgets sensors and their SDK is great, so I should have this ready for you in no time...

    10. #10
      The First Lightbender Achievements:
      Tagger First Class Made lots of Friends on DV Referrer Bronze 5000 Hall Points Veteran First Class
      IAmCoder's Avatar
      Join Date
      Dec 2010
      Location
      Down Under
      Posts
      1,078
      Likes
      564
      Last edited by IAmCoder; 03-18-2011 at 02:49 PM.

    11. #11
      Member
      Join Date
      Mar 2011
      LD Count
      300+
      Gender
      Location
      United Kingdon
      Posts
      143
      Likes
      42
      Sorry for the late reply bud. I didn't see your reply. Yes, that's the one I'm using. Depending on what you have developed already, you could just take the force sensitive resistor and use it as-is, rather than getting the interface kit too..

    12. #12
      The First Lightbender Achievements:
      Tagger First Class Made lots of Friends on DV Referrer Bronze 5000 Hall Points Veteran First Class
      IAmCoder's Avatar
      Join Date
      Dec 2010
      Location
      Down Under
      Posts
      1,078
      Likes
      564
      Ok, here is Lucid Scribe in all its beta glory. For now it should only pick up your CPU usage - just to show some functionality, so don't expect anything.

      I will start on the force sensor plugin right away. How far are you with the EEG device?

      Who can guess what file extension it will use to save Lucid Scribe Data!?

      And if anyone has biofeedback hardware that you would like a plugin for and can help me test - just let me know...

    13. #13
      Member
      Join Date
      Mar 2011
      LD Count
      300+
      Gender
      Location
      United Kingdon
      Posts
      143
      Likes
      42
      .lsd Software looks real nice. I'm still quite far with the EEG. In short, it works. It does detect and amplify signals correctly, and has produced some meaningful results on an oscilloscope. Actually hooking it up and reading data on the PC is some way away yet, although I'm 99% sure that I'm on the right track and that this is actually going to work, and that I'm not going to come up against some unsolvable issue at this point.

      One thing you might want to look to integrate is the neurosky headset - I have one of those hopefully arriving tomorrow although according to DHL it's been damaged in transit :<

    14. #14
      The First Lightbender Achievements:
      Tagger First Class Made lots of Friends on DV Referrer Bronze 5000 Hall Points Veteran First Class
      IAmCoder's Avatar
      Join Date
      Dec 2010
      Location
      Down Under
      Posts
      1,078
      Likes
      564
      Thanks! NeuroSky looks like it has some great support so I am sure we will be able to integrate it if the damage isn't irreparable. Were you able to run the base version of Lucid Scribe on your machine? And any luck with the test app for the force sensor?

    15. #15
      Member
      Join Date
      Mar 2011
      LD Count
      300+
      Gender
      Location
      United Kingdon
      Posts
      143
      Likes
      42
      I didn't run it just yet - note that you can use Phidget's API and open source drivers to fetch info from their sensors. Got the mindwave from Neurosky today. I'm not best impressed with it. I mean, you can see that it works in principle, i.e. when you breathe and clear your thoughts, the meditation arrow goes up, and when you focus intently on an object, the attention bar goes up. That's about as good as it gets though - great for 30 minutes of messing around. The raw EEG output is all over the place, looks to be quite inaccurate. There's only 1 channel which makes anything more advanced impossible. I've emailed to ask them if I can return it, and if yes, I might look at the emotiv one instead

    16. #16
      The First Lightbender Achievements:
      Tagger First Class Made lots of Friends on DV Referrer Bronze 5000 Hall Points Veteran First Class
      IAmCoder's Avatar
      Join Date
      Dec 2010
      Location
      Down Under
      Posts
      1,078
      Likes
      564
      Bummer about the mindwave. I am using Phidget's SDK in the test app, that is just their InterfaceKit-simple sample with an extra line of code to log the output to file. If you have Visual Studio or want to download the Express Edition, you can just run the sample and send me the screenshot instead.

    17. #17
      Member
      Join Date
      Mar 2011
      LD Count
      300+
      Gender
      Location
      United Kingdon
      Posts
      143
      Likes
      42
      Well my friends, I have completed the OPENEEG and unfortunately I have good and bad news. The good news is that it works. The bad news is that it doesn't work close to well enough for my purposes here.

      It works in so far as I can attach it and focus all my energy on something, to watch beta rise. I can then shut my eyes, clear my mind and take some meditative breaths for about 15 seconds, and see beta drop and theta rise. Quite impressive to see this in action.

      Unfortunately, there is way too much noise, signal distortion and mess to really perform any real analysis further than watching meditation vs focus.

      I have bitten the bullet as such, and purchased the Emotiv Research Edition ($750). I'm awaiting it's delivery, and very much looking forward to the results

    18. #18
      The First Lightbender Achievements:
      Tagger First Class Made lots of Friends on DV Referrer Bronze 5000 Hall Points Veteran First Class
      IAmCoder's Avatar
      Join Date
      Dec 2010
      Location
      Down Under
      Posts
      1,078
      Likes
      564
      Lucky man - let us know how the Research Edition works out for you.

      Have you had a chance to run the Phidgets test app or sample code?

    19. #19
      Member futureghost's Avatar
      Join Date
      Apr 2011
      LD Count
      over 9000
      Gender
      Location
      Den Haag
      Posts
      29
      Likes
      4

      You're making your own EEG?!

      That's F**king awesome.

    20. #20
      The First Lightbender Achievements:
      Tagger First Class Made lots of Friends on DV Referrer Bronze 5000 Hall Points Veteran First Class
      IAmCoder's Avatar
      Join Date
      Dec 2010
      Location
      Down Under
      Posts
      1,078
      Likes
      564
      What app did you use to display the output of the OpenEEG? Any chance we can get a screenshot, please?

    21. #21
      Ev
      Ev is offline
      Member Ev's Avatar
      Join Date
      Dec 2003
      Location
      Earth
      Posts
      2,381
      Likes
      145
      It's really cool to find this thread, and it's great to hear that you got this to work!

      I also wanted an EEG for quite some time. Would it be possible to combine the noisy homemade EEG with noisy homemade pulse oximetry, skin conductivity, actigraphy, breathing rate or something else to get a better understanding of the person's mental state?

      One of my projects involves a wearable sensor array based on Lilypad Arduino. It has an accelerometer, temperature sensor and (hopefully) will have a pulse oximeter. It is bluetooth enabled and should send data to an Android phone. The phone does data processing, and has an accelerometer and (light sensor?). I got the stuff ready, sitting on my desk, but my hands are tied with my latest Android project. It already involves actigraphy, and works. The next step would be to integrate bluetooth enabled EEG, or pulse oximetry sensor...

      Together, there's a lot of data, maybe it would lead somewhere
      Last edited by Ev; 04-19-2011 at 05:40 AM.

    22. #22
      Member Jplecas's Avatar
      Join Date
      Dec 2010
      Gender
      Location
      Arizona
      Posts
      6
      Likes
      2
      DJ Entries
      2
      any updates apsinvo? I really think some useful information could come from this kind of work and hope you are still at it!

      joseph

    23. #23
      Member
      Join Date
      Mar 2011
      LD Count
      300+
      Gender
      Location
      United Kingdon
      Posts
      143
      Likes
      42
      Hi all, sorry for the delayed reply. My homebrew EEG is no good. In the basic form, it does work. For actual meaningful results, it is no good. There is too much noise, and the device is too unreliable and needs manual tweaking and calibration all the time.
      I am however still just as interested as before. I have purchased the RESEARCH edition of Emotiv's headset which includes raw EEG output and capture. It's a very good headset. I have performed several meditations with the headset on, and recorded meaningful and verifiable results. Also several 'active' tasks like math and playing piano and also noted expected results. Now the issue is, if you look at the picture of the headset on their site, you will see you can not lie down in it, or put your head on anything. How can you sleep in it? I am desperate to record the sleep cycles with it, and also an LD. It seems that the sensor pads can be removed, and a length of cable can be soldered to each plate, to extend it. How I can actually make a good reliable headset that will not fail as soon as I put my head down, and that i can sleep comfortably in (otherwise I will never be able to sleep or LD) I am not sure at all... Any suggestions?

      Edit: If anyone wants EEG results or brain map pictures of me performing any particular task though (within reason ), I will be happy to send it

    24. #24
      Member
      Join Date
      Mar 2011
      LD Count
      300+
      Gender
      Location
      United Kingdon
      Posts
      143
      Likes
      42
      Quote Originally Posted by IAmCoder View Post
      What app did you use to display the output of the OpenEEG? Any chance we can get a screenshot, please?
      Not using the OpenEEG any more but I used OPENVIBE with it. I can send pictures of the Emotiv EEG output if you want of any particular task

    25. #25
      Member Jplecas's Avatar
      Join Date
      Dec 2010
      Gender
      Location
      Arizona
      Posts
      6
      Likes
      2
      DJ Entries
      2
      that looks like a fantastic headset. and the price is much less than i thought it would be. i would be interested in seeing an example of a meditation session. also would be interested in seeing what you were able to get with the DIY setup, just to compare how clear it is, since i was considering making one too. as far as lying down with the headset on.. that does look like an issue, how it extends far out. There is no way to rotate it? to get the headset frame rotated over the top of your head rather than the back? if not, i dont see why you wouldnt be able to just use a narrow pillow down towards your neck. and another pillow for supporting the top of your head. im sure there is a way to make it happen. It looks like a really great headset. I havent seen any wireless ones like that before. i would love to pick one of those up!
      Last edited by Jplecas; 04-23-2011 at 10:47 PM.

    Page 1 of 2 1 2 LastLast

    Similar Threads

    1. Some homemade music :)
      By SourCherryBoy in forum Artists' Corner
      Replies: 9
      Last Post: 12-16-2010, 08:40 PM
    2. Homemade beverage?
      By ThePreserver in forum Lucid Aids
      Replies: 3
      Last Post: 04-10-2010, 06:03 PM
    3. New Avatar = Homemade Fail
      By NicklePickle in forum Artists' Corner
      Replies: 4
      Last Post: 03-29-2010, 02:15 PM
    4. Homemade Chai Tea
      By Bearsy in forum Senseless Banter
      Replies: 9
      Last Post: 12-30-2008, 09:23 PM
    5. 23 days later - Homemade movie
      By Jepster in forum Entertainment
      Replies: 3
      Last Post: 08-11-2007, 05:29 PM

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •