

HallEncoder
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
2BAT30KFILM
SOD-523300mA 30V 530mV@300mA 5uA@30V Independent SOD-523 Schottky Diodes ROHSSTMicroelectronicsSchottky DiodesBM05B-SRSS-TB(LF)(SN)
SMD,P=1mm-25℃~+85℃ 1 1A 1mm 1x5P 3.6mm 4.25mm 5 50V 5P 7mm Auxiliary Solder Pin Copper alloy PA SH Surface Mount,Vertical Tin UL94V-0 White SMD,P=1mm Wire To Board Connector ROHSJSTWire To Board Connector
README
README.mdDiode 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
- KiCad 9.0
- Required for PCB layout
- Download from KiCad website
Project Structure
.
├── 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 configurationUsage Guidelines
Building Projects
- Build your project using:
bash pcb build
Important Rules
-
Dependencies
- Always use
pcb addfor dependencies - Never modify pcb.toml directly
- Only add dependencies to directories with a
pcb.tomlfile
- Always use
-
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
- Components in
-
Project Files
- Build artifacts are stored in
.pcb/directory - Project configuration is in
pcb.toml - Component files use
.zenextension
- Build artifacts are stored in
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
-
Components (in
components/directory)- Auto-generated using
pcb search <PART_NUMBER> - Never edit these manually
- Stored as
.zenfiles
- Auto-generated using
-
Modules (in
modules/directory)- User-authored reusable logic
- Combine components and define connections
- Named as
<module_name>.zen
-
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:
- Follow the project structure
- Use the provided tools for component and module creation
- Ensure all components are properly documented
- Test your changes with
pcb build
Parts
14| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | ERJ-2RKF1002X | R_0402_1005Metric:R_0402_1005Metric | R1, R2, R3, R4, R5, R6 |
| 3 | BAT30KFILM | D_SOD-523:D_SOD-523 | D1, D2, D3 |
| 3 | GCM1555C1H100FA16D | C_0402_1005Metric:C_0402_1005Metric | C1, C2, C3 |
| 1 | BM05B-SRSS-TB(LF)(SN) | BM05BSRSSTB:BM05BSRSSTB | J1 |
| 1 | GCM155R71H104KE02D | C_0402_1005Metric:C_0402_1005Metric | C4 |
More from dioderobot/demo
12- 4 layers115 × 234.4 mm

- 6 layers24.9 × 51.5 mm

- 6 layers62.1 × 56.2 mm

- 4 layers15 × 51.1 mm

- 4 layers37 × 17 mm

- 4 layers34.3 × 17 mm

- 4 layers32 × 14 mm

- 2 layers

- 2 layers

- 2 layers

- 2 layers

- 2 layers

Similar boards
- 6 layers63.5 × 38.5 mm

- 4 layers52 × 42 mm

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 mm

- 4 layers125 × 80 mm

- 4 layers48 × 30 mm

- 4 layers

- 6 layers80 × 80 mm

- 8 layers200 × 115 mm

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.