

RfidRelayInterfacePCB
End-to-end Industry 4.0 manufacturing system featuring industrial automation, machine vision, collaborative robotics, IIoT monitoring, cybersecurity, and digital manufacturing.
- Size
- 96.5 × 96.5 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 88
- Nets
- 65
- Pads
- 265
- Tracks, vias
- 339, 127
- Pours
- 121
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 14 May 2026
- Updated
- 15 Jun 2026
Overview
RfidRelayInterfacePCB is an open-source printed circuit board by sLeon2005, from the sLeon2005/Team-ATOLE-Manufacturing-Cell repository on GitHub, published under the MIT licence. It is a 2-layer board of 96.5 × 96.5 mm with 88 parts on 65 nets, routed with 339 tracks and 127 vias.
It is built around the ATMEGA328-PU, CH340C and AMS1117-3.3, with the IRLML2502 and SS34 among its other parts. Its parts include 22 resistors, 12 capacitors, 7 switches, 6 diodes and 5 connectors. It belongs with the robots and motor control and home automation and IoT boards and the ESP32 and AVR (ATmega, ATtiny) boards of this library.
Main components
5ATMEGA328-PU
PDIP-28-40℃~+85℃ 1.8V~5.5V 10bit 1KB 20MHz 23 2KB 32KB 8 Bit AVR Built-in FLASH PDIP-28 Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)CH340C
SOP-16-20℃~+70℃ 2Mbps 3.3V、5V 50uA 7mA Transceiver USB 2.0 SOP-16 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersAMS1117-3.3
SOT-223-40℃~+125℃ 0.003%Vout 1 1.1V@(800mA) 15V 1A 3.3V 5mA 72dB@(120Hz) Fixed Over Current Protection、Short Circuit Protection、Thermal shutdown Positive SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSAdvanced Monolithic SystemsVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsIRLML2502
SOT-23-40℃~+150℃ 1 N-channel 1.25W 20V 4.2A 50mΩ@2.5V 600mV 66pF 740pF 8nC@10V SOT-23 MOSFETs ROHSGuangdong HottechMOSFETsSS34
SMA(DO-214AC)-55℃~+125℃ 3A 40V 500uA@40V 550mV@3A Independent SMA(DO-214AC) Schottky Diodes ROHSMDDSchottky Diodes
README
README.md🏭 Team ATOLE Manufacturing Cell
PLC Coordination · Computer Vision · Collaborative Robotics · IIoT Monitoring · Cybersecurity

An Industry 4.0 manufacturing cell developed at Tecnológico de Monterrey that integrates industrial automation, machine vision, collaborative robotics, Industrial IoT, cybersecurity, custom electronics, and digital manufacturing.
The system simulates an automated pastry production facility capable of:
- Identifying products using industrial vision
- Dynamically selecting manufacturing recipes
- Coordinating two Siemens PLCs through an S7 network
- Performing automated material handling with a collaborative robot
- Monitoring energy consumption in real time via MQTT
- Enforcing operator authentication through RFID access control
- Palletizing finished products automatically
📖 Project Overview
The project combines machining, industrial automation, robotics, cybersecurity, and Industrial IoT into a single integrated manufacturing system.
The complete solution is divided into two major subsystems:
⚙️ Plant 1 – Machining & Industrial IoT Monitoring
A custom Aluminum 6061 workpiece was designed, manufactured, and monitored during machining operations.
A custom non-invasive monitoring system measures:
- RMS current
- Active power
- Energy consumption
- Operating cost
- Machine operating state
The collected data is transmitted through MQTT and visualized in real time using a Node-RED dashboard.

🏭 Plant 2 – Automated Manufacturing Cell
The manufacturing cell is controlled by two Siemens S7-1200 PLCs interconnected through industrial Ethernet communication.
The production process includes:
- Product classification using Cognex Vision
- Automatic recipe selection
- Pneumatic processing stations
- Conveyor synchronization
- Collaborative robotic manipulation
- Product assembly
- Automated palletizing

🏗️ System Architecture

