---
title: "Arduino Ethernet Servo Motor"
url: "https://maker.wiznet.io/louis_m/projects/arduino-ethernet-servo-motor/"
markdown_url: "https://maker.wiznet.io/louis_m/projects/arduino-ethernet-servo-motor/md"
type: "UCC: User Created Content"
author: "Electroingenio"
author_url: "https://www.electroingenio.com/arduino-en/arduino-ethernet-w5100-and-servo-motor/"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Electroingenio"
original_url: "https://www.electroingenio.com/arduino-en/arduino-ethernet-w5100-and-servo-motor/"
published: "2022-08-30"
language: "en"
tags: ["Internet of Things"]
hardware: ["Arduino Ethernet Shield 2"]
likes: 5
views: 5736
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Arduino Ethernet Servo Motor

> Again we have a test of Arduino, this time we are conducting a test of the W5100 Ethernet module, which has the ability to connect our Ardui

Original author: Electroingenio (source: https://www.electroingenio.com/arduino-en/arduino-ethernet-w5100-and-servo-motor/)

## Components

- **Arduino Ethernet Shield 2** x 1 ([docs](https://docs.arduino.cc/hardware/ethernet-shield-rev2))

## Article

## **What should you keep in mind to control a servo motor with an Arduino Ethernet W5100 ?**

The next test is to connect a **servo motor** to the **Arduino Mega 2560** board and control it through an **Ethernet** communication with **W5100** module, in this module we will set up a small web server and through it we will turn 90 degrees a servo motor from Local website hosted on that server.

![](https://www.electroingenio.com/wp-content/uploads/2014/09/Picture-85.jpg)

For this test the following items are required:

1 **Arduino Mega 2560** Card or **Arduino Uno**.

2 **Ethernet Module w5100**

3 **Servo Motor**

4 Direct UTP Patch cord to connect the module to the LAN

5. Adapter 6-9 VDC (Required in some cases for the servo current )

Here is the wiring diagram of the servo motor, **Arduino Mega** 2560 and **W5100** module:

![](https://www.electroingenio.com/wp-content/uploads/2014/09/Arduino-board.jpg)

The control wire of **servo motor** (yellow wire) should be on pin 7 and the LED should be connected to pin 5, the servo motor is connected to the voltage source of the **mega** card **2560** with its red and black wires 5V and 0V (GND ) respectively.

The following [LINK](https://github.com/maox21/Arduino/blob/master/Servo%20Ethernet%20W5100) is the code to be loaded on the **Mega 2560** development board, is in my GitHub repository.

Is important chech the IP address of your modem from the windows console and with this IP address asign an address to **w5100 module** into LAN range to communicate properly .

---

Source: https://maker.wiznet.io/louis_m/projects/arduino-ethernet-servo-motor/
