
POWER 0-50
Aleksei327/STM32G474-Precision-Lab-Power-Supply
Precision 0–50 V programmable laboratory PSU with 1 mV/1 mA setting steps, hybrid synchronous-buck + linear regulation, STM32G474 control, INA228 metering, and layered hardware protection.

DIY dual-CAN OBD2 adapter on Seeed XIAO ESP32-C5 with a Flutter Android app. Working prototype, tested on a Citroën C3 II: full read-only ECU scan, PSA fault codes, live data. Single-sided home-etched KiCad board. Docs in English and Russian.
Scaner v1 is an open-source printed circuit board by Aleksei327, from the Aleksei327/ESP32-C5-OBD2-Scanner repository on GitHub. It is a 2-layer board of 40 × 60 mm with 34 parts on 25 nets, routed with 228 tracks and 0 vias.
It is built around the SN65HVD230D, LM2596S-ADJ and SS34, with the 1.5KE6.8CA, HS1M and IRFB4110 among its other parts. Its parts include 10 resistors, 8 capacitors, 6 diodes, 4 ICs and 2 connectors. It belongs with the interfaces and adapters boards and the ESP32 and RISC-V boards of this library.
KiCad 10 project of the adapter board: 40 × 60 mm, single-sided (all tracks on the bottom copper, no wire jumpers), designed for home etching and built into an OBD2 enclosure. Description and design notes: DOCS/en/board-v1.md.
| Top | Bottom |
|---|---|
![]() | ![]() |
![]() | ![]() |
Top row: KiCad 3D. Bottom row: the board as built, in its enclosure and from the copper side.
| Path | Contents |
|---|---|
scaner_v1.kicad_sch, scaner_v1.kicad_pcb, scaner_v1.kicad_pro | schematic, board, project (design rules: 0.8 mm tracks, 0.4 mm clearance) |
scaner.pretty/ | project footprints: XIAO ESP32-C5 on two 1×7 sockets, DO-35 zener at 5.08 mm pitch, OBD2 enclosure outline |
scaner.3dshapes/ | hand-written 3D models (VRML) for parts missing from the KiCad library |
build/*.pdf | schematic, placement with copper, bottom copper 1:1 for etching |
tools/ | Python scripts that generate everything (see below) |
The schematic, placement and routing are produced by scripts, so a change is made in the script and everything is regenerated:
python tools/gen_schematic.py # parts, nets, project footprints -> scaner_v1.kicad_sch
python tools/check_netlist.py # ERC and netlist check against tools/expected_nets.json
"C:\Program Files\KiCad\10.0\bin\python.exe" tools/gen_pcb.py # placement (PLACE table), pad rules, keep-outs
"C:\Program Files\KiCad\10.0\bin\python.exe" tools/hand_route.py # tracks from tools/routes.py, ground pour, DRC
python tools/gen_3d.py # 3D models into scaner.3dshapes/routes.py — every track as a list of points (or REF.pad references) with its width.view_board.py — an SVG view of the board with net names on the pads, ratsnest and DRC markers; handy while routing.route.py — Freerouting experiment kept for reference; it overwrites the hand routing.Manual edits made in KiCad are overwritten by the next gen_pcb.py / hand_route.py run — carry them over into routes.py first.
The 40 × 60 mm board for the enclosure was placed and routed by hand in KiCad (October 2026), then etched and assembled. Do not run gen_pcb.py or hand_route.py: they bring back the old 40 × 70 board and overwrite the manual work; routes.py is the old routing, kept for reference. Values in the schematic and on the board match what is soldered: R1 51k, R9 200k, R11 12k, R8 fitted, R7 left out.
KiCad's Print dialog is awkward for photoresist work, so there is a print window of its own — the
"Печать для травления" button in the PCB editor (or tools/etch_window.cmd without KiCad):
"C:\Program Files\KiCad\10.0\bin\python.exe" tools/etch_window.py --pack # tools/etch_print_kicad_plugin.zip for KiCad's Plugin and Content Manager
"C:\Program Files\KiCad\10.0\bin\python.exe" tools/etch_window.py --install # while editing the code: button loaded straight from the repo (silent if the package is installed)
"C:\Program Files\KiCad\10.0\bin\python.exe" tools/etch_print.py # no window: 4 PDFs in etch/ with an automatic layoutTo get the button: KiCad → Plugin and Content Manager → Install from File… → tools/etch_print_kicad_plugin.zip.
The package lives in Documents\KiCad\<version>\3rdparty and survives a KiCad reinstall; after a new KiCad
version install the zip again. After changing the code, run --pack and reinstall the package.
%APPDATA%\etch_print). Toner density on the HP M1530 is set in the printer's own menu.etch/layout.json.The OBD2 enclosure (72 × 46 × 26, AliExpress) is modelled from measurements by a FreeCAD script:
"C:\Program Files\FreeCAD 1.0\bin\python.exe" tools/gen_case.py # model, drawings, enclosure layer for KiCad
"C:\Program Files\KiCad\10.0\bin\python.exe" tools/render_case.py # pictures of the enclosure and the board insidecase/case_drawing.pdf — dimensioned drawings (base, lid, sections, details); * marks assumed values.case/*.step, case/case.FCStd — 3D model for FreeCAD and other tools.scaner.pretty/Case_OBD2_72x46 — a board-only, locked "enclosure" footprint (CASE1): the "Корпус внутри" layer
(Eco1) shows walls, posts, plug pins and heights; "Корпус снаружи" (Eco2) the outside; a dashed outline on
User.Drawings marks the 40 × 60 board. In the 3D viewer the enclosure is translucent, board bottom 5 mm above the floor.| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 100n | Capacitor_SMD:C_1206_3216Metric | C4, C6, C7, C8 |
| 2 | 120 | Resistor_SMD:R_1206_3216Metric | R7, R8 |
| 2 | SN65HVD230 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U2, U3 |
| 2 | SS34 | Diode_SMD:D_SMA | D6, D7 |
| 1 | 1.5KE6.8CA | Diode_THT:D_DO-201AD_P12.70mm_Horizontal | D8 |
| 1 | 100 | Resistor_SMD:R_1206_3216Metric | R2 |
| 1 | 100n/50V | Capacitor_SMD:C_1206_3216Metric | C2 |
| 1 | 100u/63V | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm | C1 |
| 1 | 100uH | Inductor_THT:L_Radial_D10.0mm_P5.00mm_Fastron_07P | L1 |
| 1 | 10k | Resistor_SMD:R_1206_3216Metric | R12 |
| 1 | 10u | Capacitor_SMD:C_1206_3216Metric | C5 |
| 1 | 12V | scaner:D_DO-35_P5.08mm_Horizontal | D5 |
| 1 | 12k | Resistor_SMD:R_1206_3216Metric | R11 |
| 1 | 1k | Resistor_SMD:R_1206_3216Metric | R4 |
| 1 | 200k | Resistor_SMD:R_1206_3216Metric | R9 |
| 1 | 220u/25V | Capacitor_THT:CP_Radial_D8.0mm_P3.50mm | C3 |
| 1 | 30V | scaner:D_DO-35_P5.08mm_Horizontal | D3 |
| 1 | 33k | Resistor_SMD:R_1206_3216Metric | R10 |
| 1 | 3k0 | Resistor_SMD:R_1206_3216Metric | R3 |
| 1 | 51k | Resistor_SMD:R_1206_3216Metric | R1 |
| 1 | HS1M | Diode_SMD:D_SMA | D2 |
| 1 | IRFB4110 | Package_TO_SOT_THT:TO-220-3_Horizontal_TabDown | Q1 |
| 1 | LM2596S-ADJ | Package_TO_SOT_SMD:TO-263-5_TabPin3 | U1 |
| 1 | OBD 14 6 8 3 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | OBD питание | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J1 |
| 1 | T2A Nano2 | Fuse:Fuse_Littelfuse-NANO2-451_453 | F1 |
| 1 | XIAO_ESP32C5 | scaner:XIAO_ESP32C5_Socket | U4 |
| 1 | Корпус OBD2 72x46x26 | Case_OBD2_72x46 | CASE1 |

Aleksei327/STM32G474-Precision-Lab-Power-Supply
Precision 0–50 V programmable laboratory PSU with 1 mV/1 mA setting steps, hybrid synchronous-buck + linear regulation, STM32G474 control, INA228 metering, and layered hardware protection.

balazsbencs/ardor
This is a DIY multieffects project with a Raspberry Pi and and Codec Zero and a Raspberry Pi Display 2. With Full NAM A2 support.

Bihyungbetter/exoskeleton
Exoskeleton is a powered lower-limb exoskeleton with six actuated joints — hip flexion, hip abduction, and knee flexion per leg.

Aleksei327/STM32G474-Power-Charger
Experimental STM32G474-based high-current battery charger and programmable synchronous buck converter. KiCad hardware and STM32CubeIDE firmware.

M-S-Ali/raven-i-sentinel
6S - 24V - 20A Battery Management System (BMS) based on TI BQ76925 and Microchip Atmega328P.

jdelouche/aPortableInductionHeater
This is a hardware design that can be used to create a portable induction heater.


0BitsnBytes/McQueen
an overpowered rc car that poses a danger to my safety :)
It measures 40 × 60 mm and has 2 copper layers, 1.6 mm thick.
34 parts, built around the SN65HVD230D, LM2596S-ADJ, SS34 and 1.5KE6.8CA. 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 Aleksei327/ESP32-C5-OBD2-Scanner repository on GitHub, at the commit this page was made from: the board is hardware/scaner_v1/scaner_v1.kicad_pcb and its schematic hardware/scaner_v1/scaner_v1.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 Aleksei327 before reusing the design.