The architecture integrates:
- Siemens S7-1200 PLCs
- Siemens HMIs
- Cognex Vision Sensor
- UFACTORY xArm Lite 6
- ESP32 IoT Gateway
- MQTT Broker
- Node-RED Dashboard
- RFID Authentication System
- Pneumatic Stations
- Conveyor Network
🎛️ Industrial Automation
The automation layer was implemented using two Siemens S7-1200 PLCs communicating through an S7 network.
Key features include:
- Dual PLC architecture
- Bidirectional communication
- Dynamic recipe management
- Conveyor synchronization
- Pneumatic sequencing
- HMI operation and diagnostics

👁️ Computer Vision
A Cognex industrial vision sensor acts as the cell’s quality gate.
Three reference objects are classified and mapped to production recipes:
| Object | Recipe |
|---|---|
| Turned Aluminum Part | Chocolate |
| Milled Aluminum Part | Strawberry |
| Metal Hook | Vanilla |
The detected classification is transmitted directly to the PLC network and automatically configures downstream process parameters.

🤖 Collaborative Robotics
A UFACTORY xArm Lite 6 collaborative robot performs:
- Raw material loading
- Inter-conveyor transfers
- Product assembly
- Palletizing
The robot was programmed in Python using the xArm SDK and operates through a Finite State Machine (FSM) architecture capable of managing multiple workpieces simultaneously.

📡 Industrial IoT Monitoring
A custom monitoring cabinet was developed around:
- ESP32
- SCT-013 Current Transformer
- ADS1115 16-bit ADC
The system continuously estimates:
- Current
- Power
- Energy
- Operating cost
- Machine utilization
without requiring direct electrical connection to the machine power circuit.

📊 MQTT & Node-RED Dashboard
Process variables are published through MQTT and visualized through a Node-RED dashboard.
Available metrics include:
- Live current consumption
- Active power
- Energy usage
- Estimated operating cost
- Machine operating state
- Historical trends

🔐 RFID Cybersecurity
An RFID authentication system was integrated to restrict access to critical HMI functions.
Only authorized operators are allowed to access or modify manufacturing parameters.

🔧 Custom Hardware Development
Several custom-designed hardware components were developed specifically for this project.
💻 IoT Monitoring PCB
Custom PCB for:
- Signal conditioning
- Current measurement
- ESP32 integration
- MQTT communication

🔧 Custom Hardware Development
Several custom electronic and mechanical systems were designed and fabricated specifically for this project.
🔐 RFID Access Control PCB
A custom PCB based on the ATmega328P was designed to provide RFID-based operator authentication.
Main features:
- ATmega328P microcontroller
- RFID card reader
- Relay outputs for PLC interfacing
- User identification system
- HMI access control
The board allows the PLC to identify authorized operators and restrict access to critical manufacturing functions.
📡 IoT Energy Monitoring System
A dedicated Industrial IoT monitoring system was developed to analyze the electrical consumption of the ROMI T240 lathe.
Hardware used:
- ESP32
- SCT-013 Current Transformer
- ADS1115 16-bit ADC
- Signal conditioning circuit
The system was implemented on a prototyping board and publishes real-time data through MQTT for remote monitoring and energy analysis.

🦾 Custom End Effectors
Custom grippers were designed and manufactured to handle:
- Raw materials
- Semi-finished products
- Finished assemblies
- Palletizing operations

