---
title: "Easymeal ™ IoT MDB Router"
url: "https://maker.wiznet.io/louis_m/projects/easymeal-%E2%84%A2-iot-mdb-router/"
markdown_url: "https://maker.wiznet.io/louis_m/projects/easymeal-%E2%84%A2-iot-mdb-router/md"
type: "UCC: User Created Content"
author: "dumtux doc"
author_url: "https://github.com/pcbcrew-org/pcbcrew-easymeal-iot"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "dumtux doc"
original_url: "https://github.com/pcbcrew-org/pcbcrew-easymeal-iot"
published: "2023-05-02"
language: "en"
hardware: ["Espressif ESP32-WROOM-32E", "WIZnet W5500"]
likes: 2
views: 223
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Easymeal ™ IoT MDB Router

> SP32 based vending machine controller board with Ethernet, Wi-Fi, and 4G LTE connectivity

Original author: dumtux doc (source: https://github.com/pcbcrew-org/pcbcrew-easymeal-iot)

## Components

- **Espressif ESP32-WROOM-32E** x 1 ([docs](https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32e_esp32-wroom-32ue_datasheet_en.pdf))
- **WIZnet W5500** x 1 ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W5500))

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

> - Designed for [Easymeal ™](https://www.easymealco.com/)
>
> - Designed by [PCBCrew ™](https://pcbcrew.com/)

SP32 based vending machine controller board with Ethernet, Wi-Fi, and 4G LTE connectivity

| 3D Preview | PCBA |
| --- | --- |
| [![pcbcrew-easymeal-iot-3d-preview](https://github.com/pcbcrew-org/pcbcrew-easymeal-iot/raw/develop/doc/image/3d-preview.png)](https://github.com/pcbcrew-org/pcbcrew-easymeal-iot/blob/develop/doc/image/3d-preview.png) | [![pcbcrew-easymeal-iot-pcb-assembly](https://github.com/pcbcrew-org/pcbcrew-easymeal-iot/raw/develop/doc/image/pcba.png)](https://github.com/pcbcrew-org/pcbcrew-easymeal-iot/blob/develop/doc/image/pcba.png) |

- ESP32-S3

- Wiznet W5500 Ethernet Controller

- Mini-PCIe connector for a Quectel/Simcom 4G LTE module

- RS232 UART port via push-pull connector

- Dual MDB connectors for vending macine interfacing

- On-board backup 18650 battery holder and charger

- DS1337 RTC and CR2032 battery holder

- DIP8 connector for 24Cxx EEPROM

- A few buttons and LEDs

- USB 2.0 Type-C connector for debugging

## Pin Assignments

### On-board peripherals

| Device | Net name | ESP32-S3 |
| --- | --- | --- |
| Action LED | LED_ACT | GPIO_9 |
| Battery charger | BAT_CHARG | GPIO_8 |
| Pushbutton 1 | BTN1 | GPIO_37 |
| Pushbutton 2 | BTN2 | GPIO_36 |
| I2C SCL | SCL | GPIO_5 |
| I2C SDA | SDA | GPIO_4 |

### MDB interface

| Device | Net name | ESP32-S3 |
| --- | --- | --- |
| MDB 1 Tx | M1_TX | GPIO_16 |
| MDB 1 Rx | M1_RX | GPIO_15 |
| MDB 2 Tx | M2_TX | GPIO_18 |
| MDB 2 Rx | M2_RX | GPIO_17 |

### W5500 Ethernet controller

| W5500 | Net name | ESP32-S3 |
| --- | --- | --- |
| SCLK | SPI2_SCK | GPIO_12 |
| MOSI | SPI2_MOSI | GPIO_11 |
| MISO | SPI2_MISO | GPIO_13 |
| SCSn | SPI2_CS0 | GPIO_10 |
| RSTn | SPI2_RESET | GPIO_47 |
| INTn | SPI2_INT | GPIO_48 |

### Quectel EC25

| Modem | PCIe | ESP32-S3 |
| --- | --- | --- |
| MODEM_RST | PCIE_22 | GPIO_35 |
| MODEM_UART_TX | PCIE_13 | GPIO_44 |
| MODEM_UART_RX | PCIE_11 | GPIO_43 |
| MODEM_RTS | PCIE_25 | GPIO_39 |
| MODEM_CTS | PCIE_23 | GPIO_40 |

### Simcom SIM7600

| Modem | PCIe | ESP32-S3 |
| --- | --- | --- |
| MODEM_RST | PCIE_22 | GPIO_35 |
| MODEM_CTS | PCIE_11 | GPIO_43 |
| MODEM_RTS | PCIE_13 | GPIO_44 |
| MODEM_UART_TX | PCIE_19 | GPIO_41 |
| MODEM_UART_RX | PCIE_17 | GPIO_42 |

## Project Ownership

This repository is hosted on [PCBCrew Org](https://github.com/pcbcrew-org) for backup. The copyright of this hardware design is owned by [Easymeal ™](https://www.easymealco.com/).

### Sponsors:

- [Easymeal ™](https://www.easymealco.com/)

- [PCBCrew ™](https://pcbcrew.com/)

---

Source: https://maker.wiznet.io/louis_m/projects/easymeal-%E2%84%A2-iot-mdb-router/
