Google Doc Communication and Processing

Hello

I am trying to get the arduino to recieve commands from processing that gets its commands from a google word document on the web. The overall goal it to have a website control the arduino. When a button on the webpage is clicked it writes a number say 'xxxxx' to the document. Now I am trying to get processing to read this web document by url and output it over serial to the arduino. I am stuck however. I was wondering if anyone had any ideas on how this can happen.

When the webpage writes to the document it writes x,xx,x (x's being numbers). I would like for processing to keep the format of this so it sends the arduino, over serial, exactly what it read. I want to do this so i can use the Serial.parseInt() command so i can one button from the web make multiple things happen with the arduino. I've searched everywhere and cant figure it out.

This may be very vague, im no expert at programming or arduino at all. So try to explain it in simple terms if you can please :slight_smile:

Thanks!

What part are you having problems with? Making Processing read the google crap document? Making Processing send data to the Arduino? Making the Arduino collect the string? Making Arduino parse the string?

Im having trouble making processing read the document, and then sending it. I can just use the Serial.parseInt() so the arduino reads it im pretty sure.

Im having trouble making processing read the document

Not to mention posting any code.

and then sending it.

At least you got the order right.

The overall goal it to have a website control the arduino.

Sure be a lot simpler having the Arduino wear an ethernet shield and host the page.

I'd rather no go through a ethernet shield when it can go through processing.

If you are just going to be smart and not help don't bother posting. Im just starting out at this, cut me some slack.

There is a sticky at the top of the forum that describes what you need to do to post in this forum. This forum is for discussing the issues with YOUR code. We can't do that if you don't post your code.

If you don't like that, take your Processing problem over to the Processing forum.

My problem is in starting the code to read the document. So until I figure out how to do that none of the other code exists. I just thought i'd throw this up here to see if anyone already knew how. I didn't expect it to be a problem. I don't know why you're on my case about it. I would just like some help.