---
title: "Ethernet Shield V2.0"
url: "https://maker.wiznet.io/austin/resellers/ethernet-shield-v2-0/"
markdown_url: "https://maker.wiznet.io/austin/resellers/ethernet-shield-v2-0/md"
type: "VAR: Value-Added Reseller Products"
author: "seeed studio"
author_url: "https://wiki.seeedstudio.com/Ethernet_Shield_V2.0/#features"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "seeed studio"
original_url: "https://wiki.seeedstudio.com/Ethernet_Shield_V2.0/#features"
published: "2022-12-02"
language: "en"
likes: 1
views: 688
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Ethernet Shield V2.0

> Ethernet Shield with W5200

Original author: seeed studio (source: https://wiki.seeedstudio.com/Ethernet_Shield_V2.0/#features)

## Article

This shield provides you instant Internet connectivity with a high spec Ethernet controller, W5200, with twice the buffer size of v1.0 and support for up to eight simultaneous TCP/UDP connections. An included SD slot enables applications that require storing large amounts of data, like IoT data logging. Thanks to a lowered RJ45 pot, you can flexibly add most of shields on top of this Ethernet Shield.

Features

High speed Ethernet controller W5200

SPI interface

32 Kbytes inner buffer

Minimal RJ45 Ethernet port

Support up to eight simultaneous TCP/UDP connections

Handy SD card function

Grove ports for I2C and UART preformed

## Interface[¶](https://wiki.seeedstudio.com/Ethernet_Shield_V2.0/#interface)

![](https://files.seeedstudio.com/wiki/Ethernet_Shield_V2.0/img/Ethernet_Interface.jpg)

**Hardware Configuration**

RJ45: Ethernet Port;

IC HX1198: 10/100BASE-T signal port;

IC W5200: a hardwired TCP/IP Ethernet Controller;

U3: IC CJ117, low dropout linear regulator;

U6: IC 74VHC125PW, quad buffer;

Reset KEY: Reset Ethernet shield and Arduino when pressed;

SD card: support Micro SD card in FAT16 or FAT32; maximum storage is 2GB.

**Pins usage on Arduino**

D4: SD card chip select

D10: W5200 Chip Select

D11: SPI MOSI

D12: SPI MISO

D13: SPI SCK

**Notice:**

Both W5200 and SD card communicate with Arduino via SPI bus. Pin 10 and pin 4 are chip select pins for W5200 and SD slot. They cannot be used as general I/O.

## Usage[¶](https://wiki.seeedstudio.com/Ethernet_Shield_V2.0/#usage)

We are going to build a simple web server that answer request from a client and store the readings from A0 through A5 to SD card.

**Step 1: Hookup**

1. Mount Ethernet Shield v2.0 to your Arduino;

2. Connect the shield to your computer or a network hub or a router with a standard Ethernet cable;

3. Connect Arduino to PC via USB cable;

4. Insert an SD card to the SD card slot.

![](https://files.seeedstudio.com/wiki/Ethernet_Shield_V2.0/img/IMG_0039.jpg)

**Step 2: Upload the program**

1. Download the library：[Ethernet Shield V2.0 Library](https://github.com/Seeed-Studio/Ethernet_Shield_W5200)
Note: Depreciated/Old Library for 1.0.x IDE: [Link](https://files.seeedstudio.com/wiki/Ethernet_Shield_V2.0/res/W5200_Ethernet_Shield_Library.zip).

2. Unzip and put it in the libraries file of Arduino IDE by the path: ..\arduino-1.0.1\libraries.

3. Restart the Arduino IDE.

4. Open the example "WebServerWithSD" via the path: File → Examples → EthernetV2.0 → WebServerWithSD. This example shows you how to build up a simple web server that displays the readings of anolog A0 through A5 when requested. After that, store those readings into SD card.

**Note:**

This new library covers all functions included in the build-in Ethernet library of Arduino IDE. You can use other examples in the same way as that in the preceding Ethernet library.

5. Upload the program to Arduino. If you do not know how to upload code, please click here.

![](https://files.seeedstudio.com/wiki/Ethernet_Shield_V2.0/img/Open_WebSeverWithSD_code.jpg)

In this code ,we have defined pin 4 as SD card chip select port and pin 10 as W5200 chip select port.

Firstly, it will send a link to this client if there is a client requesting access to this server.Then send the value of each analog input pin to the network.

Finally you can view each analog pin by opening SD Card file.

**Step 3: Results**

Open a web browser and enter the IP address of your controller. It's dependent on your local network but used to be 192.168.168.178. Then you should find the readings of A0 through A5 popping up as shown below.

![](https://files.seeedstudio.com/wiki/Ethernet_Shield_V2.0/img/Ethernet_Score.jpg)

To check what's going on to the SD card, open the serial monitor. You can use the built-in serial monitor of Arduino IDE or a serial monitor tool as us. After opening a serial monitor, you can read the content of file "test.txt" which we created to store the readings of analog pins.

![](https://files.seeedstudio.com/wiki/Ethernet_Shield_V2.0/img/WebServerWithSD_Result.jpg)

**Notice:**

1) Make sure the Ethernet Shield and your computer are in the same local network.

2) Once the code has been successfully uploaded, it's fine to disconnect the board from your computer and apply independent power to it, leaving it run alone.

---

Source: https://maker.wiznet.io/austin/resellers/ethernet-shield-v2-0/
