This project addresses the critical issue of insufficient daily hydration among office workers and remote employees. Developed as an IoT solution, the Smart Coaster seamlessly integrates into users' daily routines to monitor and encourage proper hydration habits.
In today's fast-paced work environment, proper hydration often takes a backseat to daily tasks and responsibilities. Recent studies have revealed a concerning trend: 60% of people in Germany and over 75% in the USA fail to meet recommended daily fluid intake levels. This inadequate hydration leads to numerous health issues, both immediate and long-term. Workers frequently experience concentration problems, headaches, and fatigue, which directly impact their productivity. More seriously, chronic dehydration can contribute to kidney damage and cardiovascular issues over time.
Target AudienceOur primary focus is the modern office worker, whether in traditional office settings or working remotely. Through conversations with colleagues, we identified a common challenge: despite understanding the importance of proper hydration, professionals often become so engrossed in their work that they forget to drink regularly. This problem is particularly acute during stressful periods or important deadlines, precisely when maintaining proper hydration is most crucial for cognitive performance.
Technical ArchitectureThe Smart Coaster combines hardware and software components to create a seamless hydration tracking experience. At its core, the device uses an ESP32 microcontroller connected to a load cell for precise weight measurements. A status LED, protected by a current-limiting resistor, provides visual feedback for operations like tare and will eventually support hydration reminders. These components are housed in a carefully designed 3D-printed enclosure that balances aesthetics with functionality.
Architecture Diagramm
The system's software architecture follows modern web development practices with a clear separation of concerns. The frontend is built using Vue.js, providing users with an intuitive interface to track their hydration habits. This interfaces with a backend system implemented as Azure Functions using Node.js, handling data processing and storage in the cloud.
Dashboard of the Website
The embedded software, written in C++, currently focuses on the core functionality of weight measurement and data transmission. The ESP32 sends weight data to the backend through PATCH requests, with plans to implement more sophisticated features like customizable reminder intervals in future updates.
Data FlowThe system operates through a straightforward yet effective data flow process. When a drink is placed on the coaster, the load cell detects the weight change, and the ESP32 processes this information. This data is then transmitted to our Azure-hosted backend, which stores and processes the information. The Vue.js frontend regularly fetches and displays this data, providing users with real-time insights into their hydration habits.
Data Flow Visualization
The Smart Coaster stands out through its practical and user-focused design approach. Unlike many hydration tracking solutions that require specific bottles or manual input, our system works with any drinking vessel. Its stationary nature ensures it's always ready to use, eliminating the common problem of forgetting to track intake. The automatic measurement system removes the friction often associated with manual tracking, making it easier for users to maintain consistent hydration habits.
Design PhilosophyOur design philosophy centers on creating a device that seamlessly integrates into the modern workplace. The 3D-printed enclosure features a professional, minimalist aesthetic that complements any desk setup. We've carefully considered the balance between functionality and user experience, ensuring the device provides valuable information without becoming a distraction.
Assembly Instructions4 Smart Coaster with open case
Assembly of the Smart Coaster follows a straightforward process combining hardware and software setup:
1. Case AssemblyThe foundation begins with the 3D-printed case that houses all components. The load cell is mounted to the bottom plate and secured with screws. A glass platform is then attached to the load cell's sensor side, ensuring even weight distribution.
2. Electronic ComponentsThe core electronics consist of an ESP32, HX711 amplifier, and status LED. The ESP32 and HX711 are mounted on separate mini breadboards for clean organization. The load cell connects to the HX711, which interfaces with the ESP32. A 220Ω resistor is used in series with the LED, connected to GPIO 18 for status indication.
3. Software Installation- Clone the project repository from our GitHub:
Install the Arduino IDE and configure it for ESP32 development:
- Add ESP32 board support in Arduino IDE
- Install required libraries: HX711 library for load cell
- Install the Arduino IDE and configure it for ESP32 development:Add ESP32 board support in Arduino IDEInstall required libraries: HX711 library for load cell
- Open the Smart Coaster project in Arduino IDE
- Configure the WiFi credentials in the code
- Select the correct ESP32 board and port in Arduino IDE
- Upload the code to your ESP32
Once assembled and programmed, the system performs several key functions:
- Automatic tare calibration on startup with LED feedback
- Continuous weight measurement of placed containers
- Calculation of water consumption through weight differential
- Real-time data transmission to Azure cloud via WiFi
After successful setup, the LED will blink to indicate the system is ready for use. The Smart Coaster will automatically begin transmitting weight data to the cloud backend once a container is placed on it.
ImpactThe Smart Coaster represents more than just a hydration tracking device; it's a tool for promoting better health habits in the workplace. By providing real-time feedback and gentle reminders, it helps users develop better hydration habits naturally. This improved hydration leads to better concentration, reduced fatigue, and overall enhanced workplace wellness.
Comments
Please log in or sign up to comment.