Skip to the content
2 layers55.2 × 43.8 mmEncabulator, the printed circuit board in 3D

A complete PCB design exercise demonstrating schematic capture, component selection, and board layout using KiCAD. This project implements a simple LED blinker with user-controllable blink rate.

Size
55.2 × 43.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
12
Pads
43
Tracks, vias
67, 2
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
13 May 2026
Updated
13 May 2026

Overview

Encabulator is an open-source printed circuit board by imad-drs, from the imad-drs/mini_encabulator_PCB repository on GitHub. It is a 2-layer board of 55.2 × 43.8 mm with 17 parts on 12 nets, routed with 67 tracks and 2 vias.

It is built around the ATTINY85-20SU, LM1117MP-5.0 and MBR0520. Its parts include 4 connectors, 3 resistors, 2 capacitors, 2 ICs and 1 diode. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

Mini Encabulator - PCB Design Project

A complete PCB design exercise demonstrating schematic capture, component selection, and board layout using KiCAD. This project implements a simple LED blinker with user-controllable blink rate.

PCB Layout Final PCB layout with component placement and routing

📋 Project Overview

The Mini Encabulator is a microcontroller-based device that:

  • Blinks an LED when a button is pressed
  • Controls blink rate via potentiometer position
  • Demonstrates complete PCB design workflow from schematic to manufacturing files

This project was designed as a learning exercise for PCB design fundamentals, including proper power delivery, signal conditioning, and mechanical integration with an enclosure.

🎯 Features

  • Microcontroller-based control using ATTiny85
  • Hardware debouncing for reliable button input
  • Analog input from potentiometer for variable timing
  • Regulated 5V power supply from 7-12V input
  • In-circuit programming via ISP header
  • Enclosure-ready design with precise mounting holes
  • Two-layer PCB with ground planes for noise immunity

🔧 Hardware Components

Main Components

ComponentPart NumberPackagePurposeQuantity
MicrocontrollerATTiny85-20SSOIC-8Main processor1
Voltage RegulatorLM1117MP-5.0SOT-2235V power supply1
Protection DiodeMBR0520SOD-123Reverse current protection1

Passive Components

ComponentValuePackagePurposeQuantity
Resistor10kΩ0805RESET pull-up1
Resistor10kΩ0805Button debounce1
Resistor1kΩ0805LED current limit1
Capacitor1µF0805Power decoupling1
Capacitor1µF0805Button debounce1

Connectors

ConnectorTypePitchPurposeQuantity
Power InputMolex KK-254 2-pin2.54mmExternal power1
ButtonMolex KK-254 2-pin2.54mmUser input1
LEDMolex KK-254 2-pin2.54mmIndicator output1
PotentiometerMolex KK-254 3-pin2.54mmAnalog input1
ISP HeaderIDC 2x32.54mmProgramming interface1

Mechanical

  • Mounting Holes: 4× M3 (3.2mm diameter)
  • Potential Compatible Enclosure: Polycase SN25 or similar

📐 Technical Specifications

Electrical Characteristics

  • Input Voltage: 7-12V DC
  • Regulated Output: 5V @ 800mA max (LM1117)
  • Microcontroller: 20MHz max, 8KB Flash, 512B SRAM
  • Power Consumption: ~50mA typical
  • LED Current: 4mA @ 5V with 1kΩ resistor

Design Rules

  • Minimum Trace Width: 10 mil (0.254mm)
  • Power Trace Width: 20 mil (0.508mm)
  • Minimum Clearance: 10 mil (0.254mm)
  • Via Size: 31.5 mil pad / 15.7 mil drill
  • Mounting Hole Spacing: 1.575" × 1.260" (exact)

🔌 Pinout & Connections

ATTiny85 Pin Assignment

PinFunctionConnected To
1 (PB5)RESETPull-up resistor, ISP header
2 (PB3)PotentiometerJ5 (POT wiper)
3 (PB4)Button InputJ3 (BUTTON) through RC filter
4 (GND)GroundGround plane
5 (PB0)MOSI/LEDR4 → J4 (LED)
6 (PB1)MISOISP header
7 (PB2)SCKISP header
8 (VCC)Power+5V rail, C1 decoupling

External Connections

J1 (Button): Momentary Switch

  • Pin 1: Ground
  • Pin 2: Switch terminal

J3 (Vin): Power Input

  • Pin 1: Ground
  • Pin 2: +7-12V DC

J4 (LED): Indicator LED

  • Pin 1: Anode (+)
  • Pin 2: Cathode (-)

J5 (Pot): Potentiometer (10kΩ recommended)

  • Pin 1: +5V
  • Pin 2: Wiper (ADC input)
  • Pin 3: Ground

🛠️ Design Methodology

