Skip to the content
PCBKitNew board
2 layers92 × 76 mmCustomLocker, the printed circuit board in 3D

This project is an electrically locked box. You can safely store things that you are addicted to inside it and unlock it by reaching a particular goal. I'm going to put sweets in it and unlock the box once I've reached my daily calorie target on my smartwatch.

Size
92 × 76 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
38
Pads
84
Tracks, vias
133, 26
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
9 Jun 2025
Updated
29 Apr 2026

Overview

CustomLocker is an open-source printed circuit board by itsLeatch, from the itsLeatch/customLocker repository on GitHub. It is a 2-layer board of 92 × 76 mm with 15 parts on 38 nets, routed with 133 tracks and 26 vias.

It is built around the KXG1203C. Its parts include 4 connectors and 2 ICs. It belongs with the ESP32 boards of this library.

Main components

1

README

README.md

customLocker

This project is an electrically locked box. You can safely store things that you are addicted to inside it and unlock it by reaching a particular goal. I'm going to put sweets in it and unlock the box once I've reached my daily calorie target on my smartwatch. Inside the box is a load cell that can roughly detect the amount of sweets taken out. In addition to that, there is a wireless charger, that will charge e.g. your phone while beeing busy.

Why I made this project

I often find myself looking at my phone a lot when I'm busy, which slows me down. Furthermore, I also want to do more sport. With the box, I can combine these things and create my first PCB, build a large 3D model, and learn many other skills.

Showcase

https://github.com/user-attachments/assets/28022000-88c3-4b23-8f9c-2944c17416d4

Pictures

3D-Model

image

PCB-Front

image

PCB-Back

image

Wiring

servo motor: connect the red cable to +5v hall effect sensor: when facing the smaller side the left once is +5v, the middle one GND and the right one signal HX711: this board is solderd directly on the PCB in the only possible direction power: connect the 5V of the USB-C connector with the +5V on the board and the +5V on the wireless charger, same for GND

BOM

Aliexpress

DescriptionLinkprice in USD
ESP32-32D to control everythinghttps://de.aliexpress.com/item/4000093185394.html?spm=a2g0o.cart.0.0.b1964ae4QiPiLO&mp=1&gatewayAdapt=glo2deu3,56
load cell (5KG AND HX711) to detect the amount of removed itemshttps://de.aliexpress.com/item/4001274733879.html?spm=a2g0o.cart.0.0.b1964ae4QiPiLO&mp=1&gatewayAdapt=glo2deu1,9
0.96 inch display (white) to display information such as left time, calorien...https://de.aliexpress.com/item/1005006141235306.html?spm=a2g0o.cart.0.0.b1964ae4QiPiLO&mp=1&gatewayAdapt=glo2deu1,97
servo motor (360°) to lock/open the boxhttps://de.aliexpress.com/item/1005007173214082.html?spm=a2g0o.cart.0.0.b1964ae4QiPiLO&mp=1&gatewayAdapt=glo2deu1,8
passive buzzer to notify the userhttps://de.aliexpress.com/item/1005008825917787.html?spm=a2g0o.cart.0.0.b1964ae4QiPiLO&mp=1&gatewayAdapt=glo2deu1,86
keys (blue) for user inputshttps://de.aliexpress.com/item/1005004341695529.html?spm=a2g0o.cart.0.0.b1964ae4QiPiLO&mp=1&gatewayAdapt=glo2deu1,62
key caps (red) for the keyshttps://de.aliexpress.com/item/1005007209930123.html?spm=a2g0o.cart.0.0.64164ae4YkwdOF&mp=1&gatewayAdapt=glo2deu7,26
wireless charger (b) if the smartphone or simular is in the boxhttps://de.aliexpress.com/item/1005006386722006.html?spm=a2g0o.cart.0.0.64164ae4YkwdOF&mp=1&gatewayAdapt=glo2deu5,76
hall effect sensor (47E) to check if the box is open or closedhttps://de.aliexpress.com/item/1005008647103022.html?spm=a2g0o.cart.0.0.64164ae4YkwdOF&mp=1&gatewayAdapt=glo2deu1,8
magnetic tape (10mmx1mm, 1 Meter) for the hall effect sensorhttps://de.aliexpress.com/item/1005006757451588.html?spm=a2g0o.cart.0.0.64164ae4YkwdOF&mp=1&gatewayAdapt=glo2deu2,39
USB-C PCB for powerhttps://de.aliexpress.com/item/1005009193894473.html?spm=a2g0o.cart.0.0.64164ae4YkwdOF&mp=1&gatewayAdapt=glo2deu1,15
connector pins (each color) to connect the components to the PCBhttps://de.aliexpress.com/item/1005007324368709.html?spm=a2g0o.cart.0.0.64164ae4YkwdOF&mp=1&gatewayAdapt=glo2deu1,36
some cables (M-F-20pin) to connect the components as wellhttps://de.aliexpress.com/item/1005007805542492.html?spm=a2g0o.cart.0.0.64164ae4YkwdOF&mp=1&gatewayAdapt=glo2deu1,24
M4x16mm screws to mount most of the componentshttps://de.aliexpress.com/item/1005006674812661.html?spm=a2g0o.cart.0.0.64164ae4YkwdOF&mp=1&gatewayAdapt=glo2deu1,77
m4 threaded inserts (OD 6mm, lenght 6mm) for the screwshttps://de.aliexpress.com/item/1005003582355741.html?spm=a2g0o.cart.0.0.64164ae4YkwdOF&mp=1&gatewayAdapt=glo2deu2,59
M5x30 screws to mount the load cell and the opening mechanism of the boxhttps://de.aliexpress.com/item/1005006051322108.html?spm=a2g0o.productlist.main.35.1d807847E9uYf0&algo_pvid=ca520a57-ad42-44bf-a79a-73b8be690855&pdp_ext_f=%7B%22order%22%3A%22272%22%2C%22eval%22%3A%221%22%7D&utparam-url=scene%3Asearch%7Cquery_from%3A3,26
shipping cost to Germany6,27
total price for ALIEXPRESS47,56

