logo
Kurashizu Blogwhere ideas flow
  • Home
  • News
  • Blog
  • About
  • Home
  • News
  • Blog
  • About

© 2026 Kurashizu. All rights reserved.

Admin·New Post·Service Status
Powered by Cloudflare·01.11.26
← Back to news

Weathergotchi – an open-source climate Tamagotchi

Original article
github.com|92 points|22 comments|by luanmuniz|Jul 15, 2026

Weathergotchi: An Open-Source Climate Tamagotchi

Project Overview: The Weathergotchi (officially the E-Paper Climate Logger) is a battery-operated, open-source device designed to track ambient temperature and humidity. It utilizes an always-on e-paper screen to show real-time data and historical trends, storing all readings in non-volatile memory.

E-Paper Climate Logger

🚀 Key Capabilities

The device is engineered for extreme efficiency, capable of running for over one week on a single small Li-Po battery.

FeatureComponent/DetailPurpose
BrainESP32-S3Logic and deep sleep management via RTC
SensingTemp/Humidity SensorEnvironmental monitoring
StorageExternal EEPROMNon-volatile data logging
PowerBQ-series ICsBattery monitoring and charging
Interface1.54" E-PaperLow-power visual data display
BuildCustom PCB & 3D CaseCompact, integrated form factor

The project is fully transparent; all hardware schematics, PCB layouts, firmware, and CAD files are available for public use. For a visual guide, check out the E-Paper Climate Logger YouTube video.


📂 Repository Architecture

The project is organized into the following directory structure:

E-Paper-Climate-Logger/
├── CAD/        # OpenSCAD source & STL exports
├── PCB/        # KiCad designs, schematics, & datasheets
├── firmware/   # PlatformIO project (Arduino framework)
├── LICENSE     # Legal terms
└── README.md   # Project documentation

Detailed Breakdown

  • CAD: Contains parametric models for the enclosure. By modifying constants.scad, users can adjust the physical dimensions of the case.
  • PCB: Houses the templog_mainboard files. This includes .kicad_sch and .kicad_pcb files, along with reference designs from Waveshare and SparkFun. Note: KiCad 9 or newer is required.
  • Firmware: An ESP32-S3 project managing the I2C bus, SPI display, and power states. Detailed flashing steps are located in firmware/README.md.

🛠️ Getting Started

Hardware Checklist

  • Assembled templog_mainboard (Reflow soldering recommended for SMD parts)
  • 1.54-inch e-paper display (Waveshare compatible)
  • 3D-printed housing (from CAD/export/)
  • Single-cell Li-Po battery (≈400 mAh\approx 400\text{ mAh}≈400 mAh)
  • USB-C cable

Software Deployment

  1. Install the PlatformIO Core (or the VS Code extension).
  2. Upload the code using the following command: pio run --target upload
  3. (Optional) View logs via: pio device monitor

⚡ Hardware & Power Logic

System Architecture

The device utilizes a shared I2C bus for the SHT45, DS3231, 24LC512, and BQ27441. The display is handled via SPI, and the system power is toggled via an LTC2954 soft-button and BQ24075 charger.

The Low-Power Cycle

The device minimizes energy consumption using a strict wake-sleep loop:

Power Metrics:

  • Sleep Current: <20 μA< 20\text{ }\mu\text{A}<20 μA
  • Active Burst: ≈50 mA\approx 50\text{ mA}≈50 mA for ≈400 ms\approx 400\text{ ms}≈400 ms
  • Wake Interval: Default is 1 minute1\text{ minute}1 minute

⚠️ Known Issues & Limitations

Battery & Power

  • Perfect SOC Accuracy →\rightarrow→ The reported battery state of charge is currently inaccurate.
  • Critical Low Battery: At ≈3.4V\approx 3.4\text{V}≈3.4V, the device may enter an unrecoverable state.
    • Fix: Disconnect battery →\rightarrow→ External charge →\rightarrow→ Reconnect. (Likely due to low-quality cells).

Environmental & Hardware

  • Thermal Interference: The ESP32 generates heat during activity. To mitigate this, the firmware triggers the SHT45 reading immediately upon waking.
    • Warning: Holding the device or browsing menus will skew readings for several minutes.
  • Temperature Floor: The e-paper screen is rated for T>0∘CT > 0^\circ\text{C}T>0∘C.
    • Behavior: Logging continues in the background, but the display will not update until it warms up.
  • Connectivity: No Wi-Fi/Bluetooth\text{No Wi-Fi/Bluetooth}No Wi-Fi/Bluetooth is included to ensure maximum battery longevity.

🤝 Contributing

Contributions are welcome! Please submit issues or pull requests following the established project guidelines.