Overview

overview

Wireless Internet is great, but it requires reliability just like its counterpart wired. But withEthernet FeatherWing, you can add wired Internet easily and quickly on a featherboard. Simply connect the board with a standard Ethernet cable and run Arduino’s Ethernet2 library for cross-platform networking.

Ethernet is a proven networking standard. All hubs and switches are supported and it does not require SSID, password, authentication or antennas because of the physical connection. The W5500 chip communicates over the SPI and single CS pin. Also, it is compatible with all Feather boards. When the Arduino Ethernet2 library is activated, it performs the DHCP setting within a few seconds after connection. The RJ-45, mac jack has a link and activity indicator to confirm the current connection.

 

Usage

w5500_well

The Ethernet chipset (W5500) for Ethernet Feather wing is compatible with all featherboards and works seamlessly. You can send and receive packets immediately once you add some libraries.

Install Ethernet2 Library

You must install the W5500 support library first. The source can be downloaded from Github.

https://github.com/adafruit/Ethernet2

You can download it directly from github or the link below.

Download Ethernet2 Library

 

Please unzip the file and make sure that it has src, keywords.txt and library.properties in the Ethernet2 directory when the download is complete.

Next step is to move the Ethernet2 library to the arduinosketchfolder/libraries/.

Please refer to the following tutorial if it’s your first time making a library.

http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use

 

Connect Cable

connect_cable

Connect Ethernet FeatherWing to the featherboard then connect the Ethernet cable.

Run Example Code

This demo code is compatible with all featherboards. You should restart the IDE then compile sketch after upload.

You can download sketch by clicking ‘Download file’ button below.

Download file

  • If you are using LoRa / RFM69 Feather, you must add the pin Mode (8, INPUT_PULLUP) setting to do not use LoRa or RFM69 radio.

Open the serial console window and check the log when compilation is complete.

arduino

 

Please check that the green light is on and the ethernet cable is connected to the router if no IP address is assigned.

Also, contact your system administrator if you can not confirm it.

 

Library Reference

Ethernet2 is compatible with the Client interface and the Arduino Ethernet library, so you can refer to the manual when you are coding. Include Ethernet2.h instead of Ethernet, and chip select pin to know which pin to use before init().

Downloads

You can download related materials from the following links: