Skip to the content
PCBKitNew board
2 layers167.1 × 181.2 mmTeam electrabuzz, the printed circuit board in 3D

Submission for Unplugged round 2 by Team Electabuzz

Size
167.1 × 181.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
66
Pads
149
Tracks, vias
157, 12
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
11 Apr 2026
Updated
15 Aug 2026

Overview

Team electrabuzz is an open-source printed circuit board by MayankBagad, from the MayankBagad/Electabuzz_Unplugged repository on GitHub. It is a 2-layer board of 167.1 × 181.2 mm with 11 parts on 66 nets, routed with 157 tracks and 12 vias.

It is built around the ESP32-CAM, LM2596S-5.0 and TSSP58038, with the TP4056 among its other parts. It belongs with the ESP32 and RISC-V boards of this library.

Main components

4

README

README.md

🚗 Electabuzz: Line Follower Robot Hardware Platform

A custom hardware design, PCB layout, sensor interface, and power system package for a line-following mobile robot platform.

Developed by Team Electrabuzz for UNPLUGGED — A 24-Hour Hardware Hackathon organized by DJSCE × IETE-ISF × DJS MicroMinds VLSI Club.

KiCad Version Simulation MCU


📸 Project Overview

3D PCB Render


⚡ Key Engineering Deliverables

  • Custom Form-Factor PCB: 2-layer FR4 PCB designed in KiCad 9.0 to fit mechanical chassis boundaries, with separate ground returns for logic and motor circuits.
  • Integrated Sensor & Actuator Interface: Onboard routing for an ESP32 microcontroller, 5-channel IR tracking array, TB6612FNG dual DC motor driver, 0.96" I²C OLED display, NEO-6M GPS, and ESP32-CAM module.
  • Dual-Domain Power Architecture: Solar-assisted Li-ion battery charging (TP4056 + 2× 18650 cells) with LM2596 buck regulation for 5V/3.3V logic, alongside an isolated 12V motor supply rail.
  • Wide-Range Isolated Power Front-End (Simulation): LTSpice SPICE simulation of a $\pm 12\text{V}$ to $\pm 50\text{V}$ DC polarity-independent isolated flyback converter with logic-level polarity telemetry.
  • Design Verification: Checked with KiCad Electrical Rules Check (ERC) and Design Rules Check (DRC).

🎯 Problem & Engineering Approach

The Problem

Line-follower robots require clean sensor signal routing, reliable motor current delivery, and stable logic power. Connecting high-draw DC motors directly to the same unregulated battery rail as the microcontroller often causes voltage dips, electrical noise, and unwanted MCU resets.

The Engineering Solution

Electabuzz addresses these requirements at the board level:

  1. Isolated Power Rails: Logic circuitry (ESP32, sensors, OLED) is powered via an LM2596 buck regulator from 18650 Li-ion cells, while motors are driven through a dedicated 12V rail on the TB6612FNG driver.
  2. Consolidated Board Layout: Integrates power management, compute, telemetry, and motor switching onto a single PCB shaped to match chassis mounting holes.
  3. Transient-Tolerant Power Simulation: A supplementary flyback converter stage was modeled to evaluate polarity-independent operation and surge clamping under wide DC input ranges.

🏗 System Architecture

text
                              ┌───────────────────┐
                              │  6V Solar Panel   │
                              └─────────┬─────────┘
                                        │ (1N5819 Schottky Diode)
                                        ▼
 ┌──────────────────────┐     ┌───────────────────┐
 │ 2× 18650 Li-ion      │◄───►│  TP4056 Charger   │
 │ Battery (Parallel)   │     │ (Protection IC)   │
 └──────────────────────┘     └─────────┬─────────┘
                                        │ ~3.7V - 4.2V VBAT
                                        ▼
                              ┌───────────────────┐
                              │ LM2596 Buck Conv. │──► 5.0V Logic Rail (ESP32 VIN, CAM 5V)
                              └─────────┬─────────┘
                                        │
           ┌────────────────────────────┴────────────────────────────┐
           │                                                         │
           ▼                                                         ▼
 ┌───────────────────┐                                     ┌───────────────────┐
 │ ESP32-DEVKIT-V1   │◄────────────── UART0 ──────────────►│ ESP32-CAM (OV2640)│
 │ (Main Controller) │                                     └───────────────────┘
 └───┬───┬───┬───┬───┘
     │   │   │   │
     │   │   │   └─────────── I²C (GPIO 21/22) ───────────► 0.96" SSD1306 OLED (0x3C)

🔌 Hardware Interfaces & Pin Mapping

