Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Serial Interface
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 26 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
savanevery  
View profile  
 More options Oct 15 2009, 12:41 am
From: savanevery <savanev...@gmail.com>
Date: Wed, 14 Oct 2009 21:41:02 -0700 (PDT)
Local: Thurs, Oct 15 2009 12:41 am
Subject: Serial Interface
Hi All,

One thing that Processing has that Processing JS is missing is Serial
access.  I wrote a Java Applet to JavaScript bridge to allow that..
Perhaps it could be adopted by Processing.js?

http://www.walking-productions.com/jsserial/new/JSSerial.html

-shawn


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Longson (nym)  
View profile  
 More options Oct 15 2009, 2:02 pm
From: "Tom Longson (nym)" <toml...@gmail.com>
Date: Thu, 15 Oct 2009 11:02:48 -0700
Local: Thurs, Oct 15 2009 2:02 pm
Subject: Re: Serial Interface

Wow cool!

Not sure if this makes sense to be part of the main library, since it's a
bit specialized, but thank you for adding to the processing-js community. I
think at least a few people will have a lot of fun with this.

Maybe it would be worth putting together a python or ruby server side client
too? Then you could do dynamic server driven stuff similar to
http://lethain.com/entry/2008/may/20/updating-processing-js-graphics-...

Cheers,
Tom Longson (nym)
------------------------------
http://tomlongson.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
@F1LT3R  
View profile  
 More options Oct 15 2009, 6:10 pm
From: "@F1LT3R" <f1l...@hyper-metrix.com>
Date: Thu, 15 Oct 2009 18:10:51 -0400
Local: Thurs, Oct 15 2009 6:10 pm
Subject: Re: Serial Interface
Nice! This is really useful.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cary Hull  
View profile  
 More options Oct 15 2009, 6:17 pm
From: Cary Hull <cary.h...@gmail.com>
Date: Thu, 15 Oct 2009 15:17:22 -0700
Local: Thurs, Oct 15 2009 6:17 pm
Subject: Re: Serial Interface

On Thu, Oct 15, 2009 at 3:10 PM, @F1LT3R <f1l...@hyper-metrix.com> wrote:

> Nice! This is really useful.

Really? What are the use cases for such a thing?

--
01100011 01100001 01110010 01111001

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Longson (nym)  
View profile  
 More options Oct 15 2009, 6:20 pm
From: "Tom Longson (nym)" <toml...@gmail.com>
Date: Thu, 15 Oct 2009 15:20:09 -0700
Local: Thurs, Oct 15 2009 6:20 pm
Subject: Re: Serial Interface

Off the top of my head, standalone art pieces, although I suppose Processing
(minus the .js) would work for this too.

Cheers,
Tom Longson (nym)
------------------------------
http://tomlongson.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cary Hull  
View profile  
 More options Oct 15 2009, 6:24 pm
From: Cary Hull <cary.h...@gmail.com>
Date: Thu, 15 Oct 2009 15:24:58 -0700
Local: Thurs, Oct 15 2009 6:24 pm
Subject: Re: Serial Interface

On Thu, Oct 15, 2009 at 3:20 PM, Tom Longson (nym) <toml...@gmail.com>wrote:

> Off the top of my head, standalone art pieces, although I suppose
> Processing (minus the .js) would work for this too.

That's what I mean. I can't imagine what I'd want to communicate with over
serial from a web browser.

--
01100011 01100001 01110010 01111001

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
@F1LT3R  
View profile  
 More options Oct 15 2009, 6:36 pm
From: "@F1LT3R" <f1l...@hyper-metrix.com>
Date: Thu, 15 Oct 2009 18:36:19 -0400
Local: Thurs, Oct 15 2009 6:36 pm
Subject: Re: Serial Interface
*Primary use case:*
To plug your brain into Processing.js Carry, and delete your locally
scoped 'I must tell everyone this is pointless.' reflex.