🛠️ Manufacturing
⚙️ Custom Machined Component
A stepped Aluminum 6061 workpiece was designed in Fusion 360 and manufactured on a ROMI T240 lathe.
The part serves both as a manufactured component and as a reference object for the vision classification system.
| CAD Model | Manufactured Part |
|---|---|
![]() | ![]() |
🧰 Software & Engineering Tools
- Siemens TIA Portal
- Siemens Plant Simulation
- Python
- xArm SDK
- MQTT
- Mosquitto
- Node-RED
- Arduino IDE
- Fusion 360
- KiCad
📈 Results
The final system successfully demonstrated:
✅ Industrial machine vision integration
✅ Dual-PLC communication architecture
✅ Collaborative robotic manipulation
✅ Automated product assembly
✅ Automated palletizing
✅ MQTT-based Industrial IoT monitoring
✅ Real-time energy analytics
✅ RFID-based cybersecurity controls
✅ Custom electronics and PCB development
✅ End-to-end Industry 4.0 integration
👥 Team
Team ATOLE
Tecnológico de Monterrey, Campus Querétaro
B.S. in Mechatronics Engineering
- Kintia Alexa Negrete Osuna
- Francisco Hernández Ramírez
- Sebastián León Medellín
- Yudy Camila Pérez Cervantes
- Jesús Zamora Castelazo
📄 License
This project is licensed under the MIT License.
Parts
88| Qty | Value | Footprint | References |
|---|---|---|---|
| 11 | TestPoint | TestPoint:TestPoint_THTPad_D1.5mm_Drill0.7mm | TP1, TP8, TP10, TP11, TP12, TP13, TP14, TP15, TP16, TP17, TP18 |
| 9 | 1K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R2, R3, R5, R6, R7, R9, R12, R14 |
| 8 | 100nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C2, C4, C7, C8, C9, C10, C11 |
| 7 | TestPoint | TestPoint:TestPoint_THTPad_D1.0mm_Drill0.5mm | TP2, TP3, TP4, TP5, TP6, TP7, TP9 |
| 4 | 100K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R17, R18, R21, R22 |
| 4 | 1N5819 | Diode_SMD:D_SOD-323_HandSoldering | D3, D4, D5, D6 |
| 4 | 220R | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R15, R16, R19, R20 |
| 4 | 2K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4, R8, R11, R13 |
| 4 | IRLML2502 | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q1, Q2, Q3, Q4 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3_Pad_Via | H2, H3, H4, H5 |
| 4 | SANYOU_SRD_Form_C | Relay_THT:Relay_SPDT_SANYOU_SRD_Series_Form_C | K1, K2, K3, K4 |
| 3 | SW_Push | Button_Switch_THT:SW_PUSH_6mm_H5mm | SW1, SW2, SW3 |
| 3 | ~ | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | ON1, RX1, TX1 |
| 2 | 22pF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C5, C6 |
| 2 | SS34 | Diode_SMD:D_SMA_Handsoldering | D1, D2 |
| 1 | 100uF | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C12 |
| 1 | 10K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R10 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C3 |
| 1 | 16MHz | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm_HandSoldering | Y1 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U3 |
| 1 | ATmega328-P | Package_DIP:DIP-28_W7.62mm_Socket_LongPads | U2 |
| 1 | Buzzer | Buzzer_Beeper:Buzzer_D14mm_H7mm_P10mm | BZ1 |
| 1 | CH340C | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U1 |
| 1 | Conn_01x04_Socket | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J3 |
| 1 | Conn_01x07_Pin | Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_Vertical | J2 |
| 1 | Fuse | Fuse:Fuse_1206_3216Metric_Pad1.42x1.75mm_HandSolder | F1 |
| 1 | LOGO | LOGO | G*** |
| 1 | Screw_Terminal_01x02 | TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J5 |
| 1 | Screw_Terminal_01x06 | TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-06P_1x06_P5.00mm | J4 |
| 1 | USB_B | Connector_USB:USB_B_TE_5787834_Vertical | J1 |
Similar boards
- 2 layers53.3 × 68.6 mm

- 2 layers85 × 56 mm

- 4 layers67.5 × 53.5 mm

Flight controller rev2
shazmeenShz/ESP32-Flight-Controller
Custom 4-layer IoT-Ready ESP32 Flight Controller PCB designed in KiCad 8 featuring USB Type-C, CH340C, MP1584 power management, MPU6050 interface, and manufacturing-ready Gerber files.
65 parts3MIT - 2 layers204.5 × 113 mm

- 4 layers60 × 85 mm

VehicleVCU PCB
nsm81/VehicleVCU_PCB
A Vehicle Control Unit provides multiple CANBUS transceivers for communication within a vehicle.
86 parts1 - 2 layers81.3 × 72.9 mm

- 2 layers90 × 60 mm

- 2 layers73.5 × 92.8 mm

Questions
How big is the RfidRelayInterfacePCB PCB?
It measures 96.5 × 96.5 mm and has 2 copper layers, 1.6 mm thick.
What parts does the RfidRelayInterfacePCB use?
88 parts, built around the ATMEGA328-PU, CH340C, AMS1117-3.3 and IRLML2502. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the RfidRelayInterfacePCB KiCad files?
From the sLeon2005/Team-ATOLE-Manufacturing-Cell repository on GitHub, at the commit this page was made from: the board is RFID-Relay-Interface/rfidRelayInterfacePCB/rfidRelayInterfacePCB.kicad_pcb and its schematic RFID-Relay-Interface/rfidRelayInterfacePCB/relays.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the RfidRelayInterfacePCB design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

