Skip to content

Ehternet Shield


The Ethernet Shield connects your Arduino device to the internet in mere minutes. Just plug this module onto your Arduino board, connect it to your network with an RJ45 cable (not included) and follow a few simple instructions to start controlling your world through the internet.

The Ethernet controller of this Ethernet Shield is W5200. it is twice the buffer size of W5100 and support for up to eight simultaneous TCP/UDP connections. There is an onboard micro-SD card slot, which can be used to store files for serving over the network. Thanks to a lowered RJ45 pot, you can flexibly add most shields on top of this Ethernet Shield.

Model: ACS52001S

Ethernet Shield.JPG


  • Standard Shield that Arduino, Mega, Crowduino Compatible
  • High speed Ethernet controller W5200 with internal 32K buffer
  • With Micro SD card for storing large amounts of data.
  • Connection with Arduino on SPI port
  • Support up to eight simultaneous TCP/UDP connections
  • Lowered RJ45 Ethernet jack
  • long wire-wrap headers extend through the shield


Item Min Typical Max Unit
Voltage 3.5 5.0 5.5 VDC
Current 120 210 350 mA
Supported SD Micro SD card(More than 2G is not guaranteed) /
Supported Connection TCP/UDP /
Dimension 53.4X68.7 mm
Weight 22.3 g


Interface of Ethernet Shield.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





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.
Connect the PWDN pin to GND or VCC to control it be in Power Down Mode.
If you can't run the the Ethernet. please connect thw PWDN pin to GND and have a try again.


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 v1.0 to your Arduino;

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

3. Connect Arduino to PC via USB cable;

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

Step 2: Upload the program

1. Download the library:Ethernet_Shield_W5200 Library.

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 --> EthernetV1_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.


This new library covers all functions included in the buildin 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 no how to upload code, please click here.


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 has a client request access this server.Then send the value of each analog input pin to the network.

Finally you can view each analog pin by open 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 Then you should find the readings of A0 through A5 popping up as shown below.

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.

WebServerWithSD Result.jpg

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.