Member #509015

Member Since: January 15, 2014

Country: United States

  • my case: arduino wireless Sd shield + Wifly RN-171. Following your tutorial everything works, even connection keep alive.etc…. BUT: the browser only shows transferring data (or waiting for 192.168.1.39 (my ardu-wlify ip)……the script ardu order: client.println(“HTTP/1.1 200 OK”); doesnt appear in the browser…… :-( why? should the switch of the wireless shield be in micro or USB (it works on both)….should I connect something with wire? I just want to show a text in the browser from the ardu script via wireless….. any idea? many thanks

  • I can’t send any comment to the browser….. Everything seems to be ok: 1. The server AP is already started. (open, ip: 1.2.3.4:80, ……) (ARduino Uno+ArduWirelessSDshield+RovingRN171) 2. I can join the AP created for the Roving RN-171 with my MacAir (the ssid appears ok in my Air wifi list). 3. When I type http://1.2.3.4:80 in my browser, the Serial Monitor shows the connection, with the message whole right message blablabla…..keep alive…. 4. But the browser shows only waiting for 1.2.3.4 or…..starts downloading something and remains like this…… 5. The arduino script is very simple, I just want to write something in the browser…

    include <SPI.h> include “WiFly.h” WiFlyServer server(80);/ void setup() { WiFly.begin();//begin WiFly communictaiosn server.begin(); //initialize the server

    } /////////////////////////////////////////////////////////////////// void loop() { WiFlyClient client = server.available(); if (client) { while (client.connected()) { if (client.available()) { client.println(“HTTP/1.1 200 OK”); client.println(“Content-Type: text/html”); delay(1000);//delay is very important client.flush(); // client.stop(); } } } }

    I suppose I am really close to the final solution, but there is something that still fails…. :-(

    Any idea?

    many thanks

  • ->

No public wish lists :(