DFRduino L298p Shield Reverse Problems by jakfourie
[May 18, 2013, 08:08:19 pm]


GPS/GPRS/GSM Module V3.0 (SKU:TEL0051) SIM and Online Connection by csmith04
[May 18, 2013, 01:35:40 am]


KIT0015 - MiniQ Motor Wheel Set with Encoder Issue by GastonLagaffe
[May 17, 2013, 05:29:00 pm]


10 DOF Problems ?? by nestor
[May 17, 2013, 05:06:37 pm]


RoMeo V2 [R3] + DF-BluetoothV3 by Jose
[May 17, 2013, 12:54:51 pm]


2A Motor Shield + Graphic LCD4884 Shield?? by Jose
[May 17, 2013, 12:51:20 pm]


USB host shield not working by Giri
[May 16, 2013, 05:06:19 pm]


GPS/GPRS/GSM Shield 3.0 by csmith04
[May 16, 2013, 04:53:11 am]


Romeo V2 Voltage issue. by Jane
[May 15, 2013, 05:51:02 pm]

Sorry, this shoutbox does not exist.

Author Topic: Official DFRduino Wifi Shield Tutorial  (Read 5116 times)

Hector

  • Not an
  • Hero Member
  • *****
  • Posts: 788
  • Karma: +21/-2
    • Follow us on Twitter for coupons and product updates!
Official DFRduino Wifi Shield Tutorial
« on: July 13, 2011, 04:01:52 pm »
Hi everybody,

We have just posted a WiFi shield tutorial for all of you who are having some trouble with it.

http://www.dfrobot.com/community/index.php/2011/07/tutorial-dfrobot-wifi-shield-sku-tel0019/

If you have any further questions please post them here.

Cheers,
Hector
« Last Edit: July 14, 2011, 09:57:36 am by Admin »
-Hector

Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

Jonczu

  • Full Member
  • ***
  • Posts: 20
  • Karma: +0/-0
Re: Official DFRduino Wifi Shield Tutorial
« Reply #1 on: July 14, 2011, 08:04:48 pm »
Hi Hector

Jon here sorry to bother you again but I now get this issue when I try and apply changes
I've included a screen shot of the error and a ipconfig. Ive tried may options and the only option that works for a while is changing the ip to 10.0.1.254 applying changes and then connecting through wlan instead of lan but this only lets me logging but to apply changes it gives the google chrome error of cannot connect to this page, something along those lines anyway.

Any hints or ideas would be appreciated, thanks for your time.
Jon Czudek

P.S. Right now I'm pulling my hair out as to what the issue is. (wondering if the wiznet supports 10.X.X.X ip's)

meviar

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Official DFRduino Wifi Shield Tutorial
« Reply #2 on: July 15, 2011, 12:57:51 am »
Great tutorial really helped me out but could please add an example on how to browse on the internet.

Hector

  • Not an
  • Hero Member
  • *****
  • Posts: 788
  • Karma: +21/-2
    • Follow us on Twitter for coupons and product updates!
Re: Official DFRduino Wifi Shield Tutorial
« Reply #3 on: July 15, 2011, 11:22:34 am »
Hi Jon,

I think you are getting the error because you are using your wirless lan as well as your regular cable lan.

This might cause some conflict during the setup. I recommend going through wire Lan to setup the WiFi shield, so disable your Wifi on your pc.
In order to change the DHCP range you will need to go into the "wireless settings" and change to access point (make sure you are connected via ethernet cable to the wifi shield) go to the setup and change the IP address range or disable DHCP, although I do not recommend disabling DHCP as this will make it hard for you to enter the setup through LAN cable and will make you rely on Wifi which is hard to troubleshoot.

Once you have changed the DHCP client range you should switch back to client mode.

-Hector
-Hector

Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

Jonczu

  • Full Member
  • ***
  • Posts: 20
  • Karma: +0/-0
Re: Official DFRduino Wifi Shield Tutorial
« Reply #4 on: July 17, 2011, 02:41:54 pm »
Hi Hector

