
Uv bench
L-A-7/Electronic-design
Learning workspace for electronics and PCB design (KiCad 10, STM32): UV bench and following projects

Learning workspace for electronics and PCB design (KiCad 10, STM32): UV bench and following projects
Pd head is an open-source printed circuit board by L-A-7, from the L-A-7/Electronic-design repository on GitHub. It is a 2-layer board of 12 × 21 mm with 2 parts on 2 nets, routed with 6 tracks and 0 vias.
Its parts include 1 diode and 1 connector.
This workspace is for building a reliable, repeatable toolchain for PCB design. Each project takes one step up in complexity, and each one has to be useful on its own.
| Folder | Content |
|---|---|
projects/ | One folder per board: docs/ hardware/ simulation/ firmware/ test/ |
library/ | Shared KiCad library (symbols, footprints, 3D models) for parts that aren't in the stock libs |
templates/ | KiCad project template (fab design rules, title block, net classes) |
tools/ | Scripts: ERC/DRC/fabrication exports through kicad-cli, simulation helpers |
learning/ | Notes and small exercises: protocols, UV safety, KiCad, circuit topics |
resources/ | Datasheets and application notes (stored locally, git-ignored if large) |
books/ | Reading notes |
lab/ | Instrument inventory, purchase plan, measurement procedures |
| Step | Tool | Status |
|---|---|---|
| Version control | git (one repo, one commit per meaningful design step) | initialised |
| Schematic / PCB | KiCad 9.0.8 | installed |
| Circuit simulation | ngspice inside the KiCad schematic editor (libngspice present); vendor SPICE models | available |
| Parameter sweeps | Python (spicelib or PySpice) driving ngspice | to do |
| Automated checks and exports | tools/kicad-check.sh (ERC, DRC, Gerbers, drill, BOM, position, PDF, STEP) | written |
| Mechanical fit | STEP export, then FreeCAD (installed) | available |
| Firmware | STM32CubeIDE / CubeMX on a Nucleo board until our own controller exists | to do |
| Protocol debugging | Logic analyser + sigrok/PulseView | to buy, see lab/ |
| Fabrication | JLCPCB / PCBWay (cheap PCBA) or Aisler (EU) | choose at milestone M4 |
| # | Project | Main new skills | Useful because |
|---|---|---|---|
| 1 | UV LED bench board (projects/01-uv-bench) | Power input protection, linear constant-current driver, photodiode TIA, small STM32 on board (control loop, I2C target, UART console), op-amp stability simulation, first full fab-and-test cycle | Self-regulating UV source: ask for a power, it holds it. Driven from a PC (USB-serial cable) now, from the main board over I2C later |
| 2 | (optional, later) Small STM32 USB controller (projects/02-usb-controller) | STM32 minimum system, USB-C FS device, SWD, crystal, USB CDC firmware | Drives the UV bench from a PC. Proves the USB + STM32 layout cheaply before the large board |
| 3 | Main STM32 board (projects/03-main-board) | USB-C PD power, stepper driver, 4 analogue acquisition channels, temperature, DACs, mixed-signal layout | The instrument controller |
Each project goes through the same milestones: M0 toolchain, M1 breadboard proof, M2 schematic and simulation, M3 layout and review, M4 fabrication, M5 bring-up and characterisation, M6 firmware and documentation.
NN-short-name.uv-bench-revA-fab.docs/ with its reasoning.tools/kicad-check.sh passes and the review checklist is done.| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | SFH 2401 | OptoDevice:Osram_BPW34S-SMD | D1 |
| 1 | cable to J4 | Connector_Wire:SolderWire-0.25sqmm_1x02_P4.2mm_D0.65mm_OD1.7mm_Relief | J1 |

L-A-7/Electronic-design
Learning workspace for electronics and PCB design (KiCad 10, STM32): UV bench and following projects

L-A-7/Electronic-design
Learning workspace for electronics and PCB design (KiCad 10, STM32): UV bench and following projects

hzeller/rpi-rgb-led-matrix
Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO


adamws/kicad-kbplacer
KiCad plugin for automatic keyboard's key placement and routing

Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

NVNTLabs/switch2-SDEX2M2
Micro SD Express to M.2 NVME Adapter for Nintendo Switch 2

BlueSCSI/BlueSCSI-v2
BlueSCSI v2/Ultra - an open source, open hardware, SCSI emulator using the Pi Pico PR2040 and Pico 2 RP2350

ohmtech-rdi/eurorack-blocks
Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

It measures 12 × 21 mm and has 2 copper layers, 1.6 mm thick.
2 parts. 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.
From the L-A-7/Electronic-design repository on GitHub, at the commit this page was made from: the board is projects/01-uv-bench/hardware/pd-head/pd-head.kicad_pcb and its schematic projects/01-uv-bench/hardware/archive/rev-a/uv-bench/analog.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask L-A-7 before reusing the design.