

----------
- Size
- 94.6 × 120.6 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 40
- Nets
- 55
- Pads
- 167
- Tracks, vias
- 291, 0
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 24 May 2026
- Updated
- 17 Jul 2026
Overview
HSOD is an open-source printed circuit board by NattDocumented, from the NattDocumented/HSOD-Home-Security-Of-DOOM repository on GitHub. It is a 2-layer board of 94.6 × 120.6 mm with 40 parts on 55 nets, routed with 291 tracks and 0 vias.
It is built around the DFR0299, HLK-LD2410C and CMS-18138A-SP, with the ICS-43434 among its other parts. Its parts include 14 diodes, 12 switches, 3 resistors and 3 ICs. It belongs with the ESP32 and AVR (ATmega, ATtiny) boards of this library.
Main components
4DFR0299
THroughholeTHroughhole V-Audio Modules ROHSDFRobotV-Audio ModulesHLK-LD2410C
插件,16X22mm插件,16x22mm New Arrivals ROHSHI-LINKUncategorisedCMS-18138A-SP
-SpeakersCUIICS-43434
LGA-6(3.5x2.7)-26dB -40℃~+85℃ 0.98mm 1.65V~3.63V 2.65mm 3.5mm 550uA 64dB I2S Omnidirectional Omnidirectional pickup LGA-6(3.5x2.7) MEMS Microphones ROHSTDK InvenSenseMEMS Microphones
README
README.mdH.S.O.D. : Home Security Of DOOM
A simple home security alarm with personality and a little twist wink wink.