I did what you said and managed to connect the shield to my ap and the web ;D but when I went to open the airport utility it couldn't find the router on the network (no prob) ??? so I logged on to another computer and opened my router page but all I could see was the wireless client (doesn't give ip) :(. I couldn't see the shield under dhcp clients (which gives ip). So I reset shield and started all over again but in the client settings I noticed WAN port:  setup  which gave me the option of static ip, I set this to static and uploaded reset etc, I then noticed that it connected to the web and that I could log onto the shield via 10.0.1.254. What I was wondering is what is the difference in using dhcp client or static ip and if using dhcp client in the wan port setup how can I get my router to see the shield (it's funny because the router connects the shield to the web but doesn't display it in its dhcp client list).

Thanks
Jon Czudek 

Here is a screen shot.

Jonczu

  • Full Member
  • ***
  • Posts: 20
  • Karma: +0/-0
Re: Official DFRduino Wifi Shield Tutorial
« Reply #5 on: July 17, 2011, 02:43:35 pm »
Wondering if its because the router is an apple product ( has issues with compatibility). ::)

Hector

  • Not an
  • Hero Member
  • *****
  • Posts: 788
  • Karma: +21/-2
    • Follow us on Twitter for coupons and product updates!
Re: Official DFRduino Wifi Shield Tutorial
« Reply #6 on: July 18, 2011, 09:59:27 am »
Hi Jon,

I'm not sure what the problem might be. I've never used the airport router... We have noticed that there is some compatibility issues with some routers. But the Wifi module works with most major brands, so I would imagine it should work with the Airport no problem. The only difference between DHCP and assigning your own IP address is when the router assigns a DHCP address you are can be sure there will be no conflicts of duplicate IP addresses. When you assign it an IP manually you run the risk of having duplicate IP addresses on the same network. Lets say your computers IP address is: 192.168.1.2, so you assign the WiFi shield 192.168.1.3, later a friend comes over and hooks up to your Wifi while the wifi shield was off, you then turn it on and chances are your friend is occupying the 192.168.1.3 IP address and now their is a conflict. But if you use a high enough IP address then there should be no problems with this kind of situation.

I hope this is clear?
-Hector

Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

Jonczu

  • Full Member
  • ***
  • Posts: 20
  • Karma: +0/-0
Re: Official DFRduino Wifi Shield Tutorial
« Reply #7 on: July 18, 2011, 08:58:19 pm »
Hi Hector

Thanks for the reply and yes it is all very clear now
I'll still try to work it out for curiosity sake

Thanks again
Jon Czudek

mstsai

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Official DFRduino Wifi Shield Tutorial
« Reply #8 on: September 03, 2011, 02:13:40 pm »
Thanks for preparing the tutorial.  However I have run into a problem when I changed the wifi shield to client mode.  The browser is not able to access the wifi shield anymore after changing to the client mode.  The PING command from console did not get any response either.  The SYS led blinks at the speed around 3Hz.  The current drawn from the shield is about 600mA which is about the same as the AP mode.  I have to press reset button for 10 seconds to be able to access the shield again.  Disconnet the wires ethernet cable does not help.  Changing the jumpers' position did not solve the problem either.  Any suggestion on this issue?



Any suggestion on this issue?

Hector

  • Not an
  • Hero Member
  • *****
  • Posts: 788
  • Karma: +21/-2
    • Follow us on Twitter for coupons and product updates!
Re: Official DFRduino Wifi Shield Tutorial
« Reply #9 on: September 05, 2011, 03:50:19 pm »
Hi Mstsi,


How are you providing power to the Arduino? Just through a standard USB port?

It is not enough power for the WiFi shield. You should try to provide additional power to the arduino either by plugging in a wall wart or using a usb power adapter.


Try that and see if it fixes your problem.
-Hector

Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

 

SimplePortal 2.3.4 RC1 © 2008-2011, SimplePortal