I acquired a couple of WiShields (version 2.0) with AsyncLabs silkscreen, and I am trying to connect them (not nessesarily simultaneously) to my home wireless network. After scouring the web, using several versions of libraries and the modifications that go with them, I am frustratingly stumped by the fact that the Wishield seems to connect to the network very rarely and inconsistently with the same uploaded program.
I have successfully run two sketches, the Example "Webserver" sketch, and a sketch to control 3 LEDs via a web browser. If the Arduino resets, I lose connection. I've tried moving the things closer to the router, re-uploading the same sketch, and then without warning or reason, the thing will connect again after changing power sources or resetting via the reset button. I've only been about 1% successful in connecting.
Has anyone had success with these shields? Right now, I just want so bad to see that little wifi connection indicator LED turn on every time I upload a sketch or move the arduino to a different room or press the reset button.
Where is the link to the product you bought? Or the link to the software you used?
Have you put your hardware into a case? Do you have pictures of this? What kind of antenna have you connected? What's the distance between the shield's antenna and the WiFi access point? How many walls are between and of what material are they?
On your PC how many WiFi networks are visible in the configuration dialog?
The product says AsyncLabs Wisheild 2.0, but I could not find an active website. It seems to be the same as a CuHead WIshield, for which I am also having trouble finding a product link. I beleive the friend I acquired it from originally got the shield on eBay.
There are several places on the web that discuss how the library is out of date and suggest changes to get it to work.
I have successfully compiled the Webserver example (simply displays HTML that says it's working) and I successfully compiled the code referenced in this posthttp://forum.arduino.cc/index.php?topic=87161.msg702123#msg702123
The problem doesn't seem to be with the code as much as it does with the connection.
There is NO external antenna on the shield.
There is no case.
I have tried moving the thing to within inches of my wireless router (did not help).
I have seen each of the sketches run a couple of times (out of hundreds of resets via reset button and/or removing power and/or re-uploading same code).
There are a few WIFI networks visible form my PC (neighbors, cable, etc), but I have the parameters set correctly to log in to the correct network.
The IP I have selected for the shield is within the range accepted by my router, and is not used by any other device.
How did you configure the interrupt signal (pin 2 or 8)? Did you modify the code accordingly? If you did, please post the modifications you've done.
The problem doesn't seem to be with the code as much as it does with the connection.
Just because the code is compiling doesn't mean it's correct for the hardware you're using.
My guess is that you have something in the code that doesn't match your hardware. Please post a picture of the shield you're using (in the state that you're using, so take a picture yourself and don't get one from the Internet).