local building center

Descriptionprice in €
2 pices M4 DIN9021 to spread the pressure over the box2X0,24=0,48
2 pices M5 DIN9021 to spread the pressure over the box2x0,29=0,58
2 pieces M5 domed cap nut2x0,49=0,98
total price in €2,04€
total price in $ (7/17/2025 at 4:44pm under: https://www.visa.de/support/verbraucher/visa-reiseservices/exchange-rate-calculator.html)2,39$

PCB from jlcpcp

Descriptionprice in $
2 pices M4 DIN9021 to spread the pressure over the box4
shipping cost3,3
total7,3

total cost

Descriptionprice in $
aliexpress47,56
local building center2,39
PCB7,3
3D-Filamentnothing - I have to use Printing Legion because I have no 3D-Printer yet 😥
total57,25

Parts

15
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_4.3mm_M4H1, H2, H3, H4
4SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBCANCEL1, DOWN1, SELECT1, UP1
1DM-OLED096-636DM-OLED096-636:MODULE_DM-OLED096-636U2
1ESP32-DEVKITC-32DESP32-DEVKITC-32D:MODULE_ESP32-DEVKITC-32DU1
1HX711 load cellConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3
1Hall Effect SensorConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ4
1KXG1203CKXG1203C:XDCR_KXG1203CLS1
1PowerConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1Servo Motor ConnectorConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ1

Questions

How big is the CustomLocker PCB?

It measures 92 × 76 mm and has 2 copper layers, 1.6 mm thick.

What parts does the CustomLocker use?

15 parts, built around the KXG1203C. 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 CustomLocker KiCad files?

From the itsLeatch/customLocker repository on GitHub, at the commit this page was made from: the board is KiCad/custom locker/custom locker/custom locker.kicad_pcb and its schematic KiCad/custom locker/custom locker/custom locker.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the CustomLocker design in my own project?

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

Similar boards

  • 2 layers19 × 76 mmSub, the printed circuit board in 3D

    Sub

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    15 parts3kApache-2.0
  • 2 layers26.7 × 62.2 mmDeniseadapter, the printed circuit board in 3D

    Deniseadapter

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    15 parts1kGPL-3.0
  • 2 layers100 × 44 mmVideoslot, the printed circuit board in 3D

    Videoslot

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    15 parts1k
  • 2 layers91 × 51 mmBusinessCard, the printed circuit board in 3D

    BusinessCard

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    15 parts915
  • 2 layers24.3 × 57.9 mmFlosspods pro flex, the printed circuit board in 3D

    Flosspods pro flex

    kenp-io/not-for-airpods-repairs

    The content of this repository is licensed under the WTFPL License. Please have a close look at the terms before using this material.

    15 parts609WTFPL
  • 2 layers20.3 × 15.2 mmL0 Load, the printed circuit board in 3D

    L0 Load

    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.

    15 parts546MIT
  • 2 layers68 × 50 mmEleLab v2 PowerFeed, the printed circuit board in 3D

    EleLab v2 PowerFeed

    Chrismettal/EleLab_v2

    Cheap DIY lab system for hobbyists and the tinkering folk

    15 parts531GPL-3.0
  • 2 layers50.8 × 35.6 mmInterface, the printed circuit board in 3D

    Interface

    harbaum/I2C-Tiny-USB

    Cheap and simple I²C to USB interface

    15 parts454