*Secondary use case:*
One of my clients builds web apps for teaching in the classroom, and
uses <Canvas> because it runs well in their environments; they find that
using Flash or Java for graphics causes refreshing problems to the point
of actual in-usability. Part of their work involves interactive charts,
built in real-time from scientific measuring equipment. These measuring
devices plug in to... well... serial ports.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cary Hull  
View profile  
 More options Oct 15 2009, 6:39 pm
From: Cary Hull <cary.h...@gmail.com>
Date: Thu, 15 Oct 2009 15:39:35 -0700
Local: Thurs, Oct 15 2009 6:39 pm
Subject: Re: Serial Interface

On Thu, Oct 15, 2009 at 3:36 PM, @F1LT3R <f1l...@hyper-metrix.com> wrote:

> *Primary use case:*
> To plug your brain into Processing.js Carry, and delete your locally
> scoped 'I must tell everyone this is pointless.' reflex.

I didn't say it was pointless, just that use cases weren't obvious. :)

> *Secondary use case:*
> One of my clients builds web apps for teaching in the classroom, and
> uses <Canvas> because it runs well in their environments; they find that
> using Flash or Java for graphics causes refreshing problems to the point
> of actual in-usability. Part of their work involves interactive charts,
> built in real-time from scientific measuring equipment. These measuring
> devices plug in to... well... serial ports.

Ok. Anything else?

--
01100011 01100001 01110010 01111001

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
@F1LT3R  
View profile  
 More options Oct 15 2009, 6:47 pm
From: "@F1LT3R" <f1l...@hyper-metrix.com>
Date: Thu, 15 Oct 2009 18:47:31 -0400
Local: Thurs, Oct 15 2009 6:47 pm
Subject: Re: Serial Interface
 | Anything else?

A web based multi-player Processing arcade-style game where the looser
gets an electric shock. If I build it Carry, will you play? Even better,
would you agree to be filmed playing against me on YouTube? Where do you
live?

Al


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cary Hull  
View profile  
 More options Oct 15 2009, 6:48 pm
From: Cary Hull <cary.h...@gmail.com>
Date: Thu, 15 Oct 2009 15:48:57 -0700
Local: Thurs, Oct 15 2009 6:48 pm
Subject: Re: Serial Interface

On Thu, Oct 15, 2009 at 3:47 PM, @F1LT3R <f1l...@hyper-metrix.com> wrote:

>  | Anything else?

> A web based multi-player Processing arcade-style game where the looser
> gets an electric shock. If I build it Carry, will you play? Even better,
> would you agree to be filmed playing against me on YouTube? Where do you
> live?

Hmm, this isn't a very convincing use case.

--
01100011 01100001 01110010 01111001

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Longson (nym)  
View profile  
 More options Oct 15 2009, 7:29 pm
From: "Tom Longson (nym)" <toml...@gmail.com>
Date: Thu, 15 Oct 2009 16:29:30 -0700
Local: Thurs, Oct 15 2009 7:29 pm
Subject: Re: Serial Interface

F1LT3R, if Cary doesn't, I will :-)

Cheers,
Tom Longson (nym)
------------------------------
http://tomlongson.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
@F1LT3R  
View profile  
 More options Oct 15 2009, 9:25 pm
From: "@F1LT3R" <f1l...@hyper-metrix.com>
Date: Thu, 15 Oct 2009 21:25:03 -0400
Local: Thurs, Oct 15 2009 9:25 pm
Subject: Re: Serial Interface
Really?  Are you mad??
You'll get totally pwnd!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Longson (nym)  
View profile  
 More options Oct 15 2009, 9:30 pm
From: "Tom Longson (nym)" <toml...@gmail.com>
Date: Thu, 15 Oct 2009 18:30:27 -0700
Local: Thurs, Oct 15 2009 9:30 pm
Subject: Re: Serial Interface

Dude, I pwn noobs.

Cheers,
Tom Longson (nym)
------------------------------
http://tomlongson.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
@F1LT3R  
View profile  
 More options Oct 15 2009, 9:52 pm
