---
title: "pcbcrew-esp32-router"
url: "https://maker.wiznet.io/louis_m/projects/pcbcrew-esp32-router/"
markdown_url: "https://maker.wiznet.io/louis_m/projects/pcbcrew-esp32-router/md"
type: "UCC: User Created Content"
author: "dumtux"
author_url: "https://github.com/dumtux/pcbcrew-esp32-router/blob/develop/doc/image/pcbcrew-easymeal-iot-pcba.png"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "dumtux"
original_url: "https://github.com/dumtux/pcbcrew-esp32-router/blob/develop/doc/image/pcbcrew-easymeal-iot-pcba.png"
published: "2024-03-04"
language: "en"
hardware: ["WIZnet W5500", "Espressif ESP32"]
likes: 0
views: 489
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# pcbcrew-esp32-router

> ESP-IDF Project for Wi-Fi, Ethernet, and 4G/LTE Network Router

Original author: dumtux (source: https://github.com/dumtux/pcbcrew-esp32-router/blob/develop/doc/image/pcbcrew-easymeal-iot-pcba.png)

## Components

- **WIZnet W5500** x 1 ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W5500))
- **Espressif ESP32** x 1 ([docs](https://www.espressif.com/en/products/socs/esp32))

WIZnet parts: W5500 ([Datasheet](https://docs.wiznet.io/Product/Chip/Ethernet/W5500/datasheet?utm_source=maker&utm_medium=project&utm_campaign=w5500), [product hub](https://maker.wiznet.io/products/w5500/))

## Article

## Overview

<https://github.com/dumtux/pcbcrew-esp32-router?tab=readme-ov-file#overview>

**Note:** 4G LTE network routing is still work-in-progress.

## How to use example

<https://github.com/dumtux/pcbcrew-esp32-router?tab=readme-ov-file#how-to-use-example>

### Hardware Required

<https://github.com/dumtux/pcbcrew-esp32-router?tab=readme-ov-file#hardware-required>

| [PCBCrew Easymeal IoT](https://github.com/pcbcrew-org/pcbcrew-easymeal-iot) | [PCBCrew BLDGOT kWh](https://github.com/pcbcrew-org/pcbcrew-bldgot-kwh) | [ESP32-Ethernet-Kit](https://github.com/espressif/esp-idf/blob/master/docs/en/hw-reference/esp32/get-started-ethernet-kit.rst) |
| --- | --- | --- |
| [![pcbcrew-easymeal-iot](https://github.com/dumtux/pcbcrew-esp32-router/raw/develop/doc/image/pcbcrew-easymeal-iot-pcba.png)](https://github.com/dumtux/pcbcrew-esp32-router/blob/develop/doc/image/pcbcrew-easymeal-iot-pcba.png) | [![pcbcrew-bldgot-kwh-pcba](https://github.com/dumtux/pcbcrew-esp32-router/raw/develop/doc/image/pcbcrew-bldgot-kwh-pcba.png)](https://github.com/dumtux/pcbcrew-esp32-router/blob/develop/doc/image/pcbcrew-bldgot-kwh-pcba.png) | [![esp32-ethernet-kit](https://github.com/dumtux/pcbcrew-esp32-router/raw/develop/doc/image/esp32-ethernet-kit-v1.2.png)](https://github.com/dumtux/pcbcrew-esp32-router/blob/develop/doc/image/esp32-ethernet-kit-v1.2.png) |
| ESP32-S3 / W5500 / mini-PCIe | ESP32-S3 / Wiznet W5500 | ESP32-WROVER / IP101 |

### Configure the project

<https://github.com/dumtux/pcbcrew-esp32-router?tab=readme-ov-file#configure-the-project>

```plaintext
idf.py menuconfig
```

In addition to the common configurations for Ethernet, you might also need to update the default value of following configurations:

In the `Example Configuration` menu:

- Set the SSID and password for Wi-Fi ap interface under `Wi-Fi SSID` and `Wi-Fi Password`.

- Set the maximum connection number under `Maximum STA connections`.

### Build, Flash, and Run

<https://github.com/dumtux/pcbcrew-esp32-router?tab=readme-ov-file#build-flash-and-run>

Build the web frontend in the [`webapp/`](https://github.com/dumtux/pcbcrew-esp32-router/blob/develop/webapp) folder. For more details, read this blog post: ["Creating A Svelte Web Application For ESP32"](https://pcbcrew.com/blog/create-a-svelte-webapp-for-esp32)

Build the project and flash it to the board, then run monitor tool to view serial output:

```plaintext
idf.py -p PORT build flash monitor
```

## References

<https://github.com/dumtux/pcbcrew-esp32-router?tab=readme-ov-file#references>

- [ESP-IDF eth2ap Example](https://github.com/espressif/esp-idf/tree/release/v5.0/examples/ethernet/eth2ap)

- [ESP-IoT-Bridge Solution](https://github.com/espressif/esp-iot-bridge)

---

Source: https://maker.wiznet.io/louis_m/projects/pcbcrew-esp32-router/
