
Kha bgt extend
kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control

Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control
Kha remote is an open-source printed circuit board by kiu, from the kiu/kha repository on GitHub. It is a 2-layer board of 50 × 53 mm with 29 parts on 42 nets, routed with 205 tracks and 24 vias.
It is built around the AVR64DD32-I/PT, AP63205WU and SP481ECN, with the MIC5504-3.3YM5 and DMG2301L among its other parts. Its parts include 10 capacitors, 5 connectors, 4 resistors, 4 ICs and 2 transistors. It belongs with the interfaces and adapters boards of this library.
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Control
Hint: "bgt" is German for Baugruppenträger translating to subrack assembly
RS-485 at 500 kbaud (8N1), half duplex, every node may send. Commands, addresses and registers are listed in kha-protocol.ods.
0x42 0x99 <len> <from> <to> <cmd> <payload ...> <crc>0x42 0x99 starts a frame. Inside a frame every 0x42 is followed by an extra 0x66, so 0x42 0x99 is
always a start. The escape bytes are not counted and not part of the CRC.len counts len, from, to, cmd, payload and crc: 5 + payload, payload up to 67 bytes.len to the last byte before the CRC.kha-web shows the state of every node on a static web page: missing nodes, error counters, days since the last reboot, and whether nodes of the same board type run the same firmware. A collector follows the gateway's log passively, keeps the state in SQLite and exports a JSON file for the page. Screenshot with mock data:
Two hour deep dive lecture style video on youtube: https://youtu.be/BUSnTUGKZzc
This project is licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0) license.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | R | Resistor_SMD:R_0805_2012Metric | R1, R2, R3, R4 |
| 3 | 100nF | Capacitor_SMD:C_0805_2012Metric | C2, C3, C5 |
| 2 | 1uF | Capacitor_SMD:C_0805_2012Metric | C9, C10 |
| 2 | DMG2301L | Package_TO_SOT_SMD:SOT-23 | Q1, Q2 |
| 2 | MountingHole | MountingHole:MountingHole_3.2mm_M3_DIN965 | H1, H2 |
| 2 | RJ45_Shielded | kiu-footprints:GDLX-S-88K | J4, J5 |
| 1 | 10nF | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric | C6 |
| 1 | 220uF | Capacitor_Tantalum_SMD:CP_EIA-6032-28_Kemet-C | C8 |
| 1 | 4.7uH | Inductor_SMD:L_1210_3225Metric | L1 |
| 1 | 470uF | Capacitor_SMD:CP_Elec_6.3x7.7 | C4 |
| 1 | 47uF | Capacitor_SMD:C_1210_3225Metric | C7 |
| 1 | AP63205WU | Package_TO_SOT_SMD:TSOT-23-6 | U3 |
| 1 | AVR-UPDI-6 | eAVR:eAVR6-UPDI-F | J3 |
| 1 | AVR64DD32 | Package_QFP:TQFP-32_7x7mm_P0.8mm | U1 |
| 1 | Conn_01x03 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3-5.08_1x03_P5.08mm_Horizontal | J1 |
| 1 | Conn_01x04 | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | J2 |
| 1 | MIC5504-3.3YM5 | Package_TO_SOT_SMD:SOT-23-5 | U4 |
| 1 | Polyfuse | Fuse:Fuse_0805_2012Metric | F1 |
| 1 | SP481E | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U2 |

kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control

kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control

kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control

kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control

kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control

kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control

kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control

kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control

kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control

kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control

kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control

kiu/kha
Overengineered Modular RS-485 Multi-Master 19" Subrack Home Automation / Control



swharden/PressureSensor
Minimal complexity standalone digital pressure sensor



RoanB14/Underwater-ROV
Designed a custom STM32-based tethered ROV control system with a KiCad PCB integrating power regulation, motor driver interfaces, and an MPU-6050 IMU.


It measures 50 × 53 mm and has 2 copper layers, 1.6 mm thick.
29 parts, built around the AVR64DD32-I/PT, AP63205WU, SP481ECN and MIC5504-3.3YM5. 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 kiu/kha repository on GitHub, at the commit this page was made from: the board is kha-nodes/kha-remote/kicad/kha-remote.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask kiu before reusing the design.