Skip to the content
PCBKitNew board
2 layers100 × 32 mmRuler, the printed circuit board in 3D

A KiCad PCB ruler that doubles as a desk reference for SMD footprints, drill sizes, and trace widths—and includes a small ATtiny85 circuit to light five LEDs. Designed by Philip McGaw.

Size
100 × 32 mm
Copper layers
2
Thickness
1.6 mm
Parts
70
Nets
97
Pads
164
Tracks, vias
100, 4
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
28 May 2026
Updated
9 Aug 2026

Overview

Ruler is an open-source printed circuit board by PhilipMcGaw, from the PhilipMcGaw/Ruler repository on GitHub. It is a 2-layer board of 100 × 32 mm with 70 parts on 97 nets, routed with 100 tracks and 4 vias.

It is built around the ATTINY85V-10SU. Its parts include 45 resistors, 5 diodes, 1 capacitor, 1 IC and 1 connector. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

Ruler

A KiCad PCB ruler that doubles as a desk reference for SMD footprints, drill sizes, and trace widths—and includes a small ATtiny85 circuit to light five LEDs. Designed by Philip McGaw.

The board is roughly 100 mm long and combines measurement scales with populated example parts you can touch, compare, and (optionally) program.

Features

Measurement & reference

  • Metric and imperial ruler scales (including 1/8″ and 1/10″ subdivisions)
  • Degree / protractor scale for rough angle checks
  • Drill hole reference sizes
  • Trace width and font size guides (mm and mil)
  • SMD resistor footprints from 0201 through 2512, with separate hand-solder and machine-solder pad variants
  • SMD LED examples (0201, 0402, 0603, 0805, 1206)
  • Test points labelled for common pad/hole diameters (1.0–2.5 mm)

Electronics

ItemDetails
MCUATtiny85V-10SU (SOIJ-8)
LEDsFive, one per common SMD size (red 1206, green 0402, yellow 0603, orange 0805, blue 0201)
PowerCR2032 coin cell (Keystone 3002 holder)
Programming2×3 pin header (J1, labelled ICP6) for in-circuit programming

The populated LEDs are driven by the ATtiny85. Firmware is not included in this repository—you will need to write and flash your own sketch (e.g. with Arduino IDE + ATTinyCore or avrdude via the ISP header).

Note: This ruler is intended as a reference and teaching aid, not a calibrated measuring instrument.

Repository layout

text
KiCAD/
├── ruler.kicad_pro      # KiCad project
├── ruler.kicad_sch      # Schematic
├── ruler.kicad_pcb      # Board layout
├── Common/              # Project symbols, footprints, design blocks
│   ├── Symbols.kicad_sym
│   ├── Footprints/      # Custom footprints (SquashedFly — https://squashedfly.eu/)
│   └── Design Blocks/
├── Libraries/           # Additional third-party symbol/footprint libraries
├── sym-lib-table
├── fp-lib-table
└── design-block-lib-table

Gerber output is configured to write to KiCAD/Gerber/ when you plot from Pcbnew.

Requirements

  • KiCad 9 or 10 (project files were last saved with KiCad 10)
  • PCBRulers footprint library — the board uses footprints such as PCBRulers:Metric_Ruler_96mm, PCBRulers:Inch_Ruler_3.5in_10, PCBRulers:Drills, and PCBRulers:Degree_Scale. Install the PCBruler library (or equivalent) and add it to your KiCad footprint library path if footprints appear missing.
  • Standard KiCad libraries for passives, connectors, batteries, and the ATtiny symbol (project rescue lib ruler-rescue is embedded in the schematic)

Opening the project

  1. Clone this repository.
  2. Open KiCAD/ruler.kicad_pro in KiCad.
  3. If prompted about missing libraries, confirm that Common/ paths resolve (they use ${KIPRJMOD}) and that PCBRulers is installed globally or added to fp-lib-table.

Project-local tables already point at bundled assets:

  • Symbols: Common/Symbols.kicad_sym, Partsbox HTTP lib
  • Footprints: Common/Footprints/

Building the board

  1. Run Design Rules Check (DRC) in Pcbnew and resolve any issues for your fab’s capabilities.
  2. Generate manufacturing files: File → Plot (Gerbers) and File → Fabrication Outputs → Drill Files.
  3. Order from your preferred PCB fab. For best readability of the silkscreen scales and contact details, ENIG finish and a dark soldermask are commonly used on similar rulers.

Populate the optional electronics if you want the LED demo to work; the ruler scales and footprint references are useful even unpopulated.

Programming the ATtiny85

  1. Connect an ISP programmer to J1 (6-pin, 2.54 mm pitch, 2×3).
  2. Power the board from the CR2032 cell or according to your programmer’s requirements.
  3. Flash firmware with your toolchain of choice.

Pin mapping and LED connections are defined in ruler.kicad_sch / ruler.kicad_pcb.

Credits

  • Design: Philip McGaw — philipmcgaw.com · GitHub
  • SquashedFly — title block worksheet (KiCAD/Common/Squashed Fly.kicad_wks) and optional PCB logo footprints (SquashedFlySilk, SquashedFlyCopper, etc.) in KiCAD/Common/Footprints/
  • Ruler scale footprints from the PCBRulers / PCBruler ecosystem

