Wiznet makers

matthew

Published May 29, 2025 ©

84 UCC

8 WCC

30 VAR

0 Contests

0 Followers

0 Following

Original Link

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.

COMPONENTS
PROJECT DESCRIPTION

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

Documents
  • EthernetW5100_ARDUINO_NANO.ino

  • Ethernet_PCB.png

  • Gerber_W5100-ARDUINO-NANO-CONTROL-RELAY_PCB_W5100-ARDUINO-NANO-CONTROL-RELAY

Comments Write