Thursday, June 07, 2018

w5500 Ethernet Module with Arduino Mega 2560

By leorick  |  6/07/2018 10:48:00 PM 8 comments

This W5500 ethernet module available at Lazada for less than USD6
Just search for W5500
Connect through SPI
7 connections needed from the ethernet module
(5V, GND, MISO, MOSI, SCK, RST & SS) to Arduino Mega 2560

Arduino Mega 2560 pinout

Connection in action



Make sure to compile with Ethernet2.h because this module is using W5500 chip
End result, it works!






8 comments :

Thanks! Works fine but i found out it has a problem with relays, the chip its sensitive and could be disrrupted if you have mechanicals relays close to it.

Zeref said...

Hi, i tried to connect with Arduino Uno, It has no respond, I have no Ideia what could be the mistake, when a Tried the Web Client Sketch, in this line Serial.print("server is at ");
Serial.println(Ethernet.localIP()); I got 0.0.0.0 !

"Make sure to compile with Ethernet2.h because this module is using W5500 chip"
The present version of Ethernet library supports W5500. I have tested it - works.
By default it works with this pin configuration:
This is on digital pins 11, 12, and 13 on the Uno and pins 50, 51, and 52 on the Mega. On both boards, pin 10 is used as SS. On the Mega, the hardware SS pin, 53, is not used to select the Ethernet controller chip, but it must be kept as an output or the SPI interface won't work.
But you can change SS pin to 53 by:
// You can use Ethernet.init(pin) to configure the CS pin
Ethernet.init(10); // Most Arduino shields
//Ethernet.init(5); // MKR ETH shield
//Ethernet.init(0); // Teensy 2.0
//Ethernet.init(20); // Teensy++ 2.0
//Ethernet.init(15); // ESP8266 with Adafruit Featherwing Ethernet
//Ethernet.init(33); // ESP32 with Adafruit Featherwing Ethernet

I dont even have relays close to the module (6 meters away) and it still stops working at somepoint and wont link with the router (could be 8 hours to 3 days, no idea why) and needs to be reset

leorick said...

Bad unit perhaps? So far, we have been using this W5500 module 24/7 with minimal down time.

Hi. Can we use w5500 module in combination with Arduino Uno for an application that is supposed to run for 24/7?
Also, apart from performance, is there any stability difference between w5100 and w5500?

leorick said...

Never tested with A.Uno (328) but with A.Mega (2560), our devices with w5100/w5500 are running 24/7 in the production floor, so far so good.
We have both w5100 and w5500 running quite stable without any issue. Moving on to w5500 is just that we wanna go for latest version.

Unknown said...

Hello Guyz, I am looking for the Schematic Diagram Of WIZNET IC W5500 Mounted On HW-243 PCB With HANRUN Ehternet port Of (Model No :-HR911105A). If anybody Could Give a reference of the Same it would be Helpfull, Thank You.

Recent Articles

Distributed By My Blogger Themes | Created By BloggerTheme9 | © 2014 DIY Electronics
TOP