
Chytre svetlo
cryptonhd2004/bap-smart_home_thread_esp
Prvky chytré domácnosti s ESP32 používající protokol Thread

Prvky chytré domácnosti s ESP32 používající protokol Thread
Chytre Tlacitko BMS is an open-source printed circuit board by cryptonhd2004, from the cryptonhd2004/bap-smart_home_thread_esp repository on GitHub. It is a 2-layer board of 42 × 47 mm with 21 parts on 18 nets, routed with 53 tracks and 32 vias.
It is built around the BSS138. Its parts include 7 resistors, 3 capacitors, 2 connectors, 2 switches and 1 IC. It belongs with the power boards and the ESP32 and RISC-V boards of this library.
Smart home components based on ESP32 using the Thread protocol
Bakalářská práce, VUT v Brně, FEKT, Ústav telekomunikací, 2026/2027.
| Zařízení | Schéma zapojení | Osazovací výkres DPS | Další |
|---|---|---|---|
| Čidlo teploty | projekt KiCad | ||
| Chytré světlo | projekt KiCad | ||
| Bateriový vypínač | projekt KiCad |
Návrh a realizace tří zařízení chytré domácnosti, která komunikují protokolem Matter přes síť Thread (IEEE 802.15.4) a jsou integrována do Home Assistant:
| Zařízení | Napájení | Poznámka |
|---|---|---|
| Čidlo teploty | ze sítě | měření teploty, výběr čidla na základě porovnání |
| Chytré světlo | ze sítě | Router v síti Thread, RGB LED WS2812B (Matter light endpoint) |
| Bateriový vypínač | baterie | ošetření zákmitů, nízká spotřeba |
Všechna zařízení jsou postavena na čipu Espressif ESP32-C6 (modul Seeed Studio XIAO ESP32-C6).
| Složka / soubor | Obsah |
|---|---|
bap_text/ | text práce (LaTeX, šablona VUT) |
chytre_svetlo/ | KiCad: chytré světlo (schéma, DPS, PDF schématu a osazení) |
Chytre_Tlacitko_BMS/ | KiCad: bateriový vypínač (schéma, DPS, PDF, iBOM) |
esp_thread/ | KiCad: chytrý teploměr (schéma, DPS, PDF, výrobní soubory v production/) |
test_builds/ | testovací firmware: c6-matter-teplomer-firmware.factory.bin, konfigurace test-teplomer.yaml a tlacitko-thread.yaml |
logs_for_debuging/ | logy z ladění, data a skripty porovnání čidel (output/ – grafy) |
github_qr.* | QR kód repozitáře pro osazení na DPS |
| Část | Stav |
|---|---|
| Teoretický úvod (IEEE 802.15.4, CSA) | hotovo |
| Porovnání čidel teploty a vlhkosti | hotovo |
| Schéma a DPS – teploměr, světlo, vypínač | hotovo, připraveno k odsouhlasení |
| Firmware | testovací buildy (teploměr, tlačítko), RGB světlo rozpracováno |
| Text práce | rozpracováno (výsledky, návrh schémat) |
Referenční čidlo je SHT40 (jen klidné minuty). Rozdíl je počítán jako čidlo minus SHT40.
Teplota (n = 3292)
| Čidlo | střední rozdíl [°C] | s_d [°C] | RMSE [°C] | podíl |d| ≤ 0,7 °C |
|---|---|---|---|---|
| ALPSTUGA (SEN63C) | 0,19 | 0,18 | 0,26 | 100,0 % |
| BMP180 | −0,74 | 0,02 | 0,74 | 8,3 % |
| DHT11 | 0,00 | 0,04 | 0,04 | 100,0 % |
| TIMMERFLOTTE | −0,52 | 0,07 | 0,53 | 99,4 % |
Vlhkost (n = 2882)
| Čidlo | střední rozdíl [%RH] | s_d [%RH] | RMSE [%RH] | podíl |d| ≤ 3,0 %RH |
|---|---|---|---|---|
| ALPSTUGA (SEN63C) | −8,86 | 0,69 | 8,89 | 0,0 % |
| DHT11 | −1,70 | 0,94 | 1,94 | 99,9 % |
| TIMMERFLOTTE | −6,21 | 0,87 | 6,27 | 0,0 % |
Hlavní soubor je bap_text/sablona-prace.tex. Překlad: pdfLaTeX dvakrát.
Seznam literatury je psán ručně v bap_text/text/literatura.tex.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole_Pad | MountingHole:MountingHole_2.5mm_Pad | H1, H2, H3, H4 |
| 3 | 100nF | Capacitor_SMD:C_0805_2012Metric | C1, C2, C3 |
| 2 | 100k pull-down | Resistor_SMD:R_0805_2012Metric | R4, R6 |
| 2 | 1M (1%) | Resistor_SMD:R_0805_2012Metric | R1, R2 |
| 2 | 1k | Resistor_SMD:R_0805_2012Metric | R5, R7 |
| 2 | SW_SPST | Button_Switch_THT:SW_PUSH-12mm_Wuerth-430476085716 | SW1, SW2 |
| 1 | 100k (gate pull-down) | Resistor_SMD:R_0805_2012Metric | R3 |
| 1 | BSS138 | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | JST PH 2 pin - baterie | Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical | J1 |
| 1 | K padum BAT+/BAT- XIAO | Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical | J2 |
| 1 | SolderJumper (zavreny) | Jumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm | JP1 |
| 1 | XIAO_ESP32C6 | Xiao ESP32-C6:MODULE_113991254 | U1 |

cryptonhd2004/bap-smart_home_thread_esp
Prvky chytré domácnosti s ESP32 používající protokol Thread

cryptonhd2004/bap-smart_home_thread_esp
Prvky chytré domácnosti s ESP32 používající protokol Thread

StuckAtPrototype/Racer
These are structured into their own files. I could have used submodules, but decided against it.

willem-pennings/balancing-cube
A cube that balances itself in a corner or edge using reaction wheels

abhishek-kakkar/BeagleLogic
A Software Suite that implements a logic analyzer with the PRU on the BeagleBone / BeagleBone Black.


lachlanA/eagle-to-kicad
Eagle SCH/LIB to KiCad SCH/LIB ULP conversion script

No0ne/ps2x2pico
USB keyboard/mouse to PS/2 interface converter using a Raspberry Pi Pico

StuckAtPrototype/AirCube
Works standalone out of the box. Pairs with Home Assistant in minutes. Other platforms are supported through community-contributed extensions.

It measures 42 × 47 mm and has 2 copper layers, 1.6 mm thick.
21 parts, built around the BSS138. 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 cryptonhd2004/bap-smart_home_thread_esp repository on GitHub, at the commit this page was made from: the board is Chytre_Tlacitko_BMS/Chytre_Tlacitko_BMS.kicad_pcb and its schematic Chytre_Tlacitko_BMS/Chytre_Tlacitko_BMS.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 cryptonhd2004 before reusing the design.