

Battlebot
const int enA1Pin = 13; const int in11Pin = 12; const int in21Pin = 16; const int enB1Pin = 10; const int in31Pin = 17; const int in41Pin = 9;
- Size
- 94 × 99.7 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 35
- Nets
- 65
- Pads
- 227
- Tracks, vias
- 461, 20
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 20 Jun 2024
- Updated
- 26 Jun 2024
Overview
Battlebot is an open-source printed circuit board by momin3121, from the momin3121/battlebot-MNH-V01 repository on GitHub. It is a 2-layer board of 94 × 99.7 mm with 35 parts on 65 nets, routed with 461 tracks and 20 vias.
It is built around the ESP32-PICO-D4, CH340E and L298HN, with the AMS1117-3.3 among its other parts. Its parts include 5 connectors, 3 ICs and 1 switch. It belongs with the ESP32 and RISC-V boards of this library.
Main components
4ESP32-PICO-D4
QFN-48-EP(7x7)-40℃~+85℃ -97dBm 150Mbps 2.412GHz~2.484GHz 2.4GHz 2.7V~3.6V 20dBm Bluetooth、WiFi SPI、I2C transceiver QFN-48-EP(7x7) RF Transceiver ICs ROHSEspressif SystemsRF Transceiver ICsCH340E
MSOP-10150uA 20mA 2Mbps 3.3V、5V Transceiver USB 2.0 MSOP-10 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersL298HN
Multiwatt-15Active braking function Multiwatt-15 Brushed DC Motor Drivers ROHSSTMicroelectronicsGate Drive ICsAMS1117-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) Regulators
README
README.mdbattlebot-MNH-V01
Table of Contents
- Introduction
- Design Overview
- Weight and Dimensions
- Frame Construction
- tool System
- Electrical Components
- PCB Design
- References
Introduction
The "battlebot-MNH-V01" is a custom-built battle bot designed for high performance in competitive environments. This bot combines precision engineering and robust construction to achieve high mobility and effective combat capabilities.
Design Overview
Frame Construction
- Material: Aluminum
- Construction: The frame serves as the skeleton, providing a sturdy yet lightweight base. It includes reinforcements at critical stress points to prevent deformation during combat.
- Benefits: The use of aluminum and 3D-printed components allows for rapid prototyping and customization, ensuring flexibility and cost-effectiveness.
Weight and Dimensions
- Total Weight: 3 kg
- Overall Dimensions: 21 cm x 20 cm
Tool System
Integration
- Primary Weapon: A centrally mounted spinning blade made from hardened steel.
- Motor: High-torque electric motor.
- Specifications:
- Spin Rate: Up to 5000 RPM
- Impact Resistance: Designed for high durability and easy field repairs.
Electrical Components
Key Components
- DC Motor: High Speed Electric Brush Motor (12V, 100W, 5000RPM)
- Transmitter: GoolRC Flysky FS-i6X Transmitter with FS-iA6B Receiver
- Battery: CNHL 2200mAh 3S Lipo Battery (30C, 11.1V)
- Wheels: Premium 97mm Mecanum Wheels
- Controller: ESP32-PICO-D4 microcontroller for managing motor and sensor inputs.
Motor Drivers
- Wheel Motors: Dual L298HN Motor Drivers
- Weapon Motor: VNH2SP30 Motor Driver
PCB Design
Overview
The PCB (Printed Circuit Board) for the battle bot is designed to control all major functions, including motor control and sensor integration. The design focuses on robustness, efficiency, and ease of maintenance, ensuring optimal performance during competitions.
Size and Layers
- Dimensions: 10 cm x 9.5 cm
- Layers: 2-layer design for efficient routing of power and signal traces.

Trace Widths
- Motor Traces: 0.8 mm (for currents up to 2A)
- Tool Motor Traces: 2.5 mm (for currents up to 10A)
- Design Standards: Trace widths are calculated based on IPC-2221 standards to handle the expected current loads with an allowable temperature rise of 10°C to 20°C.
Key Components
- Microcontroller (U3): ESP32-PICO-D4
- Function: Central processing unit that handles control logic, motor commands, and sensor inputs.
- Power Supply: 3.3V provided by AMS1117-3.3 voltage regulator.
- Motor Drivers:
- L298HN (U1, U5): Controls the four wheel motors, allowing precise movement and speed adjustments.
- VNH2SP30 (U2): Manages the high-current weapon motor, providing necessary torque and speed.
- Voltage Regulator (U6): AMS1117-3.3
- Function: Provides stable 3.3V output for low-power devices.
- Current Handling: Up to 1A, supporting the microcontroller and sensors.
- USB to Serial Converter (U4): CH340E
- Function: Enables programming and communication between the microcontroller and a computer.
- Capacitors (C1, C10-C16): Stabilize voltage and filter noise in the power supply.
- Resistors (R1, R2, R3, R4, R6): Employed for pulling up/down inputs and limiting current to protect other components.
- Connectors (J1, J2, J3, J4, J5, J6): Provide interfaces for external connections to motors, power sources, and other peripherals.
- Switch (SW1): Used to enable the microcontroller, typically controlling the power state or activation of the system.

