# Thermostat Main Module
## Description
ESP8684H4 based thermostat module which will control the heater. The module will have 18650 Li-Ion battery cell with 3.7V nominal voltage. The module also has a switch-mode buck NVDC power path which can simultaneously charge the battery and provide power to the system. The system voltage is 3.3V. Input voltage is 5V from USB-C. The system also contains a temperature, humidity and pressure sensor. The Wi-Fi and Bluetooth antenna implemented by PCB tracks.
## Project Details
- **Owner:** skriba91
- **Created:** 11/23/2024
- **Last Updated:** 11/24/2024
- **Visibility:** Public
- **System voltage:** 3.3V
- **Power Input:** 5V
- **Battery nominal voltage:** 3.7V
- **Antenna type:** PCB antenna
- **Internal DC-DC regulator:** TPS62172
## Key Components
### ANT1 — [PCB Antenna](https://www.flux.ai/collinsemasi/pcb-antenna~k5.md)
- Part Type: Antenna
- License: https://creativecommons.org/licenses/by/4.0/
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
### U1 — [TPS62172QDSGRQ1](https://www.flux.ai/lcsc/tps62172qdsgrq1~slg2.md)
- Package or Case Code: WSON-8_L2.0-W2.0-P0.50-TL-EP
- Manufacturer Part Number: TPS62172QDSGRQ1
- JLCPCB Part Class: Extended Part
- Manufacturer Name: TI(德州仪器)
- LCSC Part Number: C2650337
- Part Type: DC-DC Converters
**Pins:**
- AGND [pin 4]
- EN [pin 3]
- EP [pin 9]
- FB [pin 5]
- PG [pin 8]
- PGND [pin 1]
- SW [pin 7]
- VIN [pin 2]
- VOS [pin 6]
### U3 — [ESP8684H2](https://www.flux.ai/lcsc/esp8684h2~uts1.md)
- Manufacturer Name: ESPRESSIF(乐鑫)
- JLCPCB Part Class: Extended Part
- Part Type: RF Transceiver ICs
- LCSC Part Number: C2922574
- Manufacturer Part Number: ESP8684H2
- Package or Case Code: VQFN-24_L4.0-W4.0-P0.50-BL-EP2.8
**Pins:**
- ANT [pin 1]
- CHIP_EN [pin 7]
- EP [pin 25]
- GPIO0 [pin 4]
- GPIO1 [pin 5]
- GPIO10 [pin 16]
- GPIO18 [pin 18]
- GPIO2 [pin 6]
- GPIO3 [pin 8]
- GPIO8 [pin 14]
- GPIO9 [pin 15]
- MTCK [pin 12]
- MTDI [pin 10]
- MTDO [pin 13]
- MTMS [pin 9]
- U0RXD [pin 19]
- U0TXD [pin 20]
- VDD3P3_CPU [pin 17]
- VDD3P3_RTC [pin 11]
- VDDA [pin 21]
- VDDA [pin 24]
- VDDA3P3 [pin 2]
- VDDA3P3 [pin 3]
- XTAL_N [pin 22]
- XTAL_P [pin 23]
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/skriba91/thermostat-main-module~hh](https://www.flux.ai/skriba91/thermostat-main-module~hh).*
---
*Generated from [https://www.flux.ai/skriba91/thermostat-main-module~hh](https://www.flux.ai/skriba91/thermostat-main-module~hh)*