I am thrilled to introduce my latest work - OfficeGear, a smart(not yet😅) solution designed to enhance your health and productivity at the office.
In today's fast-paced work environment, it's easy to neglect our basic health needs - staying hydrated and moving around. That's why I’ve developed OfficeGear, a device that tracks your daily hydration levels and sedentary time, encouraging you to make healthier choices throughout your workday. 💧🏃♂️
Water intake bar indicator:
Sitting time display:
With OfficeGear, you can:
- Set personalized daily water intake goals. 💦
- Customize sedentary time alerts, reminding you to stand up and move. 🕒
- Track your progress with an intuitive display, akin to a battery charge bar, but for your health! 🔋
This tool is not just about tracking; it's about empowering office workers to stay hydrated and reduce prolonged sitting time, which are crucial for long-term health and well-being. 🌿
- ESP32 WiFi Bluetooth Development Board from LILYGO T-Display
- 3,7V 1100mAh Lithium Batterie from Amazon
Faced with the challenge of having only two buttons on this LILYGO T-Display board, a versatile navigation system is crafted, which leverages different menu contexts and button patterns—single click, double click, and long press to ensure a seamless and intuitive user experience.
Deploy your OfficeGear to a LILYGO T-Display ESP32 board.
Preferences: this library is utilized for writing to and reading from the on-chip flash memory of the ESP32. It enables the storage and retrieval of data in this project.
TFT_eSPI: used for TFT display.
git clone https://github.com/yanxuceo/OfficeGear.git
Navigate to the folder where you cloned the repository on your computer. Look for the OfficeGear.ino and launch in Arduino IDE.
After selecting the board(ESP32 Dev Module), wait for the IDE to detect and connect to the ESP32 board through a serial port.
After the flashing process is complete, the display will show five bars by default.
This project is licensed under the MIT License - see the LICENSE file for details.