DFR0342

DFR0342 Datasheet


W5500 Ethernet with POE Mainboard SKU DFR0342

Part Datasheet
DFR0342 DFR0342 DFR0342 (pdf)
PDF Datasheet Preview
W5500 Ethernet with POE Mainboard SKU DFR0342

From Robot Wiki

Contents
• 1 Introduction
• 2 Specification
• 3 Pinout Diagram
• 4 Tutorial
o Preparation o Step 1 Connections o Step 2 Library o Step 3 Pin Definitions o Example o Check that it works
• 5 POE Power Supply

Introduction

The W5500 Ethernet mainboard is the newest member of the DFRobot Ethernet family. It Is a microcontroller based on the ATmega32u4 and W5500 Ethernet chip with the same footprint as an Arduino Leonardo board, as well as being compatible with most Arduino shields and sensors, making it suitable for many kinds of IOT applications. The W5500 chip is a hardwired TCP/IP embedded Ethernet chip that provides easy internet connection for embedded systems. The board has the TCP/IP stack, 10/1000 ethernet MAC and PHY embedded, allowing internet connectivity in the users application using just the board and nothing else. The W5500 Ethernet mainboard uses a high-efficiency SPI protocol which supports a speed of 80MHZ for high speed network communication. In order to reduce power consumption it also includes WOL wake on LAN and power down modes. The board can be powered using a regular VIN, or POE as the power supply. It also integrates a power regulation chip that allows it to work under a complex environment.

Specification
• Microcontroller Atmel Atmega32u4 Arduino Leonardo
• External Input Voltage Range recommended 7V~20V DC
• External Input Voltage Range limit
• POE Input Voltage 48V AC/DC 802.3af standard PD device
• Digital I/O Pins 20
• Analog I/O Pins 6
• DC Current per I/O Pin 40 mA
• Flash Memory 32 KB ATmega32u4 4KB used by bootloader
• SRAM 2 KB ATmega32u4
• EEPROM 1 KB ATmega32u4
• Clock Speed 16 MHz
• PHY WIZnet W5500
• PHY Clock Speed 25MHz
• Dimension x 53.5x15mm

Pinout Diagram

We recommend that you remove the jumper caps if you don't need to use the W5500 reset and interrupt functions, or pins 7, 8, 11 or 12 may not function properly.

Tutorial

Preparation

You will need:

W5500 Ethernet with POE Mainboard Micro USB cable PC RJ45 network cable

Step 1 Connections

Connect W5500 Reset pins Connect A-RST pin to D11. Default Connected

Step 2 Library

Download the W5500 Ethernet library here Replace the existing Ethernet library according to your Arduino IDE version:

NOTE Good news! You can use arduino IDE v1.7 from Arduino.org which has "Ethernet 2" library, which works with this board. It means you don't have to download any modded libraries. Thank for the Vladimir Akopyan comments. Welcome share your projects and comments on the Disqus.

Step 3 Pin Definitions

Note These parts should be declared at the beginning of the sketch.

Define W5500 SPI “SS” pin and “Reset” Pin:
#define SS
10U //D10----- SS
#define RST 11U //D11----- Reset

Setup function
void setup
pinMode SS, OUTPUT ;
pinMode RST, OUTPUT ;
digitalWrite SS, LOW ;
digitalWrite RST,HIGH //Reset
delay 200 ;
digitalWrite RST,LOW ;
delay 200 ;
digitalWrite RST,HIGH ;
delay 200 ;
//Wait W5500

Example

Open Arduino IDE, Select Boards -->Arduino Leonardo and COM port
/* Web Server
More datasheets: PBM0001 GR002 | PBM0001 RD005 | PBM0001 RD008 | PBM0001 YL008 | PBM0001 YL005 | PBM0001 BK002 | PBM0001 RD002 | 3002 | 74VCX16827MTD | 74VCX16827MTDX


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived DFR0342 Datasheet file may be downloaded here without warranties.

Datasheet ID: DFR0342 508729