
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 70 × 58 mm with 33 parts on 47 nets, routed with 269 tracks and 28 vias.
It is built around the AVR64DD32-I/PT, SP481ECN and DMG2301L. Its parts include 10 capacitors, 9 connectors, 7 resistors, 3 ICs and 1 transistor. 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 |
|---|---|---|---|
| 6 | 100nF | Capacitor_SMD:C_0805_2012Metric | C3, C5, C6, C7, C8, C9 |
| 3 | 10nF | Capacitor_SMD:C_0805_2012Metric | C2, C4, C10 |
| 3 | R | Resistor_SMD:R_0805_2012Metric | R4, R5, R6 |
| 2 | Conn_02x03_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | J5, J6 |
| 2 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2 |
| 2 | RJ45_Shielded | kiu-footprints:GDLX-S-88K | J7, J8 |
| 2 | SP481E | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U2, U3 |
| 1 | 10R | Resistor_SMD:R_0805_2012Metric | R2 |
| 1 | 10k | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | 1M | Resistor_SMD:R_0805_2012Metric | R7 |
| 1 | 1x02_Jumper | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J9 |
| 1 | 330R | Resistor_SMD:R_0805_2012Metric | R3 |
| 1 | 470uF | Capacitor_SMD:CP_Elec_8x10 | C1 |
| 1 | AVR-UPDI-6 | eAVR:eAVR6-UPDI-F | J1 |
| 1 | AVR64DD32 | Package_QFP:TQFP-32_7x7mm_P0.8mm | U1 |
| 1 | Conn_01x06 | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Vertical | J2 |
| 1 | Conn_01x10 | Connector_IDC:IDC-Header_2x05_P2.54mm_Vertical | J3 |
| 1 | DMG2301L | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | SW_Push | Button_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mm | SW1 |
| 1 | Screw_Terminal_01x03 | TerminalBlock_RND:TerminalBlock_RND_205-00233_1x03_P5.08mm_Horizontal | J4 |

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




zeeblaze/Melodio-SelfMate
Your Ultimate Portable Music Companion For Home Automation.

PocketConcepts/Pocket_PSU
A variable current & voltage PSU with 3S lipo charging, balancing, and protection circuit using PPS.
It measures 70 × 58 mm and has 2 copper layers, 1.6 mm thick.
33 parts, built around the AVR64DD32-I/PT, SP481ECN 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 superseded/kha-nodes/kha-led-ikea-node-reva/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.