Skip to the content
PCBKitNew board
2 layers100 × 94 mmTheBUG01, the printed circuit board in 3D

This project is a custom all-in-one PCB for a two-wheel differential drive robot, designed to be plug-and-play and easy to integrate into new robotics prototypes. The board brings together the key building blocks needed for motion control and autonomous navigation, so you can focus on software and algorithms instead of wiring and power integration.

Size
100 × 94 mm
Copper layers
2
Thickness
1.6 mm
Parts
51
Nets
53
Pads
167
Tracks, vias
215, 157
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
4 Mar 2026
Updated
19 Jun 2026

Overview

TheBUG01 is an open-source printed circuit board by Diegolox, from the Diegolox/TheBUG01 repository on GitHub. It is a 2-layer board of 100 × 94 mm with 51 parts on 53 nets, routed with 215 tracks and 157 vias.

Its parts include 11 diodes, 9 connectors, 7 resistors and 5 capacitors. It belongs with the robots and motor control boards and the ESP32 boards of this library.

README

README.md

TheBUG01 ⚡

🇬🇧 Project Description

This project is a custom all-in-one PCB for a two-wheel differential drive robot, designed to be plug-and-play and easy to integrate into new robotics prototypes. The board brings together the key building blocks needed for motion control and autonomous navigation, so you can focus on software and algorithms instead of wiring and power integration.

Vista 3D

Key Features

  • 2-wheel robot control PCB with integrated peripherals for rapid development.
  • IMU (Inertial Measurement Unit) for orientation and motion sensing.
  • 3× TOF400 laser distance sensors connected via I²C, enabling obstacle detection and basic autonomous navigation.
  • TB6612FNG dual motor driver for controlling the DC motors efficiently (PWM + direction control).
  • Motor protection circuitry to handle cases where motors behave like generators (back-EMF / regenerative effects), improving robustness and protecting the power stage.
  • Push buttons with RC filtering and external pull-up, providing stable, noise-resistant digital inputs.
  • Test LEDs for quick debugging and status indication during bring-up.
  • Integrated DC-DC converter to step down from the battery voltage to the robot’s required internal rail(s), simplifying power distribution and improving overall reliability.

PCB Layout

PCB Layout

Schematic

Esquemático

Goal

The goal of this PCB is to provide a compact robotics platform with everything integrated: power regulation, sensing, motor driving, and basic user I/O. With this hardware, you can quickly implement and iterate on:

  • Wheel speed and position control loops
  • Differential drive kinematics
  • Sensor-based navigation using the TOF lasers
  • Autonomous behaviors (obstacle avoidance, wall following, basic SLAM-ready sensing layout)

🇪🇸 Descripción del proyecto

Este proyecto es una PCB todo-en-uno para un robot diferencial de dos ruedas, pensada para ser plug-and-play y facilitar el desarrollo rápido de prototipos. La placa integra los bloques principales necesarios para control de movimiento y navegación autónoma, evitando cableado extra y problemas de integración de potencia.

Características principales

  • PCB de control para robot de 2 ruedas con periféricos integrados para desarrollo rápido.
  • IMU (Unidad de Medición Inercial) para estimar orientación y movimiento.
  • 3× sensores láser de distancia TOF400 por I²C, para detección de obstáculos y navegación básica.
  • Driver dual TB6612FNG para el control eficiente de motores DC (PWM + dirección).
  • Circuitería de protección para motores cuando actúan como generadores (back-EMF / regeneración), aumentando la robustez y protegiendo la etapa de potencia.
  • Pulsadores con filtro RC y pull-up externa, para entradas digitales estables y resistentes al ruido.
  • LEDs de testeo para depuración rápida y verificación del estado durante el bring-up.
  • Convertidor DC-DC integrado para bajar la tensión de baterías a las líneas internas del robot, simplificando la distribución de potencia.

Objetivo

El objetivo es ofrecer una plataforma compacta con todo integrado: regulación de potencia, sensórica, driver de motores y E/S básica. Con este hardware se pueden implementar de forma rápida:

  • Control de velocidad/posición de ruedas
  • Cinemática diferencial
  • Navegación basada en sensores TOF
  • Comportamientos autónomos (evitación de obstáculos, seguimiento de pared, base para SLAM)

  • Status: In development
  • In collaboration with Carlos Rios Ferrer

Parts

