emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Torsten Wagner <torsten.wagner@gmail.com>
To: Jonathan Arkell <jonathana@criticalmass.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Mindwave Emacs. EEG reading and Data gathering in an org-mode buffer.
Date: Wed, 5 Sep 2012 16:44:38 +0900	[thread overview]
Message-ID: <CAPaq-gNV_JrK2TBLv2wQu8NOQsvxG3G+8Xj37Aptr6khG2RKVg@mail.gmail.com> (raw)
In-Reply-To: <CC6B9119.1634E%jonathana@criticalmass.com>

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
<command>
<command>
<command>
<command>
#+end_src
#+result
<response>
<response>
<response>
<response>

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 <jonathana@criticalmass.com> wrote:
> 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 the
> 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 hereby 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.
>

  reply	other threads:[~2012-09-05  7:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04 17:06 Mindwave Emacs. EEG reading and Data gathering in an org-mode buffer Jonathan Arkell
2012-09-05  7:44 ` Torsten Wagner [this message]
2012-09-05 13:45 ` joakim
2012-09-05 18:30   ` Kyle Machulis
2012-09-05 18:44     ` Nick Dokos
2012-09-05 23:02     ` Jonathan Arkell
2012-09-07 11:19       ` [OT] " brian powell
2012-09-07 23:03         ` brian powell
2012-09-05 22:40   ` brian powell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPaq-gNV_JrK2TBLv2wQu8NOQsvxG3G+8Xj37Aptr6khG2RKVg@mail.gmail.com \
    --to=torsten.wagner@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jonathana@criticalmass.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).