Sketch/Application requests

Discussion about any of the included sketches (i.e. WebServer), or user-generated applications.

Re: Sketch/Application requests

Postby suenteus » Tue Mar 02, 2010 5:19 am

One more for an OSC sketch. I work with artists and musicians as a sort of technical facilitator. A lot of the folks I work with have been clamoring for iPhone/iTouch-based projects.

At the moment the only ways of interfacing with an iPhone/iTouch/(and I guess we can add iPad) are via WiFI, Bluetooth, or Serial.

Serial - iP*d serial control from Arduino is shaky at best, mostly because of Apple's past refusal to open up the protocol. They recently have made small concessions in this area, and with the iPad release I expect them to open up the serial port quite a bit more. Except in cases where timing is absolutely critical (eg. rhythm performance) most people prefer wireless.

Bluetooth - Somewhat better supported by Apple than serial. This is what I've been using for most projects thus far,

WiFi - SDK support for WiFi is really well supported. So if I could use WiFi for everything I would. Problem is that you normally need an intermediary network - fine for installations, but a huge pain for musicians wanting to use their iPhone/iTouch as a arduino-controllable sound source. The WiShield's ad-hoc networking solves this dilemma, and also opens up so many more possibilities (controlling the audience's iPhones via a single arduino). The only missing piece of the puzzle is OSC support. :)
suenteus
 
Posts: 1
Joined: Tue Mar 02, 2010 5:00 am

Re: Sketch/Application requests

Postby armatronix » Tue Mar 16, 2010 11:32 am

Hi, I'm working on the iPhone > OSC > Arduino problem, but I'm not a programmer and therefore I'm having a lot of trouble trying to figure out how to do anything with this. [rant] Seems to be the main problem with this whole DIY empowerment thing, you need a computer science degree to get anything working.[/rant]

Could someone please post some sample code to simply echo incoming UDP to the serial monitor? That should be really easy, right?

Thanks,
-Hans
armatronix
 
Posts: 3
Joined: Tue Mar 16, 2010 11:13 am

Re: Sketch/Application requests

Postby risla » Tue Mar 23, 2010 3:37 pm

Hi everyone!

Anyone intrested in the osc possibilities of the wishield might like this guys work.
[url]http://www.makesomecode.com/2009/12/30/arduino-osc-iphone-and-dmx/
[/url]
heads up.
risla
risla
 
Posts: 4
Joined: Sat Oct 10, 2009 6:34 am

Re: Sketch/Application requests

Postby xecutiv » Fri Apr 23, 2010 6:35 am

A Serial-toWiFi server, with an ad-hoc connection? I thought this BlackWidow would be good for sending and receiving RS-232 level serial data down a TCP socket, with no added carriage returns, line feeds, or null characters. What goes in should be exactly what goes out. Should be easy but I am failing miserably :(
xecutiv
 
Posts: 12
Joined: Thu Apr 15, 2010 10:10 am

Re: Sketch/Application requests

Postby John_Ryan » Fri Apr 23, 2010 11:26 am

xecutiv wrote:A Serial-toWiFi server, with an ad-hoc connection? I thought this BlackWidow would be good for sending and receiving RS-232 level serial data down a TCP socket, with no added carriage returns, line feeds, or null characters. What goes in should be exactly what goes out. Should be easy but I am failing miserably :(


If you've got characters coming out then thats progress. That being the case, you only need to filter out the header 'junk' and sscanf might be a good place to start.
John_Ryan
 
Posts: 155
Joined: Thu Jun 04, 2009 11:24 pm

Re: Sketch/Application requests

Postby DMCC » Sun May 02, 2010 3:09 am

Hi all

I have recently purchased a Blackwidow and have been able to get it serving pages on my local Wifi LAN

I too am interested in OSC based applications. I have tochOSC on my iphone have this successfully talking to the arduino via my windos XP PC via the USB connection. ie Iphon --> wifi ----> PC running Processing sketch ----> serial USB ----> Arduino

I would be very interested in any info on how to pass OSC messages directly to the blackwidow via wifi LANie
Iphon --> wifi ---->blackwidow
My current project is to control a matrix of RGB LEDs imbedded in a coffee table

Any advice much appreciated
David
DMCC
 
Posts: 2
Joined: Sun May 02, 2010 2:53 am

Re: Sketch/Application requests

Postby mpinner » Fri Jun 25, 2010 12:32 pm

@david it sounds like Charles in another thread found exactly what you need:
viewtopic.php?f=15&t=23&hilit=osc&start=10#p2579
mpinner
 
Posts: 5
Joined: Tue Apr 27, 2010 11:21 am

Re: Sketch/Application requests

Postby rock » Thu Nov 11, 2010 8:02 am

How about some samples talking about using PROGMEM-based calls? The project I've been working on eventually ended up being a webpage serving up using WiServer in Ad-hoc mode that presents buttons that are visible on a browser. On a side note, it seems that Android does not support Ad-hoc connections. I was a bit surprised by that one.

The issue I ran into was the webpages got too big and would fail when trying to print it out via normal means (ran out of memory). Once the bulk of it got changed to PROGMEM strings and _P calls, things have been working great, but it took a while to wrap my head around the PROGMEM idea. It seems to me that a lot of people doing webpages end up using PROGMEM because of the size, so making that more visible would be helpful.
rock
 
Posts: 13
Joined: Tue May 25, 2010 11:33 pm

Previous

Return to Sketches and Applications

Who is online

Users browsing this forum: No registered users and 2 guests

cron