Summer Sale: 5% OFF Over $49, Code: Elephant5; 10% OFF Over $99, Code:Elephant10

W5500 Ethernet Development Board For Arduino DIY Project (WITHOUT POE)

Sale price $28.76 Regular price $34.74

Shipping calculated at checkout.


Keyestudio W5500 Ethernet Development Board is based on the microcontroller of Arduino Ethernet. We have integrated USB download, TF card slot and more functions on it, fully compatible with UNO pins. You can quickly make your controller access to internet to build your network application. Onboard comes with W5500 network module, which can make Arduino as simple Web server or read Arduino digital and analog interface application via network control. It can achieve a simple Web server through using Ethernet libraries in IDE, meanwhile, support MicroSD card (TF card) read and write, really with powerful functions.

KS0304 W5500 ETHERNET  POE (5)KS0304 W5500 ETHERNET  POE (1)


  • 1.Main Chip:ATMEGA328 microcontroller
  • 2.USB power supply:5v
  • 3.external power:7-12v,(9v recommended)
  • input/output pins: 14(of which 6 pins support PWM)
  • 5.analog input pin:  6
  • 6.built-in flash memory:32K
  • 7.SRAM:  2k
  • 8.EEPROM:1K
  • 9.clock frequency:16MH
  • 10.TCP/IP Ethernet controller W5500,MicroSD card mount(TF card),MicroUSB

Related Introduction

About Chip:

  1. ATMEGA328P-AU
  2. Atmega16U2  

USB to serial chip

  1. AMS1117
  2. 5V and 3.3V stabilivolt chip
  3. W5500 network chip

About Interface:

  1. ICSP interface
  • Program firmware to ATMEGA328P-AU
  1. Digital interface D0-D13
  • Serial communication:D0(RX) and D1(TX)
  • External interruption:D2(interrupt 0), D3(interrupt 1)
  • PWM interface:D3,D5,D6,D9,D10 ,D11
  • SPI communication:D10(SS),D11(MOSI),D12(MISO),D13(SCK)
  1. ICSP interface
  • Program firmware to Atmega16U2
  1. USB port
  • For program download or serial debugging
  1. DC power connector
  • Access to 7V-12V voltage
  1. Power output port
  • Output 3.3V or 5V, for external power supply or common ground handle
  1. Analog interface A0-A5
  • IIC communication:A4(SDA) and A5(SCL) Also can be used as digital interface:A0(D14),A1(D15),A2(D16),A3(D17),A4(D18),A5(D19)
  1. Network connectorRJ-45 network port

About Component:

  • reset button
  • 16MHz crystal oscillator
  • 25MHz crystal oscillator

Shipping List

  • W5500 ethernet development board x1
  • Black USB cable x1

Test Code

Below is an example code, you can copy and paste it on Arduino IDE.

Code A:

#include <SPI.h>
#include <Ethernet55.h>

// set MAC address 
#if defined(WIZ550io_WITH_MACADDRESS) // Use assigned MAC address of WIZ550io
byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};

void setup() 
  if (Ethernet.begin(mac) == 0) 
      Serial.println("Failed to configure Ethernet using DHCP");
      // connection fails, stop program run. 

  // print out your local IP address
  Serial.print("My IP address: ");
  for (byte thisByte = 0; thisByte < 4; thisByte++) 
    // print out four byte IP address
    Serial.print(Ethernet.localIP()[thisByte], DEC);


void loop() 

Code B:

//in testing, check IP address of reticle through GET_IP routine
//for example, the tested IP address is
//namely intranet address allocated to testing reticle
#include <SdFat.h>
#include <SdFatUtil.h>
#include <Ethernet55.h>
#include <SPI.h>

/************ ETHERNET STUFF ************/
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };  //MAC address
byte ip[] = { 192, 168, 1, 113 };     //IP address
EthernetServer server(80);

/************ SDCARD STUFF ************/
Sd2Card card;
SdVolume volume;
SdFile root;
SdFile file;

// store error strings in flash to save RAM
#define error(s) error_P(PSTR(s))

