Skip to the content
2 layers77 × 63 mmMARSproject, the printed circuit board in 3D

Modular multi-robot warehouse automation system using sensor fusion (encoders + overhead camera/ArUco) for localization, with ROS 2 based central coordination and ESP32-based robot firmware.

Size
77 × 63 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
39
Pads
89
Tracks, vias
186, 5
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
23 Jun 2026
Updated
28 Aug 2026

Overview

MARSproject is an open-source printed circuit board by awakesid, from the awakesid/MARS---Multi-agent-Robot-for-Warehouse-Automation repository on GitHub. It is a 2-layer board of 77 × 63 mm with 15 parts on 39 nets, routed with 186 tracks and 5 vias.

It is built around the ESP32-WROOM-32E-N8R2 and L293D. Its parts include 8 connectors, 3 ICs, 2 resistors, 1 diode and 1 switch. It belongs with the ESP32 boards of this library.

Main components

2

README

README.md

M.A.R.S — Multi Agent Robot System for Warehouse Automation

Modular multi-robot warehouse automation system using sensor fusion (encoders + overhead camera/ArUco) for localization, with ROS 2 based central coordination and ESP32-based robot firmware.

Overview

  • Differential-drive robots with ESP32 microcontrollers, encoder-based odometry, and servo grippers
  • Overhead camera + ArUco markers for global pose estimation of robots, loads, and dropzones
  • ROS 2 central controller handles task allocation, path planning, collision avoidance
  • Robot ↔ central controller communication over UDP (JSON commands)
  • Supports single/multi-robot operation, priority-based and thread-based task execution, single/double dropzone configurations

System Architecture

text
Overhead Camera → aruco_detector (OpenCV) → /bot_poses, /loads, /dropzone
                                                      ↓
                                              task_manager (ROS 2)
                                        (task allocation, collision avoidance, navigation)
                                                      ↓
                                          UDP (JSON) ↔ ESP32 robots

Hardware

  • ESP32-WROOM / ESP32-S3
  • N20 DC motors with encoders
  • L293D dual H-bridge motor driver
  • Servo gripper
  • Li-Po battery
  • Custom double-sided PCB (KiCad design, in-house etched)
  • 3D printed chassis (Fusion 360 + Bambu Lab printer)

Software Stack

  • Firmware: C++ (Arduino/ESP32), non-blocking UDP + Telnet handlers, PID for straight-line motion
  • Central Controller: ROS 2 (Python/C++), OpenCV for ArUco detection
  • Communication: ROS 2 topics (internal), UDP/WiFi (robot control)

Repository Structure

text
/firmware        # ESP32 robot firmware (motor control, encoder PID, UDP command handling)
/ros2_ws          # ROS 2 packages: camera_node, aruco_detector, task_manager
/pcb              # KiCad PCB design files
/cad              # Fusion 360 chassis design files
/docs             # Report, diagrams, results

Firmware Command Protocol

Robots listen on a dedicated UDP port for JSON commands:

json
{"id": 1, "cmd": "FORWARD", "dist": 200}
{"id": 1, "cmd": "TURN_L", "angle": 90}
{"id": 1, "cmd": "GRAB"}

Supported commands: FORWARD, BACKWARD, TURN_L, TURN_R, GRAB, RELEASE, STOP Each command receives an ack on receipt and a done reply on completion. Odometry is broadcast at 10 Hz.

Setup

Firmware

  1. Open /firmware in Arduino IDE / PlatformIO
  2. Set BOT_ID, WiFi credentials, and target UDP port per robot
  3. Flash to ESP32

Central Controller

  1. Requires ROS 2 (tested on Humble/Iron), OpenCV, opencv-contrib (ArUco module)
  2. Build workspace:
    text
    cd ros2_ws
    colcon build
    source install/setup.bash
  3. Launch nodes:
    text
    ros2 launch mars_bringup mars.launch.py

Thread-based multi-robot execution with double dropzone gave the best throughput; single dropzone increases collision risk and coordination overhead.

Team

  • Amrit Kumar Banjade
  • Laxmi Prasad Upadhyaya
  • Siddartha Gupta
  • Sumit Sigdel

Department of Electronics and Computer Engineering, Pashchimanchal Campus, IOE, Tribhuvan University Supervisor: Asst. Prof. Er. Hom Nath Tiwari

For a more detailed description, you can refer MARS_report.pdf

Parts

15
QtyValueFootprintReferences
2Conn_01x01_PinConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ5, J6
2Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ4, J11
2Conn_01x06_PinConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ1, J2
110KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_VerticalR2
11KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_VerticalR1
1B2B-XH-A (LF)(SN)easyeda2kicad:CONN-TH_B2B-XH-A-LF-SNCN6
1Conn_01x08_PinConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ3
1ESP32-WROOM-32E-N8R2symbols_footprint:esp32 dev boardU2
1L293DPackage_DIP:DIP-16_W7.62mmU3
1LEDLED_THT:LED_D1.8mm_W3.3mm_H2.4mmD1
1LM7805_TO220Package_TO_SOT_THT:TO-220-3_VerticalU1
1SW_PushButton_Switch_THT:SW_PUSH_6mm_H4.3mmSW1

Similar boards

  • 2 layers85 × 105 mmRestroBOT, the printed circuit board in 3D

    RestroBOT

    PrashilLamichhane/RestroBOT_PCB

    24 parts
  • 2 layers72.5 × 73.9 mmMicromouse3.0, the printed circuit board in 3D

    Micromouse3.0

    prashantbhandary/MicroMouse-LineMaze

    Meshmerize MicroMouse Project

    25 parts4
  • 2 layers56.8 × 50.4 mmSignLanguage Glove, the printed circuit board in 3D

    SignLanguage Glove

    Sanjog34/SignLanguage_Glove

    This repository contains the source code, hardware design files, datasets, and documentation for the Smart Glove for Real-Time Nepali Sign Language (NSL) to Speech Translation system.

    19 parts1
  • 2 layers114.3 × 42.9 mmWatch conn, the printed circuit board in 3D

    Watch conn

    Sanjog34/PCB-designs

    PCBs i designed

    53 parts
  • 2 layers128.7 × 60.3 mmMOBILE, the printed circuit board in 3D

    MOBILE

    sumit123hub/Mobile-PCB-Files-

    I always dreamed of building my own mobile system. This repo documents my journey designing a custom ESP32 PCB featuring a GSM module, display interface, and complete Battery Management System (BMS).

    92 parts
  • 4 layers96 × 44 mmAroma, the printed circuit board in 3D

    Aroma

    tristan-yk/Aroma

    PCB design files and firmware for multi-channel diffuser driver board.

    108 parts

Questions

How big is the MARSproject PCB?

It measures 77 × 63 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MARSproject use?

15 parts, built around the ESP32-WROOM-32E-N8R2 and L293D. 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 MARSproject KiCad files?

From the awakesid/MARS---Multi-agent-Robot-for-Warehouse-Automation repository on GitHub, at the commit this page was made from: the board is PCBFiles/MARSproject.kicad_pcb and its schematic PCBFiles/MARSproject.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MARSproject design in my own project?

Its repository states no licence, so its author keeps all rights: ask awakesid before reusing the design.