Skip to the content
2 layers119 × 79 mmHome Ambient, the printed circuit board in 3D

2-wire home thermostat with temperature, humidity, pressure and air quality measures.

Size
119 × 79 mm
Copper layers
2
Thickness
1.6 mm
Parts
62
Nets
39
Pads
187
Tracks, vias
310, 127
Pours
12
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
13 Sep 2024
Updated
6 Sep 2026

Overview

Home Ambient is an open-source printed circuit board by abrahanlp, from the abrahanlp/Home-Ambient repository on GitHub, published under the AGPL-3.0 licence. It is a 2-layer board of 119 × 79 mm with 62 parts on 39 nets, routed with 310 tracks and 127 vias.

It is built around the LMR62421XMF, STC4054GR and SL12, with the DMP31D1U-7 and SSF2320Y among its other parts. Its parts include 19 capacitors, 13 resistors, 6 connectors, 3 ICs and 3 diodes. It belongs with the home automation and IoT boards of this library.

Main components

5

README

README.md

Home-Ambient

2-wire smart home thermostat with temperature, humidity, pressure and air quality measurements.

The main target is replace traditional tow wires bimetal thermostats with an intelligent one, cable to integrate with HomeAssistance or works standalone with custom firmware.

2-wire classical thermostat replacement

Classic two wire thermostat

Working principle

Images below explain graphically how this system works.

Home-Ambient principle when load is off Home-Ambient principle when load is oon

The main and mandatory system requirement is a big difference between Control an Load level power. While load is some orders of magnitud above, there should not be problem, but is mandatory review every case.

Product Requirements

RequirementDescriptionDefinition
TemperatureTemperature measurement, with minimal interference from the device.±2°C
HumidityHumidity measurement from ambient±5%
Air qualityAir quality estimation by particle detectionNot defined, optional
Switch2 pole switch>=10A
Switch feedbackSwitch feedback to check operationDigital or analog
HAHome Assistance integrationMandatory
DisplayOptional e-Ink displayNo power relevant
AutonomyCapable to operate without powerAt least 2h

Hardware architecture

Home-Ambient block diagram is show on image below.

Home-Ambient diagram block

The PCB hardware distribution is proposed on next image.

Home-Ambient PCB

Power supply, SEPIC converter

Energy when the load is activated is provided by a battery. The voltage from this power source varies from above and below 3,3V, so it is neccesary 'boost' and 'buck' converter. Here is where the SEPIC converter comes to action, capable of manage both situations at the same time.

SEPIC converter schematic

CPU

The easiest way to integrate custom electronics on HomeAssistant are the ESPHome devices. This smart thermostat will be designed around classical ESP32-C3.

Sensors and actuators

The BME680 air quality sensor covers all requirements. More info about this component can be found on Bosch official website.

BME680

Home Assistant integration

As said before, integration is done by ESPHome, there is no easier way to do this.

Home-Ambient integration on Home Assistant

After integration on Home-Assistant, a schedule programmer is implemented using the Niels Faber tools.

Niels Faber scheduler programmer

More info on FaultyProject

If you are interested how this project was developed take a look on the next links:

  1. Introduction
  2. Prototype
  3. Schematichs & PCB Design
  4. Home Assistant Integration
  5. Case design (Future work... )

Parts

62
QtyValueFootprintReferences
7100uCapacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolderC3, C6, C7, C9, C10, C13, C16
710nCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC4, C5, C11, C14, C15, C17, C19
7~TestPoint:TestPoint_Pad_2.0x2.0mmTP1, TP2, TP3, TP4, TP5, TP6, TP7
3100nCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1, C2, C8
3Conn_01x15Connector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_VerticalJ4, J5, J6
3SL12Diode_SMD:D_SMA_HandsolderingD1, D2, D3
20RResistor_SMD:R_1812_4532Metric_Pad1.30x3.40mm_HandSolderR1, R2
2100kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4, R11
2147kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR7, R8
21RResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR5, R13
2MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2
2MountingHole_PadMountingHole:MountingHole_3.2mm_M3_Pad_TopBottomH3, H4
110k2Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR10
116k5Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR9
120kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3
12AHA_Library:0697H____F1
12k7Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6
12n2Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC18
13M48Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR15
150nCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC12
151uHHA_Library:Murata_5000AL1
1Conn_01x06Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ2
1Conn_02x05_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalJ1
1DMP31D1U-7Package_TO_SOT_SMD:SOT-23_HandsolderingQ2
1LMR62421XMFPackage_TO_SOT_SMD:SOT-23-5_HandSolderingU2
1Li-ionConnector_Molex:Molex_SL_171971-0002_1x02_P2.54mm_VerticalBT1
1MCP65R46T-12Package_TO_SOT_SMD:SOT-23-6_HandsolderingU3
1RAC02E-xxSKHA_Library:RAC02E-KPS1
1Relay_SPDTHA_Library:J1071CS3VDC36K1
1SSF2320YPackage_TO_SOT_SMD:SOT-23_HandsolderingQ1
1STC4054Package_TO_SOT_SMD:TSOT-23-5_HandSolderingU1
1Screw_Terminal_01x04TerminalBlock:TerminalBlock_Altech_AK300-4_P5.00mmJ3

Similar boards

  • 6 layers50 × 50 mmSmartDimmer, the printed circuit board in 3D

    SmartDimmer

    Alex3404/Wakeup-Light-Dimmer

    AC Dimming using an ESP32 with async Rust

    69 parts
  • 2 layers84.2 × 52 mmPicoPico, the printed circuit board in 3D

    PicoPico

    DavidVentura/PicoPico

    Pico-8 Player

    57 parts141
  • 2 layers37 × 23.5 mmSmartWatch, the printed circuit board in 3D

    SmartWatch

    Sl-Alex/SmartWatch

    SmartWatch with BLE (open-source SW and HW)

    66 parts1GPL-3.0
  • 4 layers100 × 120 mmNeoPod, the printed circuit board in 3D

    NeoPod

    lsyzg/NeoPod

    A modernized 'ipod' with bluetooth capabilities

    62 parts
  • 2 layers36 × 21 mmFloodGuard, the printed circuit board in 3D

    FloodGuard

    Sl-Alex/FloodGuard

    Autonomous flood protection system

    77 partsGPL-3.0
  • 4 layers52 × 42 mmHa coap pcb, the printed circuit board in 3D

    Ha coap pcb

    yanntalhouarne/ha-coap-pcb

    104 parts
  • 4 layers40.8 × 40.8 mmACwing ESC1S A, the printed circuit board in 3D

    ACwing ESC1S A

    ACwing-UAV/ACwing_HW

    ACwing is a modular set of PCBs for small multirotors.

    51 parts

Questions

How big is the Home Ambient PCB?

It measures 119 × 79 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Home Ambient use?

62 parts, built around the LMR62421XMF, STC4054GR, SL12 and DMP31D1U-7. 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 Home Ambient KiCad files?

From the abrahanlp/Home-Ambient repository on GitHub, at the commit this page was made from: the board is Hardware/Home-Ambient.kicad_pcb and its schematic Hardware/Home-Ambient.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Home Ambient design in my own project?

Its repository publishes it under the AGPL-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).