piotr-kubica / weather-tiny

Tiny weather station based on TTGO T5 V2.3.1 (ESP32 with 2.13" e-ink display)
GNU General Public License v2.0
25 stars 7 forks source link

BTC
Donate

Tiny weather station based on TTGO T5 V2.3.1 (ESP32 with 2.13" e-ink display) - discontinued

This project is licensed under GNU General Public License v2.0

The GNU GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license. There are multiple variants of the GNU GPL, each with different requirements.

🔸NOTE🔸

Second version of the firmware is currently being developed. The goals include: enhanced performance, increased (4+ weeks) battery life, easier configurability, integration with external systems.

Features

User guide

Device configuration

Turn on device. Reset to enable configuration. Connect to weather-wifi device access point. Go to 192.168.4.1/config if not redirected. Provide wireless lan ssid and password. Provide locations for which information should be fetched. Submit config form. After a successful validation device displays weather information for given location.

YT video thumbnail

Device usage

Switch between locations using top left button. \ Refresh current location using top right button. \ Reset device using bottom button. \ Turn on/off device using top switch. \

Hardware

To assemble the device yourself you will need

Assembly

Device comes with two buttons (used for refresh and location change). The missing reset device button needs to be added by using tactile button and a pull-down resistor. Create the pull-down resistor by soldering the resistor to GND and pin 34. Solder the tactile button to pins 34 and 3V3.

Insert TTGO to the 3D printed case. Connect the LiPo cell. Mount the case using M3 bolt.

Software

License

Project source code is licensed under GPL2 (including source code and stl). This does not include external libraries and used fonts.

Installation

Setup Arduino IDE to be used with ESP32.

You can do this in this tutorial https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/

Install external libs

You can find GxGDE0213B72B and GxDEPG0213BN drivers here

Use font files generated by fontconvert which can be found inside libraries/Adafruit_GFX_library/Fonts. You can also download these fonts (free to use) and use fontconvert tool to create them yourself.

API keys

External APIs are used to fetch data. These are free to use services:

Register and obtain the keys. Then replace the api keys in config.h file.

Upload sketch to device

Verify and upload the weather_mini.ino sketch. After successful upload turn on the device and configure it as shown in device configuration section. See the example output from serial monitor for a successful device configuration.

Support

If you have found this project useful you can buy me a cup of coffee

Buy Me a Coffee at ko-fi.com

Donate with Bitcoin

Donate