From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: Re: Mindwave Emacs. EEG reading and Data gathering in an org-mode buffer. Date: Wed, 5 Sep 2012 16:44:38 +0900 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9AI4-0002HC-3t for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 03:44:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9AHw-0007Dy-VC for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 03:44:48 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:60892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9AHw-0007Dj-QV for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 03:44:40 -0400 Received: by iagk10 with SMTP id k10so435519iag.0 for ; Wed, 05 Sep 2012 00:44:39 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jonathan Arkell Cc: "emacs-orgmode@gnu.org" Hi Jonathan, does that mean we can mark the point * TODO org-mode should read my mind from the requested org-mode feature list ;) I think your example is great but frighten to be very specific to really get attention. However, it might make a nice example for presentations etc. Similar like the emacs coffee maker stuff. On the other hand it might be very interesting to get a general idea how to add data from devices to org-mode. Many measurement devices utilize USB, RS232 or even network interfaces to communicate (beside of the industrial standards). It would be great to have infos how e.g. to read data from a serial port and add them to org-mode. The internet-famous Arduino board could serve as an example. Communication would be even more awesome. Once I tried to use org-babel talking to a device connected via USB (emulated serial port). The protocol was rather simple but could be lengthy to type in over and over again. I was hopping to define babel blocks which serve as macro containers and combine them into bigger scripts. However, this did not work as well, I guess partially because of the bridge of org->shell->terminal->command If you could help to describe e.g. a raw communication port for babel that might be interesting. #+begin_src: raw :port /dev/tty1 :serpar 115200,8,1,N :results output #+end_src #+result With the right set of parameters one could fetch real world data directly into org-mode files. Best regards Torsten On 5 September 2012 02:06, Jonathan Arkell wro= te: > Hi Orgers! > > I recently picked up a Neruosky Mindwave, a consumer level EEG device (it > reads brainwaves). Unfortunately, the software bundle doesn't include a > way to log the EEG levels. Since I am fairly decent at Elisp, I thought = I > would write a little library to interface with the mindwave, and store th= e > results. Naturally I thought of using an org-mode buffer for this. > > So I present, mindwave-emacs: > > > Mindwave-emacs.el really is just a low-level interface for emacs. Inside > of the org file are 2 examples (actually, fully working programs) that > show you how to work with it. > > - gather-into-org.el :: allows you to write data into an org-mode file > - solarized-mind.el :: uses the "eSense" Attention and Meditation > measurements to provide feedback to the user on their brian state. > > I am also working on a lower-level serial/binary connection to retrieve > data from the mindwave to help facilitate raw EEG logging. > > I don't know if this is going to be useful to anyone, but I figured some > people may be interested. > > Cheers! > __________________________________ > > > Jonathan Arkell > Sr. Developer > Inspired By Drum & Bass, Scheme, Kawaii > > p. 403.206.4377 > 1011 9th Ave SE, Suite 300 > > Calgary, AB, Canada T2G 0Y4 > > jonathana@criticalmass.com > criticalmass.com > > > > > > > The information contained in this message is confidential. It is intended= to be read only by the individual or entity named above or their designee.= If the reader of this message is not the intended recipient, you are hereb= y notified that any distribution of this message, in any form, is strictly = prohibited. If you have received this message in error, please immediately = notify the sender and delete or destroy any copy of this message. >