WiFi with Asynclabs WiShield

Hey there,
I've had a bit of luck with the wishield / lcd combo. From what I can see here are a few problems I had:

  • Wishield uses pin 9 for the led. If you want to use the lcd you have to unplug the jumper near the led.
  • While the wishield can do psk etc I couldn't get it to work. I just don't know if the little arduino has the go to make it happen. Test it on an open wireless first.
  • At here:
WiServer.print("<html>");
        WiServer.print("Hello world
");
        WiServer.print(count);
        WiServer.print(" Hits");
        WiServer.print("</html>");

I found the Wiserver.print to only horrendously enjoy doing the whole page in one go. If you want to print variables you may have to use strcat to cobble together a buffer string and then print it all in one go. I did that in this first little program I did here:

http://asynclabs.com/forums/viewtopic.php?f=18&t=104

  • For my server I used pins 3,4,5,7 for data and pin 6 because it was pwm to fade the backlight. In this configuration I couldn't run serial at the same time as the lcd. For whatever reason writing to the serial threw some random voltages around that crashed the lcd.

My full writeup for the thing that I did is here:
http://asynclabs.com/forums/viewtopic.php?f=18&t=107

at the asynclabs forums or here:
http://allthingsbecause.org/?p=40

at my blog. The code is reasonably solid it occasionally crashes but I think this is more to do with some of the string handling.

Hope this helps ...