Standard USB-C power supply
Industrial Edge AI Gateway
Overview
An edge AI gateway based on Raspberry Pi 4B featuring local industrial connectivity, secure boot, and optional NPU acceleration housed in a DIN-rail metallic enclosure.
System architecture
- POWER_REG → MCU_MAINPowerMain system power rail
- POWER_REG → ETHERNET_PHYPowerEthernet PHY power supply
- POWER_REG → DIGITAL_ISOPowerIsolated side power supply
- MCU_MAIN → ETHERNET_PHYGPIORMII interface for Ethernet connectivity
- MCU_MAIN → DIGITAL_ISOUARTUART signals and direction control for RS485
- DIGITAL_ISO → RS485_TRANSUARTIsolated UART and control signals to RS485 transceiver
Bill of materials
| Part number | Type | Component | Manufacturer | Package | Qty | Datasheet | Match |
|---|---|---|---|---|---|---|---|
| TPS54302DDCR | MODULE | Texas Instruments TPS5430 Wide-Vin DC-DC regulator converting USB-C or industrial supply to 3.3V system power | Texas Instruments | SOT-23-6 | 1 | Matched | |
11 alternatives consideredAI verified | |||||||
| ESP32-S3-WROOM-1-N8R2 | MODULE | Espressif ESP32-S3 Main compute core handling Wi-Fi, Secure Boot V2, Modbus RTU protocol, and lightweight edge AI workloads | Espressif Systems | Module | 1 | Matched | |
19 alternatives consideredAI verified | |||||||
| LAN8742A-CZ-TR | MODULE | Microchip LAN8720A 10/100 Ethernet physical layer transceiver with RMII interface | MICROCHIP | 24-VQFN | 1 | Matched | |
15 alternatives consideredAI verified | |||||||
| SP3485EEN | MODULE | MaxLinear MAX3485EEKA Half-duplex RS-485 transceiver for local sensor connectivity via Modbus RTU | TWGMC | SOP-8 | 1 | Matched | |
16 alternatives consideredAI verified | |||||||
| RL 4A | MODULE | Texas Instruments ISO7742 Provides galvanic isolation between MCU UART/direction signals and RS485 transceiver | Sanken Elec | Plugin | 1 | Matched | |
17 alternatives consideredAI verified | |||||||
Build guide
Procurement & Preparation
- Procure all critical components including TPS54302DDCR, ESP32-S3-WROOM-1-N8R2, LAN8742A-CZ-TR, SP3485EEN, and ISO7742 RL 4A along with Raspberry Pi 4B, optional NPU module, and DIN-rail metallic enclosure.
- Prepare PCB stencil, lead-free SAC305 solder paste, and setup pick-and-place machine coordinates for the edge AI gateway mainboard.
Hardware Assembly & Wiring
- Apply solder paste to the PCB pads and mount surface-mount components: TPS54302DDCR, ESP32-S3-WROOM-1-N8R2, LAN8742A-CZ-TR, SP3485EEN, and ISO7742 RL 4A.
- Integrate the Raspberry Pi 4B board, optional NPU accelerator, and connect internal wiring harnesses for power (3.3V, GND), RMII Ethernet interface, and isolated UART lines between ESP32-S3 and RS485 transceiver.
- Mount the assembled gateway printed circuit board assembly (PCBA) and Raspberry Pi stack into the custom DIN-rail metallic enclosure, securing all thermal pads and grounding points.
Firmware Setup
- Flash Secure Boot V2 bootloader and industrial gateway firmware onto the ESP32-S3 module via UART/USB programming headers.
- Configure the Raspberry Pi OS image with required drivers for local industrial connectivity, Modbus RTU protocol stacks, and optional NPU acceleration runtime libraries.
Testing & Calibration
- Perform electrical safety, current draw, and power rail verification testing on the TPS54302DDCR output to confirm stable 3.3V system power delivery under load.
- Execute end-to-End communication testing validating Ethernet link via LAN8742A-CZ-TR and Modbus RTU telemetry over the isolated RS-485 bus via ISO7742 and SP3485EEN.
Document
edge AI gateway
An edge AI gateway based on Raspberry Pi 4B featuring local industrial connectivity, secure boot, and optional NPU acceleration housed in a DIN-rail metallic enclosure.
Design Overview
| Item | Details |
|---|---|
| Product Type | edge AI gateway |
| Key Functions | Local sensor connectivity via Ethernet, Wi-Fi, and RS485/Modbus, Secure boot implementation, Optional NPU acceleration for edge AI workloads, DIN-rail mount metallic enclosure for control cabinets |
| Power Source | Standard USB-C power supply |
| Connectivity | Ethernet, Wi-Fi, RS485/Modbus |
| Size | DIN-rail mount metallic enclosure |
| Environment | indoor smart building automation |
| Difficulty | Advanced |
| Est. Time | 3-5 hours |
System Architecture
Power Topology: Standard USB-C power input (or optional 9V-36V industrial DC input) fed into a high-efficiency step-down DC-DC regulator (TPS5430) generating a clean 3.3V rail for the ESP32-S3 SoC, Ethernet PHY, and isolated side of the RS485 communication sub-system.
Module List
| Module ID | Type | Name | Function | Voltage |
|---|---|---|---|---|
| POWER_REG | Texas Instruments TPS5430 | Wide-Vin DC-DC regulator converting USB-C or industrial supply to 3.3V system power | 9V-36V to 3.3V | |
| MCU_MAIN | Espressif ESP32-S3 | Main compute core handling Wi-Fi, Secure Boot V2, Modbus RTU protocol, and lightweight edge AI workloads | 3.3V | |
| ETHERNET_PHY | Microchip LAN8720A | 10/100 Ethernet physical layer transceiver with RMII interface | 3.3V | |
| RS485_TRANS | MaxLinear MAX3485EEKA | Half-duplex RS-485 transceiver for local sensor connectivity via Modbus RTU | 3.3V | |
| DIGITAL_ISO | Texas Instruments ISO7742 | Provides galvanic isolation between MCU UART/direction signals and RS485 transceiver | 3.3V |
Key Components
5/5 modules matched to real parts. See the BOM tab for the full component table.
Build Summary
- Difficulty: Advanced
- Estimated time: 3-5 hours
- Tools required: Solder paste printer, Pick-and-place machine, Reflow oven, Digital multimeter, Oscilloscope, USB-to-UART adapter
See the Build tab for the full step-by-step assembly guide.
Generated by YuanQi AI Design System · Query: Design an edge AI gateway using Raspberry Pi 4B, featuring local sensor connectivity (Ethernet, Wi-Fi, RS485/Modbus), secure boot, and optional NPU acceleration.