DFRduino Ethernet Shield
From Robot Wiki
FRduino Ethernet Shield V1.0 SKU:DFR0272
Contents
1 Introduction
2 Applications
3 Specifications
4 Tutorial
o 4.1 Use W5200 as a WebServer
4.1.1 Requirements
4.1.2 Connection
4.1.3 Sample Code
4.1.4 Check If It Works
Introduction
This Arduino-sized Ethernet Shield is based on the Wiznet W5200 Ethernet Chip, and provides
an easy way of getting your Arduino Online. Fits all version of arduino Main board,e.g.UNO,
mega 2560. To start, just plug this module onto your Arduino board, connect it to your network
with an CAT 5 Ethernet Cable (not included) and follow a few simple instructions, you will be
able to explore the world with internet. The pin layout also allows another shield to be stacked on
top.
Features:
Support Arduino official Ethernet Library (Arduino IDE 1.0.6).
Add‐on micro‐SD card slot, which can be used to store files and accessed via the SD Library.
Compatible with the Arduino Uno as well as Mega (2560).
The Wiznet W5200 provides a network (IP) stack capable of both TCP and UDP.
Supports up to four simultaneous socket connections.
Use the Ethernet library to write sketches which connect to the internet using the shield.
Aluminum alloy radiator to release excessive heat.
Applications
Home network device: set top box, PVR, digital media center
Serial Ethernet: access control system, LED display, wireless AP repeater, etc.
Parallel Ethernet: POS machine or hand‐held printer, copier
USB Ethernet: storage devices, network printers
Security Systems: Network Camera
Monitoring equipment
Embedded Server
Specifications
Working voltage: 5v
Ethernet socket
Support Micro SD card reading / writing
Size: 70x55x30mm
Tutorial
NOTE: If you want to use the SD card.
The Ethernet and the SD card share the same SPI interface, only one of them can be
manipulated once a time.
Use W5200 as a WebServer
Requirements
Hardware
o UNO x1
o DFRduino Ethernet Shield x1
Software
o Arduino IDE V1.0.* Click to Download Arduino IDE from Arduino.cc
https://www.arduino.cc/en/Main/Software
NOTE: Suggested version: Arduino 1.0.6, other version is not compatible for the SPI library
difference.
Connection
1. Plug Ethernet Shield/ W5200 on Arduino UNO.
2. Connect RJ45 cable to the Ethernet board.
Sample Code
1. Download the library for this module and do NOT hurry to unzip it to Arduino -> Document > Arduino -> Library. [Link: Download Link.]
2. Find the Arduino library folder: "(Arduino sketchbook folder)\libraries". If there was an old
version Ethernet library( which is for W5100), please delete it. And unzip the new library to the
folder, then restart your Arduino IDE.
3. Open the Arduino IDE, find the example sketch: W5200_WebServer: Files->Examples>Ethernet->W5200_WebServer
4. Revise the sketch which is for the Dreamer MEGA X2 PORT to match UNO port.
5. Change the IP address which you need, then upload the sketch.
1 IPAddress ip(192,168,0,217);
NOTE: What IP address is permitted?
The IP address should be different from your any device in the same network, or the module
would failed to be a webserver since its IP address is conflict with another device. e.g. my
computer's IP address is 192.168.0.25, my another pc's IP: 192.168.0.35, then I cannot use 25
and 35 anymore, so I set it as 192.168.0.217.
Check If It Works
Open your browser, and input your advice IP address.(In this example, it is 192.168.0.217). If
you saw 6 groups analog data and it refreshes every 5 seconds, then it works well as a webserver.
For any question/advice/cool idea to share, please visit DFRobot Forum.
Powered By DFRobot © 2008-2017
很抱歉,暂时无法提供与“DFR0272”相匹配的价格&库存,您可以联系我们找货
免费人工找货