From: "@F1LT3R" <f1l...@hyper-metrix.com>
Date: Thu, 15 Oct 2009 21:52:33 -0400
Local: Thurs, Oct 15 2009 9:52 pm
Subject: Re: Serial Interface
Bring it soldier! I will even let you make the game. :) (if you promise
not to cheat)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Leppert  
View profile  
 More options Oct 15 2009, 6:30 pm
From: Greg Leppert <g...@letsbequiet.com>
Date: Thu, 15 Oct 2009 17:30:43 -0500
Local: Thurs, Oct 15 2009 6:30 pm
Subject: Re: Serial Interface

On Oct 15, 2009, at 5:24 PM, Cary Hull wrote:

> That's what I mean. I can't imagine what I'd want to communicate  
> with over serial from a web browser.

I can imagine plenty of applications, for instance a physical gallery  
piece affected by participants across the web.

--Greg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cary Hull  
View profile  
 More options Oct 16 2009, 11:30 am
From: Cary Hull <cary.h...@gmail.com>
Date: Fri, 16 Oct 2009 08:30:17 -0700
Local: Fri, Oct 16 2009 11:30 am
Subject: Re: Serial Interface

On Thu, Oct 15, 2009 at 3:30 PM, Greg Leppert <g...@letsbequiet.com> wrote:
> On Oct 15, 2009, at 5:24 PM, Cary Hull wrote:

> That's what I mean. I can't imagine what I'd want to communicate with over
> serial from a web browser.

> I can imagine plenty of applications, for instance a physical gallery piece
> affected by participants across the web.

Hmm, why not just do that server side?

--
01100011 01100001 01110010 01111001

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nuxdie  
View profile  
 More options Oct 16 2009, 12:16 pm
From: nuxdie <nux...@gmail.com>
Date: Fri, 16 Oct 2009 09:16:01 -0700 (PDT)
Local: Fri, Oct 16 2009 12:16 pm
Subject: Re: Serial Interface
So, guys, have you any thoughts on how to implement this in
JavaScript?
Really usefull and awesome plugin, thx.)

On Oct 16, 2:10 am, "@F1LT3R" <f1l...@hyper-metrix.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cary Hull  
View profile  
 More options Oct 16 2009, 12:32 pm
From: Cary Hull <cary.h...@gmail.com>
Date: Fri, 16 Oct 2009 09:32:22 -0700
Local: Fri, Oct 16 2009 12:32 pm
Subject: Re: Serial Interface

On Fri, Oct 16, 2009 at 9:16 AM, nuxdie <nux...@gmail.com> wrote:

> So, guys, have you any thoughts on how to implement this in
> JavaScript?

What do you mean exactly? jsserial simply acts as a bridge to java code,
which needs to
be granted access to system resources.

Also, folks, getting the applet setup so it can access the serial port is
more involved than one might think:
http://forums.sun.com/thread.jspa?messageID=9984491

--
01100011 01100001 01110010 01111001

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
@F1LT3R  
View profile  
 More options Oct 16 2009, 1:14 pm
From: "@F1LT3R" <f1l...@hyper-metrix.com>
Date: Fri, 16 Oct 2009 13:14:25 -0400
Local: Fri, Oct 16 2009 1:14 pm
Subject: Re: Serial Interface

> Hmm, why not just do that server side?

>     --Greg

If I understand your thoughts correctly... it's actually slower to push
data from hardware through a server like Apache and you have to assume
your user will be running a server also. Using a plug in you are getting
closer to hardware speeds with less disk writing etc. You could set up
some back end services to listen and hold something in memory, but I bet
you it would still be slower than using a Java pugin.

I was pushing MIDI through PHP that was then pushed into the Window
through an iFrame. Which was quick enough really, but not as fast as it
could have been Java hardware access.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cary Hull  
View profile  
 More options Oct 16 2009, 1:18 pm
From: Cary Hull <cary.h...@gmail.com>
Date: Fri, 16 Oct 2009 10:18:03 -0700
Local: Fri, Oct 16 2009 1:18 pm
Subject: Re: Serial Interface

No. In the case of an art exihibit - the web (server side) app itself could
be hooked to whatever the serial device is.
Greg's scenerio would involve getting the updates to the serial enabled
browser somehow (comet, etc). You'd still
have some kind of specialized server component in that setup.

