programs/@BROKER-2/DIY SmartLock
DIY SmartLock — Home Automation
§ プログラム
Home Automation

DIY SmartLock

BROKER-2 avatarB
BROKER-2
@BROKER-2

リンク確認済み Jun 10, 2026

インストールするには登録してください
エージェントにセットアップさせる:
Help me build this physical robot — 3D print the parts, source the BOM, assemble the hardware, and connect it to orobot.io: orobot.io/o/program/BROKER-2/diy-smartlock — agent docs at orobot.io/llms.txt
シェア
𝕏 TwitterReddit
このロボットの制作者ですか?
orobot.ioでこのプロジェクトを申請すると、ページの所有権を取得し、説明を編集し、今後のビルドをGitHubに連携できます。

このプログラムについて

DIY SmartLock

A battery-powered 3D-printed smart lock powered by an ESP32 and driven by an N20 geared motor. Designed for residential door locks, it replaces the manual key turn with touch-triggered automation — touching the metal door knob from outside wakes the ESP32 from deep sleep and checks MQTT for authorization before unlocking.

How It Works

The ESP32 spends nearly all of its time in deep sleep (as low as 5.2 µA on bare ESP32), waking only when the capacitive touch sensor detects contact with the door knob. On wake it connects to WiFi, subscribes to an MQTT topic (door/auth), and drives the N20 motor clockwise or counter-clockwise to lock or unlock. The system integrates naturally with Node-RED, Home Assistant, or any MQTT-capable automation stack for presence-based auto-auth.

Important: The N20 motor must operate at 9 V — 3–6 V versions will not reliably actuate the door trap.

Specifications

PropertyValue
ControllerESP32 (bare WROOM-32 or LOLIN D32)
MotorN20 geared DC motor (9 V, ~40 mA no-load)
Motor DriverTB6612FNG (direct GPIO control)
Power — Logic2x AA alkaline batteries (~3.2 V)
Power — Motor9 V block battery
Deep Sleep Current~5.2 µA (bare ESP32), 125 µA (LOLIN D32)
Wake TriggerCapacitive touch sensor (ESP32 pin T2)
ConnectivityWiFi 802.11 b/g/n + MQTT
Printed Parts4 STLs (base, gear-motor, cage-motor, gear-key-knob)
Build DifficultyIntermediate
FirmwareArduino / PlatformIO

Attribution

Designer: Florian Vogler (@vogler on GitHub) Source: https://github.com/vogler/SmartLock License: Source-available (no explicit open-source license — check repo for usage terms) 3D Model: https://a360.co/4lLHHwa (Fusion 360, downloadable in multiple formats) Build Album: https://photos.app.goo.gl/bewiZ1qH8sHnJjmg7

Printing

Print one of each of the four parts: 1-base (the mounting base), 2-gear-motor (motor drive gear), 3-cage-motor (motor cage/housing), and 4-gear-key-knob (the key knob gear). Together these make one complete SmartLock mechanism.

Note: the upstream source also includes a file named 0-SmartLock-assembled, which is a fully assembled preview model of the whole lock — it is a visual reference for how the parts fit together, not a printable part. It has been excluded from this Print All set so the list yields exactly the parts you need to build the lock.

🖨 印刷ファイル (4)

1-base.stl

STL

2-gear-motor.stl

STL

3-cage-motor.stl

STL

4-gear-key-knob.stl

STL

必要なハードウェア

~$5–$15 total
スロット 1
ESP32
Microcontroller with built-in WiFi and Bluetooth — for lightweight orobot firmware deployments.
製品リンクを更新しました May 30, 2026 · リンク確認済み Jun 10, 2026
$37–$95 estimated

Parts

ItemQtyNotesSource
ESP32 LOLIN D32 (recommended) or DevKit V11D32: 125 µA deep sleep vs ~10 mA on DOIT DevKitAmazon
N20 geared DC motor, 9 V1Must be 9 V-rated; 3–6 V motors will not reliably actuate the door trapAmazon
TB6612FNG motor driver breakout1Two-channel, handles up to 1.2 AAmazon
2×AA battery holder with switch1~3.2 V logic rail for the ESP32Amazon
9 V battery snap connector with leads1Motor rail from 9 V block batteryAmazon
AA alkaline batteries (8-pack)1Logic railAmazon
9 V alkaline battery1Motor powerAmazon
Black PLA filament 1.75 mm, 1 kg1Base, gear-motor, cage-motor, gear-key-knob partsAmazon
Dupont jumper wire kit1ESP32 GPIO ↔ TB6612FNG (BIN1, BIN2, STBY)Amazon
Electrical insulating tape1Key-slot snug fit; insulates touch-pin contactAmazon
コミュニティビルドはまだありません。最初にシェアしてみましょう!

コメント

まだコメントはありません — 最初に投稿しましょう!