Skip to the content
4 layers80.4 × 49.3 mmLeany, the printed circuit board in 3D

STM32 ARM Core-M3 based inclinometer

Size
80.4 × 49.3 mm
Copper layers
4
Thickness
1.6 mm
Parts
83
Nets
84
Pads
321
Tracks, vias
530, 160
Pours
21
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
28 Sep 2023
Updated
23 Sep 2026

Overview

Leany is an open-source printed circuit board by gilleshenrard, from the gilleshenrard/leany repository on GitHub. It is a 4-layer board of 80.4 × 49.3 mm with 83 parts on 84 nets, routed with 530 tracks and 160 vias.

It is built around the CH340N, AP2112K-3.3 and BQ25619RTW, with the DW01A, ICM-42688-P and AO3401A among its other parts. Its parts include 27 capacitors, 26 resistors, 6 ICs, 5 transistors and 5 switches. It belongs with the STM32 boards of this library.

Main components

9

README

pcb/README.md

Leany Project PCB Documentation

Revision: 0.3

Welcome to the Leany project's PCB documentation. This repository contains all the necessary files and information related to the PCB schematics and layouts for the Leany project.

pcb_overall

Table of Contents

Introduction

This documentation provides an overview of the PCB schematics and layouts used in the Leany project. It includes detailed information on the design, components, and assembly instructions.

Generate the production files (Linux only)

  1. Download KiCad from the official website.
  2. Go to the pcb/ directory
  3. Run the generation script located under resources/

PCB fabrication

  • Once the production files are generated, head to JLCPCB

  • Upload the zipped Gerber file, then, when the website is done processing it, choose the following non-default options :

    • Surface finish : LeadFree HASL
    • Enable PCB Assembly
  • Then, click Next until arriving at the Bill Of Materials page.

  • Upload the BOM and CPL files and click "Process BOM&CPL".

  • Check that no error is shown on the components list page, and click Next.

  • On the Components Placement page, move the components which are misplaced, then click Next.

  • On the final page, click Save to Cart.

Directory Structure

text
pcb/
├── 3d-models
└── resources
    └── generate_production_files.sh

3d-models

This directory contains the additional 3D models needed to export the PCB as an STL file. All the models are organised as [source]/[author]/[file]

resources

Contains additional resources :

  • generate_production_files.sh : A script to automatically generate and organise production files, with respect to JLCPCB standards.

CI/CD workflows

The PCB files are instected by a Github Action upon push and pull request to run the Electrical Rules Check and Design Rules Check ensure the production files are easily generated.

Gallery

pcb_front pcb_back

Contributing

Contributions to improve the PCB design and documentation are welcome. If you have any suggestions or improvements, please create a pull request or open an issue on the repository.

License

The PCB files are licensed under CERN Open Hardware Licence Version 2 - Permissive. See the CERN-OHL-P-2.0 file for more details.

Parts

