Project Description


The Ethernet Shield W5500 and mount a data logger to store data on an SD card installed in the shield.


The Ethernet Shield W5500:

The first difference that we notice in the Ethernet Shield W5500 and which is quite pleasing is the size and positioning of the ethernet connector (RJ45). Unlike other boards, it has a reduced size and has been placed in such a way that you can fit another shield over it, if necessary:


The shield also has two connectors for modules in the Grove line, which is a system that uses a standard 4-pin cable that facilitates the connection process as the cables can not be turned upside down. The Grove system is suitable for beginners, students and hobbyists who need to design their projects using microcontrollers but do not want to assemble complicated electronic circuits. In the W5500, you have a connector for modules that use I2C communication and one for UART (serial) communication.

We also have a reset button and also an SD card slot (maximum of 2GB, FAT16 or FAT32), which allows you to store web data on a memory card or even upload a web page from it.

Internally, the W5500 has stability and performance enhancements and increased connection capacity: 8 sockets, which means you can connect the W5500, for example, to 8 web pages simultaneously, or create a web server that accepts 8 connections at the same time. For comparison purposes, the W5100 supports up to 4 connections.


Another very important detail of the W5500 ethernet shield is that it works with 3.3V on the signal pins, but is tolerant to 5V, so you can use the shield with both Arduino Uno and Mega, working with 5V, as with Arduino Due, Intel Edison and Linkit One, which work with 3.3V.

Below, other features of the W5500 shield:
Supported Protocols: TCP, UDP, ICMP, IPv4, ARP, IGMP, PPPoE
Power Down Mode
Wake on Lan (UDP) support
32K internal memory for receive and transmit buffers (RX / TX)
10BaseT / 100BaseTX Ethernet PHY
Auto negotiation: full and half duplex
Led indicators: Full / Halp Duples, Link, Speed and Active

And finally, the pins used by the shield to communicate with the Arduino:
Digital Pin 4: CS (Chip Select) of the SD card
Digital Pin 10: CS (Chip Select) of the W5500
Digital Pin 11: SPI Interface – MOSI
Digital Pin 12: SPI Interface – MISO
Digital Pin 13: SPI Interface – SCK

Data logger and Web Server with W5500:

In our data logger we will create a web server and store on the SD card, every 10 seconds, the status of the analog ports A0, A1 and A2. This is a very simple example of usage, which you can use as a basis for recording date and time information, sensor data, warnings and other information on the card for further analysis.Insert a memory card formatted as FAT16 or FAT32 into the shield and load the program below into the Arduino:

The program performs the configuration of the Ethernet Shield IP settings (IP address, mask, gateway, etc.), and also verifies that the SD card has been correctly inserted. If everything is ok, show this information in the Serial Monitor and wait for the connection to the web server:


In the browser of your choice, enter the IP address that was shown on the serial monitor. Information about the analog ports will be shown on the screen:




More Information :