
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 led ikea node is an open-source printed circuit board by kiu, from the kiu/kha repository on GitHub. It is a 2-layer board of 50 × 50 mm with 30 parts on 42 nets, routed with 213 tracks and 25 vias.
It is built around the AVR64DD32-I/PT, SP481ECN and AP63205WU, with the DMG2301L and MMBT3904 among its other parts. Its parts include 10 capacitors, 5 resistors, 5 connectors, 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 |
|---|---|---|---|
| 5 | 100nF | Capacitor_SMD:C_0805_2012Metric | C2, C3, C5, C6, C7 |
| 2 | 10k | Resistor_SMD:R_0805_2012Metric | R1, R2 |
| 2 | 10nF | Capacitor_SMD:C_0805_2012Metric | C1, C4 |
| 2 | 680R DNP | Resistor_SMD:R_0805_2012Metric | R3, R5 |
| 2 | MountingHole | MountingHole:MountingHole_3.2mm_M3_DIN965 | H1, H2 |
| 2 | RJ45_Shielded | kiu:GDLX-S-88K | J4, J5 |
| 2 | SP481E | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U2, U3 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric | C8 |
| 1 | 120R | Resistor_SMD:R_0805_2012Metric | R4 |
| 1 | 220uF | Capacitor_Tantalum_SMD:CP_EIA-6032-28_Kemet-C | C10 |
| 1 | 4.7uH | Inductor_SMD:L_1210_3225Metric | L1 |
| 1 | 47uF | Capacitor_SMD:C_1210_3225Metric | C9 |
| 1 | AP63205WU | Package_TO_SOT_SMD:TSOT-23-6 | U4 |
| 1 | AVR-UPDI-6 | kiu-eAVR:eAVR6-UPDI-F | J3 |
| 1 | AVR64DD32 | Package_QFP:TQFP-32_7x7mm_P0.8mm | U1 |
| 1 | Conn_01x10 | Connector_IDC:IDC-Header_2x05_P2.54mm_Vertical | J2 |
| 1 | DMG2301L | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | MMBT3904 | Package_TO_SOT_SMD:SOT-23 | Q2 |
| 1 | Polyfuse | Fuse:Fuse_0805_2012Metric | F1 |
| 1 | Screw_Terminal_01x02 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J1 |

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


PocketConcepts/Pocket_PSU
A variable current & voltage PSU with 3S lipo charging, balancing, and protection circuit using PPS.

faludi/stillness-detector
The Stillness Detector senses presence and motion to determine if there is a person standing in front of it and whether that person is currently standing still.

TobleMiner/catear-pcb
This repo contains the PCB for the Nekomimi project of @BenBE . It will be used to illuminate 3D printed catears.

It measures 50 × 50 mm and has 2 copper layers, 1.6 mm thick.
30 parts, built around the AVR64DD32-I/PT, SP481ECN, AP63205WU and DMG2301L. 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-led-ikea/kha-led-ikea-node/kicad/kha-led-ikea-node.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.