void error_P(const char* str) {
  PgmPrint("error: ");
  if (card.errorCode()) {
    PgmPrint("SD error: ");
    Serial.print(card.errorCode(), HEX);
    Serial.println(card.errorData(), HEX);

void setup() {

  PgmPrint("Free RAM: ");

  // initialize the SD card at SPI_HALF_SPEED to avoid bus errors with
  // breadboards.  use SPI_FULL_SPEED for better performance.
  pinMode(10, OUTPUT);                       // set the SS pin as an output (necessary!)
  digitalWrite(10, HIGH);                    // but turn off the W5500 chip!

  if (!card.init(SPI_HALF_SPEED, 4)) error("card.init failed!");

  // initialize a FAT volume
  if (!volume.init(&card)) error("vol.init failed!");

  PgmPrint("Volume is FAT");

  if (!root.openRoot(&volume)) error("openRoot failed");

  // list file in root with date and size
  PgmPrintln("Files found in root:"); | LS_SIZE);

  // Recursive list of all directories
  PgmPrintln("Files found in all dirs:");;


  // Debugging complete, we start the server!
  Ethernet.begin(mac, ip);

void ListFiles(EthernetClient client, uint8_t flags) {
  // This code is just copied from SdFile.cpp in the SDFat library
  // and tweaked to print to the client output in html!
  dir_t p;

  while (root.readDir(&p) > 0) {
    // done if past last used entry
    if ([0] == DIR_NAME_FREE) break;

    // skip deleted entry and entries for . and  ..
    if ([0] == DIR_NAME_DELETED ||[0] == '.') continue;

    // only list subdirectories and files
    if (!DIR_IS_FILE_OR_SUBDIR(&p)) continue;

    // print any indent spaces
    client.print("<li><a href=\"");
    for (uint8_t i = 0; i < 11; i++) {
      if ([i] == ' ') continue;
      if (i == 8) {

    // print file name with possible blank fill
    for (uint8_t i = 0; i < 11; i++) {
      if ([i] == ' ') continue;
      if (i == 8) {


    if (DIR_IS_SUBDIR(&p)) {

    // print modify date/time if requested
    if (flags & LS_DATE) {
       client.print(' ');
    // print size if requested
    if (!DIR_IS_SUBDIR(&p) && (flags & LS_SIZE)) {
      client.print(' ');

// How big our line buffer should be. 100 is plenty!
#define BUFSIZ 100

void loop()
  char clientline[BUFSIZ];
  int index = 0;

  EthernetClient client = server.available();
  if (client) {
    // an http request ends with a blank line
    boolean current_line_is_blank = true;

    // reset the input buffer
    index = 0;

    while (client.connected()) {
      if (client.available()) {
        char c =;

        // If it isn't a new line, add the character to the buffer
        if (c != '\n' && c != '\r') {
          clientline[index] = c;
          // are we too big for the buffer? start tossing out data
          if (index >= BUFSIZ) 
            index = BUFSIZ -1;

          // continue to read more data!

        // got a \n or \r new line, which means the string is done
        clientline[index] = 0;

        // Print it out for debugging

        // Look for substring such as a request to get the root file
        if (strstr(clientline, "GET / ") != 0) {
          // send a standard http response header
          client.println("HTTP/1.1 200 OK");
          client.println("Content-Type: text/html");

          // print all the files, use a helper to keep it clean
          ListFiles(client, LS_SIZE);
        } else if (strstr(clientline, "GET /") != 0) {
          // this time no space after the /, so a sub-file!
          char *filename;

          filename = clientline + 5; // look after the "GET /" (5 chars)
          // a little trick, look for the " HTTP/1.1" string and 
          // turn the first character of the substring into a 0 to clear it out.
          (strstr(clientline, " HTTP"))[0] = 0;

          // print the file we want

          if (!, filename, O_READ)) {
            client.println("HTTP/1.1 404 Not Found");
            client.println("Content-Type: text/html");
            client.println("<h2>File Not Found!</h2>");


          client.println("HTTP/1.1 200 OK");
          client.println("Content-Type: text/plain");

          int16_t c;
          while ((c = > 0) {
              // uncomment the serial to debug (slow!)
        } else {
          // everything else is a 404
          client.println("HTTP/1.1 404 Not Found");
          client.println("Content-Type: text/html");
          client.println("<h2>File Not Found!</h2>");
    // give the web browser time to receive the data

Test Steps And Result

1. Before testing, first place the necessary libraries into IDE library directory.
2. For first test, connect DC7-12V、USB MICRO、TF card and network cable. If access to network,two LEDs on the network head are on, D5、D7、D8、D9、D10 LED are on and D8 LED flashes.
3. Upload the code A, D2、D3、D4 light on the main board are on. Done uploading, open serial monitor, you can see the network IP address, shown below.


4. Then, upload the code B, IP address of code B should be revised as IP address of code A. Done uploading, enter the IP address you got on the browser address bar, it will display the current SD card contents on the web page. If it is TXT file, you can click it to check the content. Shown below.





Download the Code:

Download the Libraries: