support to Arduino Ethernet Shield (W5100/W5200/W5500) and WIZ550io on Arduino IDE 1.6.4
Switch branches/tags
Nothing to show
Clone or download
embeddist Update w5200.cpp
Increament wait time for PHY Link-Done
Latest commit 073046a Jun 2, 2015
Failed to load latest commit information.
Ethernet Update w5200.cpp Jun 2, 2015 Update May 21, 2015

WIZ Ethernet Library for Arduino IDE-1.6.4

The Ethernet library lets you connect to the Internet or a local network.

  • Supported devices

    • W5500 : ioShield, WIZ550io, W5500 Ethernet Shield, Arduino Ethernet Shield 2
    • W5200 : W5200 Ethernet Shield, WIZ820io
    • W5100 : Arduino Ethernet Shield
  • Software

    • Install WIZ Ethernet library IDE-1.6.4

      • Download all files
      • Overwrite "Ethernet" folder onto the "Arduino\libraries\Ethernet" folder in Arduino sketch.
    • Select device(shield)

      • Uncomment device(shiel) you want to use in $/Ethernet/src/utility/w5100.h

         //#define W5100_ETHERNET_SHIELD // Arduino Ethenret Shield and Compatibles ...
         //#define W5200_ETHERNET_SHIELD // WIZ820io, W5200 Ethernet Shield 
         #define W5500_ETHERNET_SHIELD   // WIZ550io, ioShield series of WIZnet
      • If WIZ550io used, uncommnet "#define WIZ550io_WITH_MACAADDRESS" in $/Ethernet/src/utility/w5100.h

         #if defined(W5500_ETHERNET_SHIELD)
         //#define WIZ550io_WITH_MACADDRESS // Use assigned MAC address of WIZ550io
         #include "w5500.h"
    • Using the WIZ Ethernet library and evaluate existing Ethernet example.

      All other steps are the same as the steps from the Arduino Ethernet Shield. You can use examples in ./Ethernet/examples folder for the Arduino IDE 1.6.4, go to Files->Examples->Ethernet, open any example, then copy it to your sketch file and change configuration values properly. After that, you can check if it is work well. For example, if you choose 'WebServer', you should change IP Address first and compile and download it. Then you can access web server page through your web browser of your PC or something.

  • What is new ?

    • Added new functions

      • sockStatus(SOCKET s) = readSnSR(SOCKET s)

         uint8_t socketStatus(SOCKET s)
         	  uint8_t status = W5100.readSnSR(s);
         	  return status;
      • reavAvalable(SOCKET s) = getRxReceiveSize(SOCKET s)

         int16_t recvAvailable(SOCKET s)
         	  int16_t ret = W5100.getRXReceivedSize(s);
         	  return ret;
    • Added SPI Transaction APIs To solve conflicts that sometimes occur between multiple SPI devices when using SPI from interrupts and/or different SPI settings, SPI Transcation APIs use between between read and write SPI functions.

    • Removed Twitter.cpp / Twitter.h

  • Revision History
    Initial Release : 21 May. 2015