Skip to the content
2 layersHallEncoder, the printed circuit board in 3D

HallEncoder

dioderobot/demo3

Demo for diode boards

Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
11
Pads
33
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 9.0 (file 20241229)
Created
26 Aug 2025
Updated
5 May 2026

Overview

HallEncoder is an open-source printed circuit board by dioderobot, from the dioderobot/demo repository on GitHub. It is a 2-layer board with 14 parts on 11 nets.

It is built around the BAT30KFILM and BM05B-SRSS-TB(LF)(SN). Its parts include 6 resistors, 4 capacitors, 3 diodes and 1 connector.

Main components

2

README

README.md

Diode PCB boards

This repository contains schematics and boards built using the pcb command line utility by Diode, using the Zener language and open source compiler

Prerequisites

For the most up to date information, visit our documentation at docs.pcb.new

The open source PCB compiler is available at github.com/diodeinc/pcb

  1. KiCad 9.0

Project Structure

text
.
├── README.md
├── components              # Auto-generated component definitions (do not edit)
├── modules                 # User-authored reusable modules (.zen files)
├── boards                  # Board designs that use modules (.zen files)
└── pcb.toml               # Project configuration

Usage Guidelines

Building Projects

  • Build your project using:
    bash
    pcb build

Important Rules

  1. Dependencies

    • Always use pcb add for dependencies
    • Never modify pcb.toml directly
    • Only add dependencies to directories with a pcb.toml file
  2. Best Practices

    • Components in components/ are auto-generated - never edit them manually
    • Create reusable modules in modules/ directory
    • Board designs go in boards/ directory
    • Use generic components for basic elements (capacitors, resistors, inductors)
    • Consult component datasheets when available
  3. Project Files

    • Build artifacts are stored in .pcb/ directory
    • Project configuration is in pcb.toml
    • Component files use .zen extension

Zener Language Reference

Zener is a Starlark-based language for defining electronic components, modules, and boards as code. Starlark is a simplified dialect of Python designed for configuration files.

Key Concepts

  1. Components (in components/ directory)

    • Auto-generated using pcb search <PART_NUMBER>
    • Never edit these manually
    • Stored as .zen files
  2. Modules (in modules/ directory)

    • User-authored reusable logic
    • Combine components and define connections
    • Named as <module_name>.zen
  3. Boards (in boards/ directory)

    • Instantiate modules for real-world use
    • Define the final PCB design
    • Named as <board_name>.zen

Basic Syntax

Since Zener is based on Starlark, it follows Python-like syntax:

  • Variables and functions follow Python conventions
  • Comments use #
  • Indentation matters
  • No type annotations required

For detailed syntax and examples, refer to the Diode PCB documentation

Component Management

Components are managed through the pcb command line tool:

  • Use pcb pro search <PART_NUMBER> to find components
  • Components are automatically downloaded and stored in components/
  • Each component includes symbol, footprint, 3D model, and datasheet information

Contributing

When contributing to this repository, please:

  1. Follow the project structure
  2. Use the provided tools for component and module creation
  3. Ensure all components are properly documented
  4. Test your changes with pcb build

Parts

14
QtyValueFootprintReferences
6ERJ-2RKF1002XR_0402_1005Metric:R_0402_1005MetricR1, R2, R3, R4, R5, R6
3BAT30KFILMD_SOD-523:D_SOD-523D1, D2, D3
3GCM1555C1H100FA16DC_0402_1005Metric:C_0402_1005MetricC1, C2, C3
1BM05B-SRSS-TB(LF)(SN)BM05BSRSSTB:BM05BSRSSTBJ1
1GCM155R71H104KE02DC_0402_1005Metric:C_0402_1005MetricC4

More from dioderobot/demo

12
  • 6 layers24.9 × 51.5 mmDM0001, the printed circuit board in 3D

    DM0001

    dioderobot/demo

    Demo for diode boards

    147 parts3
  • 6 layers62.1 × 56.2 mmDM0003, the printed circuit board in 3D

    DM0003

    dioderobot/demo

    Demo for diode boards

    82 parts3
  • 4 layers15 × 51.1 mmDM0002, the printed circuit board in 3D

    DM0002

    dioderobot/demo

    Demo for diode boards

    73 parts3
  • 4 layers37 × 17 mmRenfield, the printed circuit board in 3D

    Renfield

    dioderobot/demo

    Demo for diode boards

    42 parts3
  • 4 layers34.3 × 17 mmFeign, the printed circuit board in 3D

    Feign

    dioderobot/demo

    Demo for diode boards

    38 parts3
  • 4 layers32 × 14 mmSeward, the printed circuit board in 3D

    Seward

    dioderobot/demo

    Demo for diode boards

    34 parts3
  • 2 layersTPS74x01P, the printed circuit board in 3D

    TPS74x01P

    dioderobot/demo

    Demo for diode boards

    7 parts3
  • 2 layersLayout CM5IO, the printed circuit board in 3D

    Layout CM5IO

    dioderobot/demo

    Demo for diode boards

    6 parts3

Similar boards

  • 6 layers63.5 × 38.5 mmP0004-PCB-001, the printed circuit board in 3D

    P0004-PCB-001

    M0WUT/p0004-pcb-001_lcd-board

    174 parts
  • 4 layers52 × 42 mmMicroduck Entry 5V R22, the printed circuit board in 3D

    Microduck Entry 5V R22

    ldcyes/OpenDuck

    已完成可编辑原理图、真实四层 PCB 和本地库。阶梯板面积 4510 mm²,比原 65×60 + 32×30 mm 两板总面积 4860 mm² 少 350 mm²(7.20%)。原 TDK 模块本体、四个安装孔和原 TDK 器件位置保留,回生电容采用原料号卧装,J1 因实际拔插通道冲突改为同系列 BM08 顶插。当前为工程候选,未制造,未完成热、回生瞬态、低电量或行走验收。

    58 parts
  • 4 layers77 × 127 mmEsc sigma-4s panel, the printed circuit board in 3D

    Esc sigma-4s panel

    mstoilov/sigmadrone-esc

    Sigmadrone Electronic Speed Controller (ESC)

    514 parts5
  • 4 layers125 × 80 mmEsc, the printed circuit board in 3D

    Esc

    Electrium-Mobility/esc-w26

    Building an electronic speed controller!🏍️💨

    187 parts4MIT
  • 8 layers200 × 115 mmEnergyMonitoringSystem, the printed circuit board in 3D

    EnergyMonitoringSystem

    vigneshuw/aems

    Autonomous Energy Monitoring System (AEMS)

    297 parts1

Questions

What parts does the HallEncoder use?

14 parts, built around the BAT30KFILM and BM05B-SRSS-TB(LF)(SN). 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 HallEncoder KiCad files?

From the dioderobot/demo repository on GitHub, at the commit this page was made from: the board is boards/DM0001/src/layout/HallEncoder/layout.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the HallEncoder design in my own project?

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