83
QtyValueFootprintReferences
12100nleany_footprints:C_0402_1005MetricC2, C6, C7, C8, C9, C10, C12, C17, C21, C25, C26, C28
810kleany_footprints:R_0402_1005MetricR1, R2, R7, R10, R13, R14, R16, R18
510uCapacitor_SMD:C_0805_2012MetricC1, C11, C18, C19, C24
41uleany_footprints:C_0402_1005MetricC5, C14, C22, C23
44k7leany_footprints:R_0402_1005MetricR11, R12, R23, R24
3100kleany_footprints:R_0402_1005MetricR8, R15, R17
3AO3401APackage_TO_SOT_SMD:SOT-23Q1, Q3, Q4
2150RResistor_SMD:R_0603_1608MetricR4, R5
220pleany_footprints:C_0402_1005MetricC3, C4
256kResistor_SMD:R_0603_1608MetricR21, R22
25k1leany_footprints:R_0402_1005MetricR19, R20
1+BATTleany_footprints:TestPoint_Pad_1.0x1.0mmTP5
1100Rleany_footprints:R_0402_1005MetricR25
118kResistor_SMD:R_0603_1608MetricR6
11Mleany_footprints:R_0402_1005MetricR9
11kleany_footprints:R_0402_1005MetricR26
11uHInductor_SMD:L_1008_2520MetricL1
1220Rleany_footprints:R_0402_1005MetricR3
122nleany_footprints:C_0402_1005MetricC20
122uCapacitor_SMD:C_0805_2012MetricC13
13.3Vleany_footprints:TestPoint_Pad_1.0x1.0mmTP7
14.7uCapacitor_SMD:C_0805_2012MetricC16
147nCapacitor_SMD:C_0603_1608MetricC15
18MHzleany_footprints:Crystal_SMD_Abracon_ABM3-2Pin_5.0x3.2mmY1
1AO3400APackage_TO_SOT_SMD:SOT-23Q2
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U5
1BATTleany_footprints:wago_2059-302_998-403J4
1BOOTleany_footprints:SW_Push_1P1T_XKB_TS-1187ASW4
1BQ25619Package_DFN_QFN:Texas_RGE0024H_VQFN-24-1EP_4x4mm_P0.5mm_EP2.7x2.7mm_ThermalViasU4
1CH340Nleany_footprints:SOP-8_3.9x4.9mm_P1.27mmU2
1DEBUG_OUTleany_footprints:TestPoint_Pad_1.0x1.0mmTP1
1DW01APackage_TO_SOT_SMD:SOT-23-6U6
1GNDleany_footprints:TestPoint_Pad_1.0x1.0mmTP2
1HOLDleany_footprints:SW_Push_1P1T_NO_6x6mm_H9.5mmSW2
1ICM-42688-PPackage_LGA:LGA-14_3x2.5mm_P0.5mm_LayoutBorder3x4yU3
1NH-B2020RGBA-HFleany_footprints:NH-B2020RGBA-HFD1
1POWERButton_Switch_THT:SW_Tactile_SPST_Angled_PTS645Vx31-2LFSSW5
1PT8810Package_TO_SOT_SMD:SOT-23-6Q5
1RESETleany_footprints:SW_Push_1P1T_XKB_TS-1187ASW3
1ST7735Sleany_footprints:ST7735SJ1
1STM32F103C8TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU1
1SWDConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalJ2
1USB Cleany_footprints:USB_C_Receptacle_HRO_TYPE-C-31-M-12J3
1VBATTleany_footprints:TestPoint_Pad_1.0x1.0mmTP4
1VBUSleany_footprints:TestPoint_Pad_1.0x1.0mmTP3
1Vinleany_footprints:TestPoint_Pad_1.0x1.0mmTP6
1ZEROleany_footprints:SW_Push_1P1T_NO_6x6mm_H9.5mmSW1

Similar boards

  • 2 layers52 × 42 mmSisyphus, the printed circuit board in 3D

    Sisyphus

    Plajta/sisyphus

    A soundboard giving voice to those who don't have it

    68 parts1
  • 4 layers65 × 100 mmMacropad, the printed circuit board in 3D

    Macropad

    mcskny/wireless-he-macropad

    A wireless, 12-key Hall-effect macropad built around a custom PCB, an ESP32-C6 sender, an ESP32-S3 USB receiver, and a native macOS companion app.

    165 partsGPL-3.0
  • 2 layers165.1 × 95.3 mmPico concole v2 daughter board, the printed circuit board in 3D

    Pico concole v2 daughter board

    Crem2y/pico-console-v2-pcb

    pico console v2 board (firmware : https://github.com/Crem2y/pico-console-v2)

    232 parts1MIT
  • 4 layers85.9 × 85.9 mmPd1180-epr r0.3, the printed circuit board in 3D

    Pd1180-epr r0.3

    techmannih/pd1180-epr

    PD1180-EPR — NEMA 34 Smart Motor-Mounted Stepper Controller with USB-C PD 3.1 EPR

    277 parts
  • 4 layers115.5 × 96.2 mmClosed deck x4, the printed circuit board in 3D

    Closed deck x4

    OpenLogicEFI/Hardware

    Hardware is based off an open source project called Speeduino by Josh Stewart.

    245 parts19
  • 4 layers118 × 76 mmSmart led badge, the printed circuit board in 3D

    Smart led badge

    zgeez/Pixel-Badge

    Wearable 32x32 LED badge with Zephyr firmware, BLE control, passive NFC, and a Flutter Android app, built around a custom nRF52840 PCB.

    1,236 partsMIT
  • 2 layers100 × 100 mmInternship, the printed circuit board in 3D

    Internship

    neilgibsonpinto-art/litewing-65-flight-controller

    An ultra-low SWaP-C (Size, Weight, Power, and Cost) monolithic flight computer and decentralized micro-UAV swarm reconnaissance architecture engineered by Neil Gibson Pinto at Sahyadri College of Engineering &…

    87 parts

Questions

How big is the Leany PCB?

It measures 80.4 × 49.3 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Leany use?

83 parts, built around the CH340N, AP2112K-3.3, BQ25619RTW and DW01A. 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 Leany KiCad files?

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

Can I use the Leany design in my own project?

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