

Home Ambient
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
5LMR62421XMF
SOT-23-5-40℃~+125℃@(TJ) 1 1.6MHz 2.1A 2.7V~24V 2.7V~5.5V 7mA Adjustable Boost Boost Built-in No SOT-23-5 DC-DC Converters ROHSTexas InstrumentsDC-DC ConvertersSTC4054GR
TSOT-23-5-40℃~+85℃ 1 25uA 4.25V~6.5V 4.2V 800mA Charging IC Lithium Battery TSOT-23-5 Battery Management ROHSSTMicroelectronicsBattery ManagementSL12
SOT-23-3-55℃~+150℃ 1 12A 12V 13.3V 1uA 24V 3.5pF 300W ESD IEC 61000-4-2、IEC 61000-4-5、IEC 61000-4-4 SOT-23-3 ESD and Surge Protection (TVS/ESD) ROHSonsemiESD And Surge Protection (TVS/ESD)DMP31D1U-7
SOT-23UncategorisedDiodes IncorporatedSSF2320Y
SOT-523MOSFETsSuzhou Good-Ark Elec
README
README.mdHome-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

Working principle
Images below explain graphically how this system works.

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
| Requirement | Description | Definition |
|---|---|---|
| Temperature | Temperature measurement, with minimal interference from the device. | ±2°C |
| Humidity | Humidity measurement from ambient | ±5% |
| Air quality | Air quality estimation by particle detection | Not defined, optional |
| Switch | 2 pole switch | >=10A |
| Switch feedback | Switch feedback to check operation | Digital or analog |
| HA | Home Assistance integration | Mandatory |
| Display | Optional e-Ink display | No power relevant |
| Autonomy | Capable to operate without power | At least 2h |
Hardware architecture
Home-Ambient block diagram is show on image below.

The PCB hardware distribution is proposed on next image.

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.

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.

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

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

More info on FaultyProject
If you are interested how this project was developed take a look on the next links:
- Introduction
- Prototype
- Schematichs & PCB Design
- Home Assistant Integration
- Case design (Future work... )
Parts
62| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | 100u | Capacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolder | C3, C6, C7, C9, C10, C13, C16 |
| 7 | 10n | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C4, C5, C11, C14, C15, C17, C19 |
| 7 | ~ | TestPoint:TestPoint_Pad_2.0x2.0mm | TP1, TP2, TP3, TP4, TP5, TP6, TP7 |
| 3 | 100n | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C1, C2, C8 |
| 3 | Conn_01x15 | Connector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_Vertical | J4, J5, J6 |
| 3 | SL12 | Diode_SMD:D_SMA_Handsoldering | D1, D2, D3 |
| 2 | 0R | Resistor_SMD:R_1812_4532Metric_Pad1.30x3.40mm_HandSolder | R1, R2 |
| 2 | 100k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4, R11 |
| 2 | 147k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R7, R8 |
| 2 | 1R | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R5, R13 |
| 2 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2 |
| 2 | MountingHole_Pad | MountingHole:MountingHole_3.2mm_M3_Pad_TopBottom | H3, H4 |
| 1 | 10k2 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R10 |
| 1 | 16k5 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R9 |
| 1 | 20k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R3 |
| 1 | 2A | HA_Library:0697H____ | F1 |
| 1 | 2k7 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R6 |
| 1 | 2n2 | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C18 |
| 1 | 3M48 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R15 |
| 1 | 50n | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C12 |
| 1 | 51uH | HA_Library:Murata_5000A | L1 |
| 1 | Conn_01x06 | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J2 |
| 1 | Conn_02x05_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical | J1 |
| 1 | DMP31D1U-7 | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q2 |
| 1 | LMR62421XMF | Package_TO_SOT_SMD:SOT-23-5_HandSoldering | U2 |
| 1 | Li-ion | Connector_Molex:Molex_SL_171971-0002_1x02_P2.54mm_Vertical | BT1 |
| 1 | MCP65R46T-12 | Package_TO_SOT_SMD:SOT-23-6_Handsoldering | U3 |
| 1 | RAC02E-xxSK | HA_Library:RAC02E-K | PS1 |
| 1 | Relay_SPDT | HA_Library:J1071CS3VDC36 | K1 |
| 1 | SSF2320Y | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q1 |
| 1 | STC4054 | Package_TO_SOT_SMD:TSOT-23-5_HandSoldering | U1 |
| 1 | Screw_Terminal_01x04 | TerminalBlock:TerminalBlock_Altech_AK300-4_P5.00mm | J3 |
Similar boards
- 6 layers50 × 50 mm

- 2 layers84.2 × 52 mm

- 2 layers37 × 23.5 mm

- 4 layers100 × 120 mm

- 2 layers140 × 43.8 mm

- 2 layers36 × 21 mm

- 4 layers52 × 42 mm

- 4 layers40.8 × 40.8 mm

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).