Forum >Can't get into my dfrobot Wlan shield
ArduinoGeneral

Can't get into my dfrobot Wlan shield

userHead Bastian 2011-06-24 14:16:40 5218 Views3 Replies
Hello,

I bought this new Wlan Shield.

http://www.dfrobot.com/index.php?route=product/product&keyword=wifi&category_id=0&description=1&model=1&product_id=198

I once connected to 192.168.1.254, changing the ip adress and I deselected the little box, saying dhcp server.
Now I cannot access my new Wlan device anymore.

Any help? I have found this one topic:
http://www.dfrobot.com/forum/index.php?topic=132.msg502#msg502

And i tried. But it wouldn't help.

2011-06-29 06:32:48 First: Set the wifi shield to server mode.  And in Arduino side, you would need some code like

[code]if (serial.available())
{

int status=serial.read();

if (status==0)

  digital.write(led, HIGH);
else
  digital.write(led, LOW);


}[/code]

And you need some client software to send 0 or 1 to the server which involve some socket connection knowledge.

We are working hard on a example of this shield.  Should be with you shortly.
userHeadPic R2D2C3PO
2011-06-29 04:00:11 hi thanks for your reply.. works now.
NOW:

You might be able to help me a bit more:

My Beginner Project is now to turn on,off a light on the arduino via a command from a client. So my arduino needs to be a server. Actually it is almost impossibe to find any scripts in the internet that could fulfill this task.

Can anybody explain how to approach this, cause I feel really lost ;)

Thx
userHeadPic Bastian
2011-06-24 18:17:35 Hi Bastian,

The easiest way to fix this problem is to reset it to factory default. Just power it up from a power source other than the PC USB, a USB power adapter would be fine or a wall wart. (Generally the PC USB does not provide enough power for the wifi shield)

Hold the reset button for about 10 seconds then release it and unplug the power. Wait a few seconds and power it up again, you should be back to factory settings.

Cheers,
Hector
userHeadPic Hector