ESP32 PinConnected DevicePin / FunctionSignal TypeDescription
GPIO 25TB6612FNGAIN1Digital OutMotor A Direction 1
GPIO 26TB6612FNGAIN2Digital OutMotor A Direction 2
GPIO 27TB6612FNGPWMAPWM OutMotor A Speed Control
GPIO 14TB6612FNGBIN1Digital OutMotor B Direction 1
GPIO 12TB6612FNGBIN2Digital OutMotor B Direction 2
GPIO 13TB6612FNGPWMBPWM OutMotor B Speed Control
GPIO 32TB6612FNGSTBYDigital OutDriver Enable / Standby ($10\text{ k}\Omega$ pull-up)
GPIO 21SSD1306 OLEDSDAI²C DataDisplay I²C Data line ($4.7\text{ k}\Omega$ pull-up)
GPIO 22SSD1306 OLEDSCLI²C ClockDisplay I²C Clock line ($4.7\text{ k}\Omega$ pull-up)
GPIO 16NEO-6M GPSTXUART RX2Serial GPS telemetry input
GPIO 17NEO-6M GPSRXUART TX2Serial configuration output
GPIO 34IR Sensor 1OUTDigital InLeftmost line sensor
GPIO 35IR Sensor 2OUTDigital InMid-left line sensor
GPIO 36IR Sensor 3OUTDigital InCenter line sensor
GPIO 39IR Sensor 4OUTDigital InMid-right line sensor
GPIO 33IR Sensor 5OUTDigital InRightmost line sensor
GPIO 1ESP32-CAMU0RXDUART TX0Inter-module serial link
GPIO 3ESP32-CAMU0TXDUART RX0Inter-module serial link

📖 Full Details: For bus specifications and pinout notes, see Architecture Documentation.


🖥 PCB Design & Power Architecture

Schematic CaptureCopper Layer Routing (Top & Bottom)
Schematic OverviewFront & Back Copper

Power System Overview

  • Logic Domain (5V / 3.3V): Two 18650 Li-ion cells in parallel (~3.7V nominal) charged via a TP4056 module (with auxiliary 6V solar charging), regulated to 5.0V through an LM2596 buck converter for the ESP32 and ESP32-CAM.
  • Motor Domain (12V): An external 12V power source powers the TB6612FNG VM pin, keeping motor noise and current surges off the microcontroller supply rail.

📖 Full Details: For layer stackups, see PCB Design. For power tree analysis, see Power System Documentation.


🔬 LTSpice Simulation (Bonus Challenge)

As part of the hackathon's "Brownie Points" challenge, a polarity-independent isolated flyback power supply was designed and simulated in LTSpice.

LTSpice Simulation Waveform

[!NOTE] Source Disclosure: The original hackathon repository included the simulation output waveform and schematic notes as an image (ltspice-flyback-output.jpeg). The standalone SPICE netlist files (polarity_protection_flyback.cir and polarity_protection_flyback.net) were reconstructed from the complete netlist text preserved in that original simulation output, allowing the circuit to be opened and executed in standard SPICE simulators.

Circuit Features

  • Wide Input Range ($\pm 12\text{V}$ to $\pm 50\text{V}$): Full-bridge Schottky rectifier guarantees positive internal voltage regardless of wire orientation.
  • Galvanic Isolation: $100\text{kHz}$ flyback transformer ($1:1.2$ turns ratio) provides electrical isolation between primary input and output.
  • Regulated $+12.0\text{V}$ Output: $12.7\text{V}$ Zener reference and NPN emitter follower deliver a regulated $12\text{V}$ output rail.
  • Polarity Telemetry: Hardware comparator outputs a $0\text{V}$ (Normal) or $5\text{V}$ (Reversed) logic signal to indicate input polarity.

📖 Full Details: For stage-by-stage equations and netlists, see Simulation Documentation.


📁 Repository Structure

text
Electabuzz_Unplugged/
├── .gitignore                              # KiCad, LTSpice, CAD, and OS ignore rules
├── README.md                               # Project showcase and overview
│
├── docs/                                  # Technical documentation
│   ├── architecture.md                    # System block diagrams & pin assignments
│   ├── hardware.md                        # Component specifications & mounting
│   ├── pcb-design.md                      # KiCad layout, stackup & ERC/DRC details
│   ├── power-system.md                    # Power tree & domain separation analysis
│   ├── simulation.md                      # Simulation challenge summary
│   ├── bom/                               # Manufacturing Bill of Materials
│   │   ├── README.md                      # Verified component list
│   │   ├── Bill_of_Materials.docx         # Original DOCX BOM
│   │   └── BOM.pdf                        # Original PDF BOM
│   └── assets/images/                     # Design screenshots and renders
│
├── hardware/
│   ├── pcb/                               # KiCad 9.0 PCB project files
│   │   ├── team_electrabuzz.kicad_pro     # Project master file
│   │   ├── team_electrabuzz.kicad_sch     # System schematic
│   │   └── team_electrabuzz.kicad_pcb     # PCB layout
│   └── cad/models/                        # 3D mechanical STEP models
│       ├── BK-18650-PC2--3DModel-STEP-269445.STEP
│       ├── DM-OLED096-636--3DModel-STEP-56544.STEP

