https://github.com/sqmah/hydropal-arduino
The Arduino aspect for the Hydropal intelligent water bottle.
https://github.com/sqmah/hydropal-arduino
arduino bluetooth bottle flow-rate-sensor water water-bottle
Last synced: 6 months ago
JSON representation
The Arduino aspect for the Hydropal intelligent water bottle.
- Host: GitHub
- URL: https://github.com/sqmah/hydropal-arduino
- Owner: SQMah
- License: mit
- Created: 2016-10-27T08:48:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-11T12:08:58.000Z (over 8 years ago)
- Last Synced: 2025-04-04T17:51:51.549Z (6 months ago)
- Topics: arduino, bluetooth, bottle, flow-rate-sensor, water, water-bottle
- Language: Arduino
- Homepage: http://hydropal.rchk.edu.hk
- Size: 2.32 MB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hydropal: Arduino Branch
## Description
This is the repository Arduino code for the Hydropal smart water bottle JA company. The code will primarily allow the Arduino Pro Mini board to read the ml/sec of liquids going though the nozzle of the bottle in order to measure the millitres of water that a person drinks throughout the day. It also syncs that data to a mobile device.**Code for the water bottle itself is in the 'Hydropal' folder!**
## Usage
Detailed instructions can be found here: https://github.com/Hydropal/Hydropal-Arduino/wiki## Current Functionality
- [X] Checks sensor reading every second to find ml/sec passing through sensor
- [X] Adds sensor reading to total ml of liquid consumed throughout the day
- [X] Reset total counter midnight every day
- [X] Update correct date and time over Bluetooth
- [X] Update user preferences over Bluetooth
- [X] Send multiple day data over Bluetooth
- [X] Pulsing LED to remind user to sync
- [X] Blinking LED to remind user to drink
- [X] Proper sleep wake to control LED
- [X] Adjusts internal data to reflect time changes and disreprencies (should work in different timezones)
- [X] Checks if sync data is valid## Deprecated Functionality
- [X] LED indicators for total volume consumed, for 5 LEDs (present in Alpha 2.0)## To-do
- [ ] Flow rate calibration## Changelog
## Release 1.0
- Checks if time from device mismatches internal clock and shifts volume array backwards and forwards as necessary
- Checks if data sent from device is corrupted over transmission and should help prevent errors that require a hard reset
- Change baud rate to 38400 instead of 112000 to lower chances of data corruption during transmission## Alpha 6.0
- Arduino checks for the largest value and sends it back to the device
- LED pulses when need sync
- LED blinks when need drink## Alpha 5.0
- Groundwork for sleep wake times
- Groundwork for pulsing LED
- Multiple day data is sent and reset## Alpha 4.0
- Data is sent to mobile device over Bluetooth
- Data from mobile device is parsed: things such as time and user preferences are updated## Alpha 3.0
- Water consumed is now reset every midnight### Alpha 2.0
- LEDs can indicate how much has been consumed, one for each 1 L
- LEDs in progress of being filled up blink### Alpha 1.0
- Initial release
- Measures flowrate in ml/sec and adds up to total water consumed