Your EasyEDA usage duration is brief. In order to avoid advertising information, this action is not supported at present. Please extend your EasyEDA usage duration and try again.
Editor Version×
Standard
1.Easy to use and quick to get started
2.The process supports design scales of 300 devices or 1000 pads
3.Supports simple circuit simulation
4.For students, teachers, creators
Profession
1.Brand new interactions and interfaces
2.Smooth support for design sizes of over 5,000 devices or 10,000 pads
3.More rigorous design constraints, more standardized processes
4.For enterprises, more professional users
Ongoing
STD
W5200 Ethernet Shield
License:
Mode:Editors' pick
3k
0
0
4
Update time:
2021-04-10 10:08:21
Creation time:
2016-01-07 12:13:01
Description
## ETHERNET INTERFACE BRICK AND SHIELD ##
Your Ethernet Shield gets a total renewal now! 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.
![Ethernet Shield V2.0][1]
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][2]
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
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.
![500px-IMG_0039][3]
Step 2: Upload the program
1. Download the library:https://github.com/Seeed-Studio/Ethernet_Shield_W5200 Note: Depreciated/Old Library for 1.0.x IDE: Link.
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.
![Open_WebSeverWithSD_code][4]
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.
![Ethernet_Score][5]
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][6]
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.
[1]: /editor/20160107/568e797d99732.jpg
[2]: /editor/20160107/568e79dad7d9a.jpg
[3]: /editor/20160107/568e7a3793ee0.jpg
[4]: /editor/20160107/568e7a756e141.jpg
[5]: /editor/20160107/568e7aef6ea99.jpg
[6]: /editor/20160107/568e7b23a4546.jpg
Forked project will be set private in personal workspace. Do you continue?
Clone
Project
The Pro editor is about to be opened to save as. Do you want to continue?
private message
Send message to winter2015
Delete
Comment
Are you sure to delete the comment?
Report
W5200 Ethernet Shield
No Profile
Announcer: winter2015
Creation time: 2016-01-07 12:13:01
Published time:
2021-04-10 10:08:21
*
Report type:
Please select report type
*
Report reason:
Please fill in the reason for your report and the content is 2-1000
words
*
Upload image:
+
Upload image
*
Email address:
Please fill in your email address
Report
*
Report type:
Please select report type
*
Report reason:
Please fill in the reason for your report and the content is 2-1000
words
*
Upload image:
+
Upload image
*
Email address:
Please fill in your email address
Report
Submitted successfully! The review result can be viewed in the personal
center, review notification.
Kind tips
Your EasyEDA usage duration is brief. In order to avoid advertising information, this action is
not supported at present. Please extend your EasyEDA usage duration and try again.
Share
Project
Copy
Copy
Scan the QR code and open it on the mobile terminal