What is it?
It is just like your simple, ordinary home security/alarm system. If you input your PIN to arm or disarm the alarm, and if you proceed to enter your PIN just in time, the alarm won't go off. However, when H.S.O.D went off... It doesn't just play a normal alarm... I will scare the burglar away (hopefully)... it plays a pre-recorded audio which you can customize/add custom audio to your liking, of how you would like to torment your burglar.
My personal option is DOOM ETERNAL MUSIC INTRO with + "so you are the chosen one."
How do you use it?
It is very simple, here's how to use it!
1. Arming the Device
- Action: On boot, the system is disarmed. Input the PIN.
- Outcome: The current state of the device will change from unarmed to armed, and the OLED display and an audio cue from the speaker will indicate that!
2. INTRUDER ALERT!!!
- Action: Human detected.
- Outcome: The device enters a warning state or a countdown state, to be exact. The OLED display and a countdown coming from the speaker tracking your remaining time will also indicate that!
3. Disarming the Device
- Action: Input the PIN.
- Outcome:
- Correct PIN: Everything resets and goes back to normal (back to the unarmed/disarmed state), the OLED display and the sound cue will also indicate it as well!
- Incorrect PIN: Everything continues, but you can still go ahead and try again until the countdown reaches zero (but there's also a max attempt)
Why did I make it?
Here's a little back story. I passed an entrance exam to one of the best high schools in Thailand (Triam Udom Suksa School, btw wink wink), which means I have to move away and live alone in the big city, but, being a country boy, I came up with an idea. Wouldn't it be so fitting to add some security measures to my apartment because I'm living alone? Normal Securities are boring, corporate, no personality, there's nothing interesting, so I came up with something new of my own! I came up with this!
System Architecture
graph TD;
%%Define styles
classDef controller fill:
classDef sensor fill:
classDef output fill:
classDef cloud fill:
%% Nodes
Radar[HLK-LD2410C]:::sensor
Mic[ICS-43434]:::sensor
Keypad[Keypad]:::sensor
MCU[Arduino Nano ESP32]:::controller
OLED[OLED Display]:::output
DFPlayer[DFPlayer Mini + Speaker]:::output
Wit[Wit.ai Speech API]:::cloud
%% Connections
Radar --> |UART2 / Pin D11 Trigger| MCU
Mic --> | I2S Mono PCM via DMA | MCU
Keypad --> |Digital I/O Pins 2-8| MCU
State Machine
stateDiagram-v2
[*] --> STATE_DISARMED : Boot
STATE_DISARMED --> STATE_ARMED : Enter PIN + ENT
STATE_ARMED --> STATE_COUNTDOWN : Human Detected
STATE_COUNTDOWN --> STATE_DISARMED : Correct PIN / Voice Phrase <br> Entered
STATE_COUNTDOWN --> STATE_ALARM : Timer Hits 0
STATE_ALARM --> STATE_DISARMED : Correct PIN / Voice Phrase <br> Entered
STATE_ALARM --> STATE_LOCKED_OUT : Too Many Failed Attempts
STATE_LOCKED_OUT --> STATE_ARMED Bill of Materials (BOM)
Step-By-Step Build Guide.
Tools Required
- Soldering Iron & Solder Wire
- Wire Flush Cutters
- Tweezers
[1] : Prep Your MicroSD Card
-
Insert your MicroSD card into your computer and format it to FAT32.
-
Drop your custom audio files inside (
0001.mp3,0002.mp3, etc.)0001.mp3= Warning beep0002.mp3= Full alarm audio0003.mp3= Armed sound0004.mp3= Disarmed sound0005.mp3= Incorrect sound0006.mp3= Locked out sound0007.mp3= Startup sound
-
Eject the card and insert it right into the slot of the DFPlayer Mini (U3).
[2] : Soldering Components
This is fairly simple due to each component having its own designated spots on the board; simply find those and solder them in place.
For Example/Demonstration:
- Keypad: Insert the 12 Cherry MX Mechanical Switches (SW1 to SW12) into the big key grid squares on the board. If you can't see it, I'm going to assume you're blind (I'm just playing with ya lol), flip it over, and solder, simple!
- Modules: as stated, the OLED Display, Arduino Nano ESP32, HLK-LD2410C, and all the components and modules all have their own slot, just insert them into their own spot, flip 'em over, and solder! simple!
I think you get it now, simple! Isn't it? All you have to do is do the same thing for every component of this device.
Tips, but kind of necessarily: After soldering everything, use your Wire Flush Cutters to cut the excess leads or pins off.
[3] : Uploading Firmware (PlatformIO)
This project is built using PlatformIO which is inside of VS Code instead of the standard Arduino IDE. Here's how to flash the firmware:
1. Clone the Project
git clone https://github.com/NattDocumented/HSOD-Home-Security-Of-DOOM.git2. Open in VS Code
- Launch Visual Studio Code.
- Make sure you have the PlatformIO IDE extension installed; if not, go ahead and install it.
- Click
File>Open Folder...from the top menu, navigate to the folder you just cloned, and click Open. (Make sure you open the root folder containing theplatformio.inifile)
3. Making Voice Unlock Works
-
Login to Wit.ai with your Meta (a.k.a. Facebook) account.
-
If done correctly, it should lead you to the dashboard/apps, if not click this.
-
Click + New App to create a new app (obviously). You can name it whatever you please, but I personally just named it
"hsod". -
Go into your newly created app. You'll see a sidebar. Click on Management, and go to Settings.
-
Copy your Client Access Token and replace these line in the firmware's code.
cpp const char* WIFI_SSID = "YOUR_WIFI_SSID"; // Your WiFi's SSID const char* WIFI_PASS = "YOUR_WIFI_PASSWORD"; // Your WiFi Password here const char* WIT_TOKEN = "YOUR_WIT_AI_TOKEN"; // Your Wit.ai's token here
4. Build and Upload
- Connect a USB-C data cable from your computer into your Arduino Nano ESP32 port.
- Click the PlatformIO Alien Icon on the left menu bar.
- Under the Project Tasks menu, click Build to compile the codebase.
- Once the terminal displays a green
[SUCCESS]message, click Upload right below it to flash the firmware onto your board.
5. Done
As soon as the upload completes, the OLED screen will wake up, and the speaker will play the system startup sound.
[4] : Casing / Enclosure
After finishing the other steps, I think this one is the easiest, so don't be tired yet, lmao.
- Have your 3D printed casing / Enclosure ready: if you haven't done that, go ahead and print it, no rush, because this README.md can't run away from you lmao.
- Assemble: This is easy. There should be 2 parts: the base and the lid. Since there are poles on the base and holes on the PCB for assembly, simply insert the PCB into the enclosure while making sure the USB of the Arduino Nano ESP32 is right where the hole for the USB on the casing is. After, just put the base and lids together while making sure all the components that should be visible are visible. Both the base and the lid have sockets for connecting to each other.
- Done!
You can now enjoy this amazing device. Hope you have a great experience. Any feedback is appreciated.
Gallery
Finished Product Renders

