Skip to the content
PCBKitNew board
2 layers102.8 × 86.5 mmHomecontrol, the printed circuit board in 3D

This is the sourcecode and plans for my home automation system.

Size
102.8 × 86.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
72
Nets
82
Pads
241
Tracks, vias
294, 26
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
10 Oct 2018
Updated
19 Apr 2026

Overview

Homecontrol is an open-source printed circuit board by stefanhepp, from the stefanhepp/homecontrol repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 102.8 × 86.5 mm with 72 parts on 82 nets, routed with 294 tracks and 26 vias.

It is built around the ATMEGA48P-20PU, MAX232EEPE+ and L7805ABP, with the ULN2803A among its other parts. Its parts include 33 resistors, 13 capacitors, 13 diodes, 6 ICs and 5 connectors. It belongs with the home automation and IoT boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

4

README

README.md

HomeControl

This is the sourcecode and plans for my home automation system.

Content

  • homecontrol: Sources and schematics for a simple AtMega based home automation controller with 8 24VDC digital inputs, 8 24VDC digital outputs (open collector), RS232 and 2 230VAC sense inputs.
  • pixtend: Sources for the main controller, based on an PiXtend v2-S with Raspberry 3B, written in Python. Connects via RS232 and MQTT to the network.

Installation Pixtend OS

  • Install Raspbian OS (64bit)
    • sudo rpi-imager: Enable SSH, set hostname, username, password
  • Setup Rasbian, install software
    text
    # Enable SPI, UART, console bootup, set locale
    sudo raspi-config
    sudo apt install vim screen git gpiod libgpiod-dev python3-dev python3-pip python3-paho-mqtt
  • Install Pixtend Python library
    text
    git clone https://git.kontron-electronics.de/sw/ked/raspberry-pi/pixtend-v2/pplv2.git
    cd pplv2
    git checkout 0.1.6-dev
    python setup.py bdist_wheel
    # Install into venv
    python -m venv ~/.venv
    source ~/.venv/bin/activate
    pip install dist/pixtendlibv2-0.1.6-py3-none-any.whl
  • Install pixcontrol script
    text
    # Install prerequisites
    . ~/.venv/bin/activate
    pip install pyserial paho-mqtt
    cd ~/homecontrol/pixtend
    sudo cp pixcontrol.service /etc/systemd/system/
    sudo systemctl enable pixcontrol

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Parts

72
QtyValueFootprintReferences
10100kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR10, R13, R15, R17, R20, R23, R24, R29, R31, R33
822Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR1, R3, R4, R5, R6, R7, R9, R11
827kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR8, R12, R14, R16, R18, R22, R26, R30
84V7Diode_THT:D_DO-35_SOD27_P2.54mm_Vertical_KathodeUpD2, D3, D4, D5, D6, D8, D10, D13
52.2µCapacitor_THT:C_Rect_L4.6mm_W3.0mm_P2.50mm_MKS02_FKP02C5, C6, C7, C8, C9
4Screw_Terminal_01x09TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-9-5.08_1x09_P5.08mm_HorizontalJ1, J2, J3, J4
31kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR2, R21, R28
20.1µCapacitor_THT:C_Rect_L7.0mm_W2.5mm_P5.00mmC1, C4
2100Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR25, R32
2100nCapacitor_THT:C_Rect_L19.0mm_W6.0mm_P15.00mm_MKS4C10, C12
21N4007Diode_THT:D_DO-201AD_P3.81mm_Vertical_KathodeUpD7, D11
2220µCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC11, C13
2470kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR19, R27
25V1Diode_THT:D_DO-35_SOD27_P2.54mm_Vertical_KathodeUpD9, D12
2A817Package_DIP:DIP-4_W7.62mmU5, U6
10.33µCapacitor_THT:C_Disc_D4.7mm_W2.5mm_P5.00mmC2
11N4007Diode_THT:D_DO-35_SOD27_P2.54mm_Vertical_KathodeUpD1
12.2µCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC3
1ATmega48P-20PUPackage_DIP:DIP-28_W7.62mm_SocketU1
1AVR-ISP-10Connector_IDC:IDC-Header_2x05_P2.54mm_VerticalJ5
1FuseFuse:Fuseholder_Cylinder-5x20mm_Schurter_0031_8201_Horizontal_OpenF1
1Heatsink_PadCustom_Library:Heatsink_Aavid_TO-220_H12.7mmHS1
1L7805ABPPackage_TO_SOT_THT:TO-220-3_VerticalU2
1MAX232EEPE+Package_DIP:DIP-16_W7.62mm_SocketU4
1ULN2803APackage_DIP:DIP-18_W7.62mm_SocketU3

Questions

How big is the Homecontrol PCB?

It measures 102.8 × 86.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Homecontrol use?

72 parts, built around the ATMEGA48P-20PU, MAX232EEPE+, L7805ABP and ULN2803A. 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 Homecontrol KiCad files?

From the stefanhepp/homecontrol repository on GitHub, at the commit this page was made from: the board is kicad/homecontrol/homecontrol.kicad_pcb and its schematic kicad/homecontrol/homecontrol.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Homecontrol design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layersLM80C R6, the printed circuit board in 3D

    LM80C R6

    leomil72/LM80C

    A Z80-based homebrew computer withTMS9918, AY-3-8910, Z80 CTC, Z80 PIO, and Z80 SIO

    153 parts123GPL-3.0
  • 2 layers128.6 × 81 mmAfterglow, the printed circuit board in 3D

    Afterglow

    bitfieldlabs/afterglow

    Pinball retro afterglow

    203 parts32
  • 4 layers132 × 84.5 mmHamodule, the printed circuit board in 3D

    Hamodule

    crgarcia12/electronics-homeassistant-lightscontroll

    A smart lighting controller PCB that integrates seamlessly with ESPHome and Home Assistant while maintaining full compatibility with traditional mechanical switches.

    207 parts28
  • 2 layers73 × 113 mmFT817 buddy v4, the printed circuit board in 3D

    FT817 buddy v4

    g7uhn/ft817_buddy

    A companion display & controls for the FT-817

    76 parts28CC-BY-SA-4.0
  • 2 layers28 × 36 mmBlisplay driver, the printed circuit board in 3D

    Blisplay driver

    hzeller/blisplay

    A tactile display for the blind.

    17 parts21
  • 4 layers159 × 130 mmRC11, the printed circuit board in 3D

    RC11

    AgOpenGPS-Official/Rate_Control

    106 parts20GPL-3.0