We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
servo control over web (Read 1556 times)
servo control over web
Oct 14th, 2007, 10:57pm
 
It seems unlikely, but is there any way to run a Processing applet on the web that can send data to a linked Arduino program running on a dedicated machine in my studio? (And if not, does anyone have suggestions?)

Specifics:
Key press controls in Processing affect 2 servo motors hooked up through Arduino. In my dreams this would be integrated with a live webcam feed.
Re: servo control over web
Reply #1 - Oct 14th, 2007, 11:55pm
 
you could use the environmentxml library, which could do this if your web-based processing applet (e.g. in a webpage) is communicating with an applet running on your dedicated machine that is connected to the arduino. i think this is exactly what the library is used for, connecting remote "environments"... http://haque.co.uk/environmentxml/live/info.php
Re: servo control over web
Reply #2 - Oct 15th, 2007, 12:17am
 
beautiful! thank you.
Page Index Toggle Pages: 1