51
QtyValueFootprintReferences
8M7Diode_SMD:D_SMA_HandsolderingD4, D5, D6, D7, D8, D9, D10, D11
7TEST_GNDTestPoint:TestPoint_Keystone_5005-5009_CompactGND, GND, GND, GND, PUL_2, SCL, SDA
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
21kohm, 0.1WResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R7
21uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C4
2330ohm, 0.75WResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R4
2Conn_01x02Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ8, J10
2MOTOR 2Connector_JST:JST_XH_B6B-XH-A_1x06_P2.50mm_VerticalM1, M2
1100nF, 10VCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC5
110k, 0.1WResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR3
110k, 0.25WResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR5
12k2ohm, 0.1WResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6
1470uF, 10VCapacitor_SMD:CP_Elec_6.3x7.7C1
1470uF, 25VCapacitor_SMD:CP_Elec_10x10.5C2
1AMARILLOLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD2
1AZULLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD1
1BuzzerTOOLS_DIEGO:BUZZERBZ1
1DRIVER MOTORESTOOLS_DIEGO:TB6612FNGJ3
1ENTRADA ALIMTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ2
1ESP32ESP32_TOOLS_DIEGO:ESP32_WROOM32_SHIELD_V01UC1
1IMU BNO055TOOLS_DIEGO:BNO055J4
1LOGOLOGO_DL:LOGO_IEEE_SB_UZ_PCB_6mmG***
1LOGOLOGO_DL:LOGO_DL_6mm.prettyG***
1LÁSER TOF 1Connector_JST:JST_XH_B6B-XH-A_1x06_P2.50mm_VerticalJ5
1LÁSER TOF 2Connector_JST:JST_XH_B6B-XH-A_1x06_P2.50mm_VerticalJ6
1LÁSER TOF 3Connector_JST:JST_XH_B6B-XH-A_1x06_P2.50mm_VerticalJ7
1MP1584EN 5VTOOLS_DIEGO:MP1584J1
1ROJOLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD3
1TEST_3V3TestPoint:TestPoint_Keystone_5005-5009_Compact3V3
1TEST_5VTestPoint:TestPoint_Keystone_5005-5009_Compact5V

Questions

How big is the TheBUG01 PCB?

It measures 100 × 94 mm and has 2 copper layers, 1.6 mm thick.

What parts does the TheBUG01 use?

51 parts. 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 TheBUG01 KiCad files?

From the Diegolox/TheBUG01 repository on GitHub, at the commit this page was made from: the board is TheBUG01_PCB/TheBUG01.kicad_pcb and its schematic TheBUG01_PCB/TheBUG01.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the TheBUG01 design in my own project?

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

Similar boards

  • 2 layers216.9 × 86.8 mmSweepv2, the printed circuit board in 3D

    Sweepv2

    davidphilipbarr/Sweep

    Sweep - a small promicro based keyboard inspired by the Ferris.

    51 parts2.1k
  • 2 layers49.4 × 94.2 mmPin board 1, the printed circuit board in 3D

    Pin board 1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    51 parts1.2k
  • 2 layers72 × 42 mmNRF24 jammer, the printed circuit board in 3D

    NRF24 jammer

    W0rthlessS0ul/nRF24_jammer

    The nRF24 jammer is a powerful tool that requires an ESP32 and configurable numbers of NRF24 modules to assemble.

    51 parts1kMIT
  • 2 layers170 × 162 mmSnowflake, the printed circuit board in 3D

    Snowflake

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    51 parts915
  • 2 layers33 × 50 mmESP32-bat monitor latch, the printed circuit board in 3D

    ESP32-bat monitor latch

    pcbreflux/espressif

    all espressif stuff will committed here

    51 parts608GPL-3.0
  • 2 layersTUSS4470 shield, the printed circuit board in 3D

    TUSS4470 shield

    Neumi/open_echo

    Open Source echo sounder / depth sounder / SONAR for bathymetry and research. Arduino based and compatible.

    51 parts530
  • 2 layers45.7 × 123.5 mmMASTER ARM PANEL, the printed circuit board in 3D

    MASTER ARM PANEL

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    51 parts431
  • 2 layers50.8 × 69.2 mmUikit, the printed circuit board in 3D

    Uikit

    vsfteam/vsf

    Versaloon Software Framework -- a tiny preemptive-capable event-driven incremental software framework for embedded systems

    51 parts341Apache-2.0