Power Distribution

  1. Input Protection: Reverse polarity protection via Schottky diode
  2. Regulation: LM1117 drops 7-12V input to stable 5V
  3. Decoupling: 1µF capacitor near microcontroller VCC pin
  4. Ground Plane: Solid copper pour on both layers for low impedance return path

Signal Conditioning

  1. Button Debouncing: Hardware RC filter (τ = 10ms) eliminates mechanical bounce
  2. RESET Pull-up: 10kΩ resistor prevents accidental resets from floating pin
  3. LED Current Limiting: 1kΩ resistor limits current to safe 4mA

Layout Strategy

  1. Component Grouping: Functional blocks grouped as in schematic
  2. Trace Routing:
    • Power traces: 20 mil width
    • Signal traces: 10 mil width
  3. Via Placement: Ground stitching vias connect top/bottom planes
  4. Clearances: 10 mil minimum trace-to-trace spacing

🤝 Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

Areas for Improvement

  • Add firmware source code
  • Create 3D render of assembled board
  • Design custom enclosure (OpenSCAD/FreeCAD)
  • Add test points for debugging
  • Implement sleep mode for power saving
  • Create assembly video tutorial

🙏 Acknowledgments

  • KiCAD - Open-source EDA tool
  • ZJUI ECE 445 / ME 470 - Course structure inspiration
  • Atmel/Microchip - ATTiny85 datasheet and resources

📧 Contact

Drias Imad Eddine - drias.imad2006@gmail.com


⭐ If you found this project helpful, please consider giving it a star!

Parts

17
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
210kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R2
21uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2
11kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3
1ATtiny85-20SPackage_SO:SOIC-8_5.3x5.3mm_P1.27mmU2
1AVR-ISP-6Connector_IDC:IDC-Header_2x03_P2.54mm_VerticalISP
1BUTTONConnector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_VerticalJ1
1LEDConnector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_VerticalJ4
1LM1117MP-5.0Package_TO_SOT_SMD:SOT-223U1
1MBR0520Diode_SMD:D_SOD-123D1
1POTConnector_Molex:Molex_KK-254_AE-6410-03A_1x03_P2.54mm_VerticalJ5
1VinConnector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_VerticalJ3

Similar boards

  • 2 layers52.1 × 47.6 mm[netid] miniencabulator, the printed circuit board in 3D

    [netid] miniencabulator

    anandpraj/Mini-Encabulator-PCB-Design

    This simple device only does two things: ● Blinks an LED when the user holds down a button. ● Sets blink rate proportional to potentiometer position.

    17 parts
  • 2 layers42.5 × 30.5 mmDLC, the printed circuit board in 3D

    DLC

    gokul-rm/PCB

    For any questions or collaborations, contact me at [gokul567gd@gmail.com].

    13 parts
  • 4 layers126.6 × 37.7 mmGruzik2.0, the printed circuit board in 3D

    Gruzik2.0

    NYDEREK/LineFollower_GRUZIK2.0-light

    GRUZIK2.0 is simple light construction made for "line follower light" competition

    50 parts101MIT
  • 2 layers20 × 107 mmRawWavesV2, the printed circuit board in 3D

    RawWavesV2

    SherpaModular/RawWaves

    Raw Waves is a eurorack synthesizer module that plays RAW or WAV sample files from a micro SDcard. It is a derivate work of "Radio Music" from Tom Whitwell. Raw Waves is released under a CC-by-SA 3.0 license.

    55 parts26
  • 2 layers44.4 × 29.3 mmElectronicTriggerUnit, the printed circuit board in 3D

    ElectronicTriggerUnit

    aNThiCu/AirsoftETU

    The code for a airsoft MOSFET board that includes the trigger , active break mode and semi-auto,full-auto detection.

    36 parts8GPL-3.0
  • 2 layers45 × 72 mmRelay, the printed circuit board in 3D

    Relay

    adarwoo/modbus_relay

    A modbus RTU relay board with 3 relays for the CNC. This uses the ASX framework

    43 parts1
  • 4 layers75.5 × 62 mmBspd, the printed circuit board in 3D

    Bspd

    chithigun23/ANUFS-BSPD-2026

    ANUFS's BSPD for 2026 Formula SAE ICE Car. The goal of this project is to be AEC-Q100/Q101/Q200 compliant.

    120 parts1

Questions

How big is the Encabulator PCB?

It measures 55.2 × 43.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Encabulator use?

17 parts, built around the ATTINY85-20SU, LM1117MP-5.0 and MBR0520. 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 Encabulator KiCad files?

From the imad-drs/mini_encabulator_PCB repository on GitHub, at the commit this page was made from: the board is Encabulator.kicad_pcb and its schematic Encabulator.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Encabulator design in my own project?

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