Show Posts
Pages: 1 2 [3] 4 5 ... 11
31  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: May 07, 2009, 08:35:43 pm
Quote
As I haven't recieved the module yet, I would like to ask if you can use the browser on an iPod Touch or iPhone (I have seen you have done it, Brad - but without the multiple request problem?)
It's because the iPod Touch and iPhone uses Safari as browser!

Mobile Safari does not seem to have the problem that desktop Safari does.  I'm able to reload the page multiple times just fine on my iPhone.
32  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: May 07, 2009, 09:26:52 am
Quote
The code can handle multiple GET requests without causing the lockup.  I was able to test it with both an unsecured and WPA2 secured network on Firefox.  Safari on my Mac still is giving me issues.

Confirmed that the new code allows for multiple requests / reloads on Firefox.  However 1 request from Safari works, then subsequent requests fail from anything.

Tested on a WPA Personal network.

Keep up the good work, and yes get some sleep. smiley
33  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: May 07, 2009, 08:54:24 am
Quote
Ahh good smiley
Also, my next question would have been: "Then where can I find it's MAC?" - But you answered it, even before I've asked smiley-razz

The MAC is also printed on top of the actual wifi module.  Took me a while to find that too.
34  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: May 07, 2009, 12:38:45 am
I've loaded the new version with wireless_mode defined.  Still only getting the first request successfully.  Subsequent requests fail.  For what it's worth, here's what is being reported by the serial.print()s:
Quote
GET / HTTP/1.1
Host: 10.0.1.50
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive


GET / HTTP/1.1
Host: 10.0.1.50
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive


HTTP/1.1 200 OK
Content-Type: text/html

<center><p><h1>Hello World!! I am WiShield</h1></p></center>.9.0.3) Gecko/2008092414 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

I will play some more with it tomorrow.  Woot, always fun being an early adopter.  smiley-grin
35  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: May 06, 2009, 11:32:16 pm
I have WPA Personal security turned on, and a MAC address filter.  I will have to wait for the wife to finish with some stuff before she will let me start tinkering with the network settings.  She hates it when I 'fix' things.
36  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: May 06, 2009, 11:21:20 pm
Quote
Ok, I have some bug fixes that hopefully will fix some of the issues people might be seeing.  Part of the problem also seems to be that in some cases, multiple requests are coming in, which is somehow confusing the code.

I think this is correct.  Most browsers seem to ask for / and /favicon.ico in quick succession.  The first request seems to work correctly, and returns the page.  The second request seems to mess it up, and no future requests seem to work.  Resetting the arduino allows me to start over, but again only getting the first request properly.
37  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: May 06, 2009, 10:35:29 pm
Got mine in today.  Pretty easy setup.  I was able to connect to my WPA Personal network, and I can ping it.  I can see the request come in through the serial debug connection in the Arduino IDE, but I'm getting inconsistent results in browsers.  Firefox sometimes displays the resulting page, and sometimes not.  Safari doesn't.  Its almost like the request isn't being finished off somehow, and is just left spinning.  Will continue to play with it.  As far as I can tell, the red light comes on when the shield is successfully connected to the network.

All in all, very impressed with the 'out of the bag' experience.  Good job. smiley-grin
38  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: May 03, 2009, 12:17:18 am
Chalk up another order.  Can't wait to play with it.
39  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: March 16, 2009, 12:36:37 am
I'd be interested in one if it was in the $40-$60US range.
40  Forum 2005-2010 (read only) / Interfacing / Re: Interfacing with an NTSC TV on: June 04, 2009, 08:19:25 pm
Take a look at the new TellyMate shield also, his site has a ton of good info on talking to NTSC and PAL TVs

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1240539968
http://www.batsocks.co.uk/readme/art_SerialVideo_1.htm
41  Forum 2005-2010 (read only) / Interfacing / Re: ATMega168 Tachometer help using LM2907 chip on: March 16, 2009, 12:40:40 am
Quote
What do you mean "make a interrupt on raising"?

Check out attachInterrupt() from the reference: http://www.arduino.cc/en/Reference/AttachInterrupt
42  Forum 2005-2010 (read only) / Interfacing / Re: How MaxSonar EZ0 works with arduino? on: March 16, 2009, 10:33:52 am
The EZ0 sensor was the first sensor I bought, and it was my first arduino project.  So I have only used the analog input since it seemed like the easiest to start with.  Since it is working pretty well now, I'm not in a big hurry to tinker with it.  Someday though I will have to try out the serial and PWM options on it.
43  Forum 2005-2010 (read only) / Interfacing / Re: How MaxSonar EZ0 works with arduino? on: February 12, 2009, 09:38:20 pm
I have one of the EZ0 sensors, and it is very sensitive.  Using just the analog pin I'll get all sorts of sudden fluctuations in the reading.  I found that using a large buffer of values, and averaging them out gives me a more usable signal.  It's probably not the best way to do signal analysis, but its what I came up with from my zero training.  smiley

Here's the relevant parts I think:
Code:
int sensorPin = 1;

// an array to hold a bunch of sensor values for an average
int sampleSize = 99; // n readings 0 .. (n - 1)
int sensorReadings[100]; // n readings
int sampleCount = 0;

void setup()
{
  // set our inital setPoint to something
  int setPoint = 50;
  
  // init out our sensorReadings array
  int i;
  for (i = 0; i < sampleSize; i++) {
    sensorReadings[i] = setPoint;
  }
}

void loop() {
  delay(10);
  
  sensorValue = analogRead(sensorPin);
  
  // store the current value in our readings array
  sensorReadings[sampleCount] = sensorValue;
  
  // sampleCount starts life at 0, then loops through sampleSize
  if (sampleCount == sampleSize) {
    sampleCount = 0;
  } else {
    sampleCount++;
  }
  
  // figure out the average sensor value
  int i;
  int sensorSum = 0;
  int averageValue = 0;
  for (i = 0; i < sampleSize; i++) {
    sensorSum = sensorSum + sensorReadings[i];
  }
  averageValue = sensorSum / sampleSize;
}

// make decisions based on averageValue
// ...


With a 16MHz clock, it does all the looping and mathing pretty quickly, and I get perfectly fine response times.  I even put in a short delay to slow things down.  All this does is reduce the chances that I'll get a long enough string of bad fluctuations to influence the average reading.

Its very likely that my signal is really damn noisy. smiley
44  Forum 2005-2010 (read only) / Interfacing / Re: Will This LCD Display Work With An Arduino? on: July 02, 2009, 12:16:35 pm
I would just make sure you know how you are planning on connecting the pins on this LCD.  I have a couple of LCD panels, some with a single row of pins, and one that has two rows of pins like this one.  The single row is a lot easier to breadboard and experiment with than the ones that have two rows of pins.
45  Forum 2005-2010 (read only) / Interfacing / Re: RGB LEDs HELP!!!! on: June 30, 2009, 11:52:35 am
It would really help to see your sketch.
Pages: 1 2 [3] 4 5 ... 11