Project Description

Description:

This tutorial explains about the wiring and testing the different boards of arduino with the Ethernet shield.We will focus on how to wire Arduino UNO R3 to Arduino LAN Ethernet Shield R3 and Arduino MEGA R2 to Arduino LAN Ethernet Shield, then test whether it works or not.

Hardware:

Arduino Uno

Arduin Mega

Ethernet Shield W5100

Notice that, I will only use Serial Cable, Arduino UNO R3, Arduino MEGA R2, and Arduino LAN Ethernet Shield R3 as the model, because there comes a lot of problem when deals with them, so I hope this guidance will help you. Here, the good idea is we do not need to use any ethernet cable.

In order to make sure the devices, here I attached the image:

 

Arduino UNO R3 with ATMega 328,:

146

Arduino MEGA R2 with ATMega 2560:

147

Arduino LAN Ethernet Shield with chip w5100:

148

Here is the wiring from UNO to Ethernet Shield:

149

Wiring UNO R3 to Ethernet Shield R3, it is better wiring them than piling them up in order to keep the feet strong (not bent).

Connect ICSP (UNO) to ICSP Header (Eth Shield) with common arrangement.Then, pin 4 to pin 4 and pin 10 to pin 10.

Here is the wiring from Mega to Ethernet Shield:

150

Wiring them, from ICSP to ICSP header with common pin arrangement, then pin 4 to pin 4 and pin 10 to pin 10,

 

If your uploading seems freezing (often happen to Mega R2, press reset, then try to unplug, plug, then press reset,then upload again). After finish uploading, then open serial monitor:

151