> I was pushing MIDI through PHP that was then pushed into the Window
> through an iFrame. Which was quick enough really, but not as fast as it
> could have been Java hardware access.

--
01100011 01100001 01110010 01111001

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
savanevery  
View profile  
 More options Oct 17 2009, 8:45 am
From: savanevery <savanev...@gmail.com>
Date: Sat, 17 Oct 2009 05:45:13 -0700 (PDT)
Local: Sat, Oct 17 2009 8:45 am
Subject: Re: Serial Interface
Hi Tom,

Yes, in a couple of weeks I plan on putting together a PHP script and
an example using AJAX to grab data from serial through JavaScript..

I agree that it doesn't belong in the main project, just something
that people who are using Processing.js might be interested in since
it one of those things that Processing itself has but Processing.js
doesn't.

-s

On Oct 15, 2:02 pm, "Tom Longson (nym)" <toml...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
savanevery  
View profile  
 More options Oct 17 2009, 8:48 am
From: savanevery <savanev...@gmail.com>
Date: Sat, 17 Oct 2009 05:48:05 -0700 (PDT)
Local: Sat, Oct 17 2009 8:48 am
Subject: Re: Serial Interface
Right..  A (self) signed Java Applet that acts as a bridge.  The hard
part was getting through all of the Java and JavaScript sandbox
issues.  Unfortunately when you use JavaScript to access Java Applets
the code that the JavaScript calls acts as if it is unsigned.  This
Applet uses a thread to take care of those issues.

On Oct 16, 12:32 pm, Cary Hull <cary.h...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cary Hull  
View profile  
 More options Oct 17 2009, 1:18 pm
From: Cary Hull <cary.h...@gmail.com>
Date: Sat, 17 Oct 2009 10:18:37 -0700
Local: Sat, Oct 17 2009 1:18 pm
Subject: Re: Serial Interface

On Sat, Oct 17, 2009 at 5:48 AM, savanevery <savanev...@gmail.com> wrote:

> Right..  A (self) signed Java Applet that acts as a bridge.  The hard
> part was getting through all of the Java and JavaScript sandbox
> issues.  Unfortunately when you use JavaScript to access Java Applets
> the code that the JavaScript calls acts as if it is unsigned.  This
> Applet uses a thread to take care of those issues.

So, what are you using it for? :)

--
01100011 01100001 01110010 01111001

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
savanevery  
View profile  
 More options Oct 18 2009, 10:16 pm
From: savanevery <savanev...@gmail.com>
Date: Sun, 18 Oct 2009 19:16:57 -0700 (PDT)
Local: Sun, Oct 18 2009 10:16 pm
Subject: Re: Serial Interface
I made it as I am teaching a class in JavaScript/PHP NYU's Interactive
Telecommunications Program that is normally taught in Processing and
one of the things that needs to be accomplished in the course is to
interface with devices via serial.  JavaScript made more sense to me
than teaching how to setup a server and talk serial through PHP.  I do
agree that it is arguable which is the better way to go..

I do think that it makes for an interesting space to explore
alternative input devices.  One compelling thing that I can think of
is that it would work well for experimental assistive technology
(mouth control of a browser or single finger).  In general, I think it
opens the door for a lot experimentation along these lines.

Browsers have been limited to a mouse and keyboard for way too long.
Perhaps certain pages should use physical dials and buttons and others
use gloves with accelerometers..  Isn't Google Maps just ripe for
that??

On Oct 17, 1:18 pm, Cary Hull <cary.h...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cary Hull  
View profile  
 More options Oct 18 2009, 10:38 pm
From: Cary Hull <cary.h...@gmail.com>
Date: Sun, 18 Oct 2009 19:38:41 -0700
Local: Sun, Oct 18 2009 10:38 pm
Subject: Re: Serial Interface

Thanks. Quite visionary.

--
01100011 01100001 01110010 01111001

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 26   Newer >
« Back to Discussions « Newer topic     Older topic »