
LM80C R6
leomil72/LM80C
A Z80-based homebrew computer withTMS9918, AY-3-8910, Z80 CTC, Z80 PIO, and Z80 SIO

This is the sourcecode and plans for my home automation system.
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.
This is the sourcecode and plans for my home automation system.
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.sudo rpi-imager: Enable SSH, set hostname, username, password# 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-mqttgit 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 prerequisites
. ~/.venv/bin/activate
pip install pyserial paho-mqtt
cd ~/homecontrol/pixtend
sudo cp pixcontrol.service /etc/systemd/system/
sudo systemctl enable pixcontrolThis 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/.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 10 | 100k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical | R10, R13, R15, R17, R20, R23, R24, R29, R31, R33 |
| 8 | 22 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical | R1, R3, R4, R5, R6, R7, R9, R11 |
| 8 | 27k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical | R8, R12, R14, R16, R18, R22, R26, R30 |
| 8 | 4V7 | Diode_THT:D_DO-35_SOD27_P2.54mm_Vertical_KathodeUp | D2, D3, D4, D5, D6, D8, D10, D13 |
| 5 | 2.2µ | Capacitor_THT:C_Rect_L4.6mm_W3.0mm_P2.50mm_MKS02_FKP02 | C5, C6, C7, C8, C9 |
| 4 | Screw_Terminal_01x09 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-9-5.08_1x09_P5.08mm_Horizontal | J1, J2, J3, J4 |
| 3 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical | R2, R21, R28 |
| 2 | 0.1µ | Capacitor_THT:C_Rect_L7.0mm_W2.5mm_P5.00mm | C1, C4 |
| 2 | 100 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R25, R32 |
| 2 | 100n | Capacitor_THT:C_Rect_L19.0mm_W6.0mm_P15.00mm_MKS4 | C10, C12 |
| 2 | 1N4007 | Diode_THT:D_DO-201AD_P3.81mm_Vertical_KathodeUp | D7, D11 |
| 2 | 220µ | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C11, C13 |
| 2 | 470k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R19, R27 |
| 2 | 5V1 | Diode_THT:D_DO-35_SOD27_P2.54mm_Vertical_KathodeUp | D9, D12 |
| 2 | A817 | Package_DIP:DIP-4_W7.62mm | U5, U6 |
| 1 | 0.33µ | Capacitor_THT:C_Disc_D4.7mm_W2.5mm_P5.00mm | C2 |
| 1 | 1N4007 | Diode_THT:D_DO-35_SOD27_P2.54mm_Vertical_KathodeUp | D1 |
| 1 | 2.2µ | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C3 |
| 1 | ATmega48P-20PU | Package_DIP:DIP-28_W7.62mm_Socket | U1 |
| 1 | AVR-ISP-10 | Connector_IDC:IDC-Header_2x05_P2.54mm_Vertical | J5 |
| 1 | Fuse | Fuse:Fuseholder_Cylinder-5x20mm_Schurter_0031_8201_Horizontal_Open | F1 |
| 1 | Heatsink_Pad | Custom_Library:Heatsink_Aavid_TO-220_H12.7mm | HS1 |
| 1 | L7805ABP | Package_TO_SOT_THT:TO-220-3_Vertical | U2 |
| 1 | MAX232EEPE+ | Package_DIP:DIP-16_W7.62mm_Socket | U4 |
| 1 | ULN2803A | Package_DIP:DIP-18_W7.62mm_Socket | U3 |
It measures 102.8 × 86.5 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
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).

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

OverInvented/Flippy
The code needed to build a mechanical 7-segment display that uses electromagnets to display characters


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.



