---
title: "CONTROL IOT DE ROUTER WIFI - ARDUINO NANO + W5100 Ethernet"
url: "https://maker.wiznet.io/matthew/projects/control-iot-de-router-wifi-arduino-nano-w5100-ethernet/"
markdown_url: "https://maker.wiznet.io/matthew/projects/control-iot-de-router-wifi-arduino-nano-w5100-ethernet/md"
type: "UCC: User Created Content"
author: "Jadsa Tech"
author_url: "https://www.patreon.com/posts/control-iot-de-125584858"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Jadsa Tech"
original_url: "https://www.patreon.com/posts/control-iot-de-125584858"
published: "2025-05-29"
language: "en"
tags: ["Arduino"]
likes: 0
views: 2112
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# CONTROL IOT DE ROUTER WIFI - ARDUINO NANO + W5100 Ethernet

> Remotely reboot your WiFi router using an Arduino Nano, W5100 Ethernet module, and relay with a custom PCB and web interface. Ideal for IoT and network control.

Original author: Jadsa Tech (source: https://www.patreon.com/posts/control-iot-de-125584858)

## Documents and links

- [EthernetW5100_ARDUINO_NANO.ino](https://www.patreon.com/posts/control-iot-de-125584858) (code)
- [Ethernet_PCB.png](https://www.patreon.com/posts/control-iot-de-125584858) (schematics)
- [Gerber_W5100-ARDUINO-NANO-CONTROL-RELAY_PCB_W5100-ARDUINO-NANO-CONTROL-RELAY](https://www.patreon.com/posts/control-iot-de-125584858) (schematics)

## Article

## Remote Router Reboot with Arduino Nano and W5100 – DIY IoT Project with Custom PCB

**Take full control of your WiFi router with this smart IoT solution powered by an Arduino Nano and Ethernet W5100 module.** This project introduces a custom PCB designed to remotely restart your router over the internet—perfect for maintaining connectivity, automating home networks, and managing remote devices.

## What Is This Project?

This project is a **hardware-based remote power switch**, built using:

An **Arduino Nano** as the central controller

An **Ethernet W5100 module** for network communication

A **mechanical relay** to switch the router’s power supply

A **voltage regulation circuit** to ensure safe and stable operation

**Its core purpose is to reboot a router or modem remotely**, simulating a manual power cycle by briefly cutting and restoring power—ideal for resolving connection issues from anywhere.

---

## How It Works: Step-by-Step Functionality

**Wired Ethernet Setup**
The W5100 module connects the Arduino Nano to a local network via an Ethernet cable. The device receives a static IP address (e.g., `192.168.1.177`) and hosts a lightweight web server on port 80.

**Serving a Web Interface**
When accessed via a browser, the device displays a **mobile-friendly HTML page**. This page includes a single button labeled “ON” to trigger the reset.

**Relay Activation via HTTP Request**
Clicking the “ON” button sends a GET request (e.g., `/?Data=3`) to the Arduino's IP address. The code listens for this request and, upon detecting it, activates the relay:

cpp

복사편집

`if (strstr(cadena, "Data=3")) { digitalWrite(RELAY2, HIGH); delay(200); digitalWrite(RELAY2, LOW); }`

This pulse powers the relay for 200 milliseconds (or 1 second), simulating a brief power-off event for the router. After that, the relay automatically resets to the “off” state.

**Auto Recovery and Feedback**
The browser receives an HTTP 200 response along with the styled HTML page. This provides instant feedback to the user that the action has been processed successfully.

---

## Use Cases and Practical Applications

This project can be used in various scenarios, such as:

**Remotely rebooting your WiFi router** when internet access fails

**Managing network equipment** in remote offices or outdoor IoT installations

**Building smart power controllers** for servers, cameras, or any AC-powered IoT device

**Educational demonstrations** on embedded systems, IoT control, and PCB design

---

## Tools and Technologies Used

**Hardware:**

Arduino Nano

Ethernet W5100 Module

Relay Module

Custom-designed PCB with voltage regulator

**Software:**

Arduino IDE for firmware development

KiCad 8.0 for PCB design

Ethernet and SPI libraries

---

## Get the Files and Build It Yourself

**Download the Arduino code and PCB Gerber files** here:

Patreon: /125584858

PCBWay: <https://bit.ly/ArduinoW5100Board>

**Explore 30+ more projects** from the creator’s open portfolio:
🔗 <https://jadsa.net/#portfolio>

---

## Connect with the Developer

For updates, support, or collaboration opportunities, follow the creator on social media:

Facebook: /jadsacorp

LinkedIn: /jhimmyastoraque

Instagram: /jhimmydev

---

Source: https://maker.wiznet.io/matthew/projects/control-iot-de-router-wifi-arduino-nano-w5100-ethernet/