Power Management
- AMS1117-3.3 Voltage Regulator (U6):
- Function: Provides a stable 3.3V output for low-power devices.
- Current Handling: Up to 1A.
- Integration: Positioned near power inputs with filtering capacitors to ensure smooth operation.
- VNH2SP30 Motor Driver:
- Function: Drives the weapon motor.
- Current Handling: 30A continuous.
- Integration: Includes extensive heat sinking to manage high current loads.
- Dual L298HN Motor Drivers:
- Function: Independently controls four wheel motors.
- Current Handling: 2A per channel.
- Integration: Equipped with dedicated capacitors for voltage stabilization and noise filtering.
Layout and Design Considerations
- Trace Width: Motor traces are designed to handle high currents without excessive heat buildup or voltage drop.
- Via Optimization: Used to connect traces between the top and bottom layers, enhancing electrical performance.
- Accessibility: All connectors and critical components are easily accessible for maintenance and troubleshooting.

Code Example
#include <ESP32Servo.h>
#include <FlySkyIBus.h>
const int enA1Pin = 13;
const int in1_1Pin = 12;
const int in2_1Pin = 16;
const int enB1Pin = 10;
const int in3_1Pin = 17;
const int in4_1Pin = 9;
const int enA2Pin = 33;
const int in1_2Pin = 32;
const int in2_2Pin = 25;
const int enB2Pin = 27;
const int in3_2Pin = 26;
const int in4_2Pin = 14;
const int enBPin = 35;
const int inBPin = 5;
const int inAPin = 22;
const int pwmPin = 23;
const int gunMotorPin = 19;
References
Parts
35| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | 10k, 10k, R2, R3, R4 |
| 5 | Conn_01x02_Socket | Connector_Phoenix_MSTB:PhoenixContact_MSTBA_2,5_2-G-5,08_1x02_P5.08mm_Horizontal | J4, J5, J6, motor 2A, motor 10A |
| 4 | 0.1µF | Capacitor_THT:CP_Radial_Tantal_D5.0mm_P5.00mm | 0.1µF , 0.1µF , 0.1µF , 0.1µF |
| 4 | 0.1µF | Capacitor_THT:CP_Radial_Tantal_D5.0mm_P5.00mm | 0.1µF , 0.1µF , 0.1µF , 0.1µF |
| 4 | 100uF | Capacitor_THT:CP_Axial_L10.0mm_D4.5mm_P15.00mm_Horizontal | 100uF, 100uF, 100uF, 100uF |
| 2 | 10µF | Capacitor_THT:CP_Axial_L10.0mm_D4.5mm_P15.00mm_Horizontal | 100uF, 100uF |
| 2 | Battery_Cell | Connector_Phoenix_MSTB:PhoenixContact_MSTBA_2,5_2-G-5,08_1x02_P5.08mm_Horizontal | BT1, Lipo Battery |
| 2 | L298HN | Package_TO_SOT_THT:TO-220-15_P2.54x2.54mm_StaggerOdd_Lead5.84mm_TabDown | U1, U5 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | AMS1117-3.3 |
| 1 | CH340E | Package_SO:MSOP-10_3x3mm_P0.5mm | CH340E |
| 1 | Conn_01x05_Pin | Connector_Phoenix_GMSTB:PhoenixContact_GMSTBA_2,5_5-G_1x05_P7.50mm_Horizontal | CH1 |
| 1 | ESP32-PICO-D4 | Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.3x5.3mm | U3 |
| 1 | SW_Push | Button_Switch_Keyboard:SW_Cherry_MX_1.00u_PCB | SW1 |
| 1 | USB_C_Plug_USB2.0 | Connector_USB:USB_C_Plug_Molex_105444 | USB-C |
| 1 | VNH2SP30 | VNH2SP30:MULTIPOWER30 | VNH2SP30 |
Similar boards
- 4 layers38 × 215.8 mm

- 4 layers65.3 × 49.7 mm

- 4 layers20.1 × 39.6 mm

- 4 layers95.6 × 59.9 mm

Flight computer rocketry
Himanshukohale22/Flight_control_controller_V1.2
Hardware files for universal flight controller for small UAV's.
145 parts1MIT - 2 layers29.4 × 37 mm

Servo pcb
ERC-BPGC/project-vulcan
Project VULCAN is an open humanoid robotics platform focused on expressive human-robot interaction through modular mechanical, electronic, and AI-driven subsystems.
32 parts8 - 2 layers65.4 × 133.6 mm

BSidesTLV2025GloveBadge
bsidestlv/bsidestlv-2025-badge
To solve the challenge you will need to discover a series of flags, hidden inside the badge. Each one will help you unlock the next step in the challenge, to finally reveal the ultimate secret the badge holds.
35 parts13MIT - 2 layers68.6 × 53.3 mm

INK-128DA28
TheEccentricGenius/INK4u_Board
An UNO form factor board with a AVR128DA28 processor.
59 parts5CERN-OHL-W-2.0 - 2 layers56 × 78 mm

Questions
How big is the Battlebot PCB?
It measures 94 × 99.7 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Battlebot use?
35 parts, built around the ESP32-PICO-D4, CH340E, L298HN and AMS1117-3.3. 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 Battlebot KiCad files?
From the momin3121/battlebot-MNH-V01 repository on GitHub, at the commit this page was made from: the board is PCB design/battlebot.kicad_pcb and its schematic PCB design/battlebot.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Battlebot design in my own project?
Its repository states no licence, so its author keeps all rights: ask momin3121 before reusing the design.