License

Hardware design files in this repository are licensed under the CERN Open Hardware Licence v2 — Strongly Reciprocal (CERN-OHL-S-2.0), an open source hardware license recommended by the Open Source Hardware Association (OSHWA).

You may use, study, modify, and redistribute the schematic and PCB layout under those terms. Derivative designs must be released under the same license. If you share the design or boards built from it, include a copy of the license.

Parts

70
QtyValueFootprintReferences
80201Resistor_SMD:R_0201_0603MetricR1, R7, R13, R21, R22, R25, R30, R35
60402Resistor_SMD:R_0402_1005MetricR2, R8, R14, R18, R23, R24
40603Resistor_SMD:R_0603_1608MetricR3, R9, R15, R19
40603HSResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR26, R31, R36, R39
40805Resistor_SMD:R_0805_2012MetricR4, R10, R16, R20
40805HSResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR27, R32, R37, R40
31206Resistor_SMD:R_1206_3216MetricR5, R11, R17
31206HSResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR28, R33, R38
22512Resistor_SMD:R_2512_6332MetricR6, R12
22512HSResistor_SMD:R_2512_6332Metric_Pad1.40x3.35mm_HandSolderR29, R34
10.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC1
10201TestPoint:TestPoint_Pad_D1.0mmTP9
10201 BlueLED_SMD:LED_0201_0603MetricD5
10402TestPoint:TestPoint_Pad_D1.0mmTP8
10402 GreenLED_SMD:LED_0402_1005MetricD4
10603TestPoint:TestPoint_Pad_D1.0mmTP7
10603 YellowLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD3
10805TestPoint:TestPoint_Pad_D1.0mmTP6
10805 OrangeLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD2
11206TestPoint:TestPoint_Pad_D1.0mmTP5
11206 RedLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD1
1330Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR41
1330Resistor_SMD:R_0201_0603MetricR45
1330Resistor_SMD:R_0402_1005MetricR44
1330Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR42
1330Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR43
13V CellBattery:BatteryHolder_Keystone_3002_1x2032BT1
1ATtiny85V-10SUPackage_SO:SOIJ-8_5.3x5.3mm_P1.27mmU1
1ICP6Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ1
1⌀1.0TestPoint:TestPoint_Pad_D1.0mmTP1
1⌀1.5TestPoint:TestPoint_Pad_D1.5mmTP2
1⌀2.0TestPoint:TestPoint_Pad_D2.0mmTP3
1⌀2.5TestPoint:TestPoint_Pad_D2.5mmTP4

The 63 most common of 70 parts.

Questions

How big is the Ruler PCB?

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

What parts does the Ruler use?

70 parts, built around the ATTINY85V-10SU. 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 Ruler KiCad files?

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

Can I use the Ruler design in my own project?

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

Similar boards

  • 2 layers15.3 × 19.3 mmKicad hx711 tyny85, the printed circuit board in 3D

    Kicad hx711 tyny85

    IvDm/Z-probe-on-smd-resistors-2512

    Auto bed level strain gage for 3D printer using resistors 2512 instead of strain gauges.

    18 parts150GPL-3.0
  • 4 layers110.7 × 69.8 mmSgb mbc5 1-4, the printed circuit board in 3D

    Sgb mbc5 1-4

    MouseBiteLabs/Super-Game-Boy-Plus

    A replacement circuit board for improving the Super Game Boy, or for creating a standalone Game Boy game for the SNES.

    95 parts41CC-BY-SA-4.0
  • 2 layers12.2 × 40.4 mmBadUSB, the printed circuit board in 3D

    BadUSB

    joelsernamoreno/Attiny85-Standalone

    PCB designs based on the Attiny85 microcontroller for standalone development.

    7 parts21CC-BY-4.0
  • 2 layers34 × 12.2 mmSpherometer display, the printed circuit board in 3D

    Spherometer display

    hzeller/digi-spherometer

    A digital spherometer, reading data from digital dial indicator and converting it to radius, displaying on OLED display.

    14 parts14GPL-3.0
  • 2 layers72.7 × 114 mmWs 3.0, the printed circuit board in 3D

    Ws 3.0

    boanjo/myhome

    A collection of mysensors nodes, gateways and HW from my home

    57 parts4
  • 2 layers54 × 29 mmSonos magic hub, the printed circuit board in 3D

    Sonos magic hub

    perja12/sonos_magic_hub

    Circuit for using the LG OLED C9 TV remote (LG Magic Remote) with the Sonos Playbar.

    18 parts3Apache-2.0
  • 2 layers16 × 110 mmGatekeeper, the printed circuit board in 3D

    Gatekeeper

    mjrskiles/gatekeeper

    A digital gate/trigger processor for Eurorack modular synthesizers. Gatekeeper has a two-state (0 or 5V) output driven by push button and CV input. The input response is configurable via menu settings.

    33 parts2MIT
  • 2 layers19.6 × 24.1 mmMoleblink, the printed circuit board in 3D

    Moleblink

    rjhsun/moleblink

    ATtiny85-based illuminated PCB keychain featuring the Blacker House crest

    31 parts2CC-BY-SA-4.0