🔍 Project Scope & Future Roadmap

Included in this Repository

  • Complete KiCad 9.0 schematic, PCB layout, and design rule check reports.
  • 3D STEP mechanical models for key onboard components.
  • Manufacturing Bill of Materials (BOM) in Markdown, PDF, and DOCX formats.
  • Reconstructed SPICE simulation netlists and theoretical documentation for the isolated power front-end.

Future Implementation Scope (Firmware & Software)

  • Microcontroller firmware for sensor reading and motor PWM generation.
  • Closed-loop line tracking algorithms (e.g., PID steering control).
  • Display driver routines for real-time status output on the OLED.
  • ESP32-CAM firmware integration for visual data capture.

🚀 Quickstart

Opening the PCB in KiCad

  1. Install KiCad 9.0 or higher.
  2. Clone this repository:
    bash
    git clone https://github.com/MayankBagad/Electabuzz_Unplugged.git
  3. Open hardware/pcb/team_electrabuzz.kicad_pro in KiCad.

Running the SPICE Simulation

  1. Install LTSpice or Ngspice.
  2. Open simulation/polarity_protection_flyback.cir.
  3. Run transient analysis (.tran 0 20m 0 1u uic).

👥 Team & Acknowledgments

  • Team Electrabuzz — Hardware & PCB Design, Power Architecture
  • Event: UNPLUGGED — 24-Hour Hardware Hackathon
  • Organizers: DJSCE × IETE-ISF × DJS MicroMinds VLSI Club

📄 License Notice

[!NOTE] An open-source license has not yet been selected for this repository. Recommended options:

Parts

11
QtyValueFootprintReferences
2BK-18650-PC2BK-18650-PC2:BAT_BK-18650-PC2BT1, BT2
2TSSP58038OptoDevice:Vishay_MINICAST-3PinU3, U9
1DM-OLED096-636DM-OLED096-636:MODULE_DM-OLED096-636U4
1ESP32-CAMDisplay:OLED-128O064DU2
1ESP32-DEVKIT-V1ESP32-DEVKIT-V1:MODULE_ESP32_DEVKIT_V1U8
1LM2596LM2596:TO263-5U5
1NEO-6M-GPSNEO-6M-GPS:XCVR_NEO-6M-GPSU6
1TB6612FNGPackage_SO:SSOP-24_5.3x8.2mm_P0.65mmU1
1TP4056TP4056 symbol and footprint:SOP127P600X175-9NU7

Questions

How big is the Team electrabuzz PCB?

It measures 167.1 × 181.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Team electrabuzz use?

11 parts, built around the ESP32-CAM, LM2596S-5.0, TSSP58038 and TP4056. 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 Team electrabuzz KiCad files?

From the MayankBagad/Electabuzz_Unplugged repository on GitHub, at the commit this page was made from: the board is hardware/pcb/team_electrabuzz.kicad_pcb and its schematic hardware/pcb/team_electrabuzz.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Team electrabuzz design in my own project?

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

Similar boards

  • 2 layers146.2 × 99 mmFPVRover, the printed circuit board in 3D

    FPVRover

    Circuit-Digest/ESP32-Cam-Surveillance-Car

    Watch full video on ESP32 surveillance car

    35 parts15
  • 2 layers100 × 100 mmPlaca Final, the printed circuit board in 3D

    Placa Final

    alejandromz/AudioPlayer-ESP32

    Proyecto Sistemas Embebidos 2022-1

    36 parts1MIT
  • 2 layersSistemasolar, the printed circuit board in 3D

    Sistemasolar

    heyboiiiii/AgroNeckPower

    Power System for the "AgroNeck" device.

    28 parts1
  • 2 layers85.4 × 56.5 mmHardware 2, the printed circuit board in 3D

    Hardware 2

    lev-dec/mode_bike

    Design of a bike PCB

    77 parts
  • 2 layers140 × 105 mmFt150ts C, the printed circuit board in 3D

    Ft150ts C

    z-XOF-z/FT150TS

    Tablero digital + launcher para Android que funciona solo con el teléfono del manubrio y está listo para una tarjeta ESP32 en la moto.

    68 parts
  • 2 layers11 × 22.1 mmIr smart led controller, the printed circuit board in 3D

    Ir smart led controller

    dotcypress/ir-smart-led-controller

    IR Remote Controller for WS2812(or analog) LED Strip

    7 parts10Apache-2.0
  • 2 layers57.7 × 50 mmKiCAD Board, the printed circuit board in 3D

    KiCAD Board

    XasWorks/dragon-home

    A rework of our old SmartHome project, this time done cleanly and neatly~

    47 parts8GPL-3.0