Go Down

Topic: W5200 Module (Read 10579 times) previous topic - next topic


Replacing the dated w5100 controller on the ethernet shield and arduino ethernet with the w5200 which supports sleep mode for one and is an overall better chip


do you have a datasheet link?
or comparison site?
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)


Product Webpage is here

The W5200 has support for 8 simultaneous sockets vs w5100s 4 sockets
W5200 has Powerdown mode and wake on LAN
W5200 is a 48 pin package
W5200 has Internal 32Kbytes Memory for Tx/Rx Buffers vs 16KB for W5100.

From my testing it appears to gain a DHCP lease faster then the w5100 too.


I have managed to come up with a set of schematics.  If anyone wants to have a look maybe correct any errors there may be.  Feel free.



Can the W5200 be used to replace existing W5100 chips on boards? Or are there package/pinout/other incompatibilities?

Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info


May 19, 2012, 01:37 pm Last Edit: May 19, 2012, 02:27 pm by SurferTim Reason: 1
Please do me a couple big favors when you design that board.
Put a 10K resistor from +5v to digital pin 4
Put a 10K resistor from +5v to digital pin 10.

Thanks in advance.

add: Ok, a few big favors. Please put a label on the silkscreen denoting digital pin 4 as "SD CS" and digital pin 10 as "ETH CS".

Thanks again!  :)


Please put a label on the silkscreen denoting digital pin 4 as "SD CS"

Better make the CS pins selectable .... (at least for the SD as ethernet is fairly standard)
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)


May 19, 2012, 05:52 pm Last Edit: May 19, 2012, 06:27 pm by SurferTim Reason: 1

Please put a label on the silkscreen denoting digital pin 4 as "SD CS"

Better make the CS pins selectable .... (at least for the SD as ethernet is fairly standard)

That would be good. I would vote for W5200 CS on digital 10, and SD selectable, since you can easily use SD.begin(x) to reassign the SD CS pin.

Whichever way you do it, insure both Slave Select (CS) pins are pulled high (disabled) with 10K (or greater maybe?) weak pullup resistors. That way you won't have to disable the SPI SS pins in setup. They will be disabled by hardware. You would need to assign the CS pin as an OUTPUT and set LOW before you could enable either SPI interface. That would prevent setup collisions.

add: That way we can quit sprinkling the magic pixie dust and go back to eating salted peanuts.  :D


Nice to see some feedback. Terryking228 no they aren't. The W5200 package the W5100 has considerbly more pins. I will take on board the idea of the selectable SD ss pin. Any ideas for how?  A rotary switch maybe?  Put the pullups on the switch. Also by disabling them in hardware would that not cause problems as you can't enable them in software?  I haven't ever tried it with hardware.


The means of selection would be up to you, but .1" pins with a jumper is reliable and easy. You don't need a bunch of options, just 2 or 3. Maybe pins 4 and 5?

The weak pullup resistors on the SS pins only "disable" the SPI interfaces while the SS pins are set as INPUT (default startup condition). When the pins are set to OUTPUT during the SD.begin() and Ethernet.begin() function calls, then the digital pin output will be able to override the weak pullup resistors.


the W5100 has considerbly more pins

The 5200 is SPI-access only (supposedly improved "high speed spi"), while the 5100 also has a parallel interface that (in theory, anyway) supports much higher transfer speeds between the wiznet and the host cpu.


SurferTim. That makes sense. Will add that. I was thinking of using a rotary switch for the selection. I don't really like jumpers. (always manage to lose them).

AlsO I have never seen the 5100 wired With parallel


May 22, 2012, 03:45 pm Last Edit: May 22, 2012, 06:29 pm by SurferTim Reason: 1
As long as you are at it, insure you connect the w5200 pin 45 (pwdn) to a digital pin (pin 9?) on the Arduino. Then we can put the w5200 in "power down" mode. Maybe a weak pulldown resistor and a jumper/switch/breakable trace on that would be wise. On the power down pin, power down mode is HIGH.

Does the w5200 shield from ekitzone use the pwdn pin? If so, maybe you should use that pin on the Arduino to set some type of compatibility.

It seems like I am building a substantial wish list.  :)

edit: I found a closeup of the ekitszone w5200 shield. It uses digital pin 5 for the pwrdn pin and has what appears to be a breakable trace.


    Hi All!
  I tried to connect this module to Mega2560. It does not work. With Nano328 all right, but at mega it is not respond for pings, does not receive IP by DHCP, etc. No compilation errors. Sometime it set data rate significantly slower.
Maybe someone already had a similar problem?
IDE 1.0 and 1.0.1
Tried libs:
Boards: Mega 2560v3 and SeeeduinoMega (result identical)
Module WIZ820io R 1.0 ( http://www.wiznettechnology.com/Sub_Modules/en/product/Product_Detail.asp?cate1=&cate2=&cate3=&pid=1161#tab )
SS   = 53 / 10
MOSI = 51
MISO = 50
SCK  = 52
+3.3Vcc, RST

where to dig?

Thx for advice

PS: I am sure that the problem is easily solved because  http://www.ebay.com/itm/EKitsZone-Ethernet-Shield-Wiznet-W5200-EKitsZone-Arduino-MEGA2560-R3-/261038306561?pt=LH_DefaultDomain_0&hash=item3cc7187501


The ethernet shield data line are on the ICSP connector.

SS   = 53 / 10

I don't know what that means. It should be only digital pin 10 if you are using the ethernet library.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131