Schematics

PCBs

Casing / Enclosure Design

Parts
40| Qty | Value | Footprint | References |
|---|---|---|---|
| 12 | 1N4148 | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13 |
| 12 | SW_Push | Button_Switch_Keyboard:SW_Cherry_MX_1.00u_PCB | SW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9, SW10, SW11, SW12 |
| 2 | 220 | Resistor_SMD:R_1206_3216Metric | R1, R3 |
| 1 | 1k | Resistor_SMD:R_1206_3216Metric | R2 |
| 1 | Arduino_Nano_ESP32 | Module:Arduino_Nano | A1 |
| 1 | CMS-18138A-SP | CMS-18138A-SP:CUI_CMS-18138A-SP | LS1 |
| 1 | DFR0299 | DFR0299:MODULE_DFR0299 | U3 |
| 1 | DM-OLED096-636 | Oled from idk 001:MODULE_DM-OLED096-636 | U1 |
| 1 | Green LED | LED_SMD:LED_1206_3216Metric | D14 |
| 1 | HLK-LD2410C | HLK-LD2410C:MODULE_HLK-LD2410C | U2 |
| 1 | ICS-43434 | Sensor_Audio:InvenSense_ICS-43434-6_3.5x2.65mm | MK2 |
| 1 | Red LED | LED_SMD:LED_1206_3216Metric | D1 |
The 35 most common of 40 parts.
Similar boards
- 2 layers32 × 100 mm

- 2 layers56.4 × 78.4 mm

- 2 layers55 × 32 mm

HA Sensor Node
AlexD717/HA-Sensor-Node
Sensor node featuring a temperature, humidity, and mmWave sensor
15 parts1 - 2 layers155.1 × 122 mm

KiCad Main
mgiesen/Magic-Tabmount
Der "Magic Tabmount" ist eine smarte Wandhalterung für das iPad (Generation 5 bis 9). Durch ein integriertes Magnetsystem kann das iPad mit einem Handgriff an der Wand befestigt oder wieder entfernt werden.
55 parts1 - 2 layers56 × 75 mm

- 2 layers142.2 × 106.7 mm

SwitchFoil
falue/rebekkaSwitchFoil
This repo is using a HLK-LD2450 microwave human presence sensor and a Sparkfun Thing Plus. This uses Micropython. See below for instructions to set it up.
31 parts - 2 layers

C3 radar r45
haxeko/presence-pcb
Phiên bản Ø45 của cảm biến hiện diện. ESP32-C3 và radar đặt cạnh nhau, không xếp chồng, để tối ưu sóng WiFi và tản nhiệt. Mạch điện giữ nguyên bản Ø30: USB-C chỉ lấy nguồn 5 V, LDO AP2112K-3.3, pad nạp, nút RESET.
30 parts - 2 layers85.3 × 68.8 mm

ATTN unit
vineethjkatti-tech/ATTN_unit
A smart desk companion that tracks your focus using sound, motion, and time. It gives real-time feedback, builds study streaks, and adapts to your habits to help you stay locked in. Stay focused. It’s watching.
4 parts
Questions
How big is the HSOD PCB?
It measures 94.6 × 120.6 mm and has 2 copper layers, 1.6 mm thick.
What parts does the HSOD use?
40 parts, built around the DFR0299, HLK-LD2410C, CMS-18138A-SP and ICS-43434. 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 HSOD KiCad files?
From the NattDocumented/HSOD-Home-Security-Of-DOOM repository on GitHub, at the commit this page was made from: the board is PCB/HSOD.kicad_pcb and its schematic PCB/HSOD.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the HSOD design in my own project?
Its repository states no licence, so its author keeps all rights: ask NattDocumented before reusing the design.