Easy Way to Drink More Water Every Day.

by wpgnss in Circuits > Electronics

889 Views, 6 Favorites, 0 Comments

Easy Way to Drink More Water Every Day.

0_all.png

Easy way to drink more water every day.

How much water do you drink a day

You will be aware of the importance of The habit of drinking water without mentioning.

We need to drink more water. So, I wanted to know how much drinking water.

When I drink water, a Client send amount of water to Host.The host can store the amount of water and Real time (using NTP) to SD card.

Whole component


WIZwiki W7500(Wiznet) ———— 2

Xbee(Digi) —————————— 2

SD card ———————————1

OLED Display(SeeedStudio) —— 1

Load Cell + HX711 —————— 1

LED ————————————— 2

Tact Switch ————————— 2

How to Check the Amount of Water You Drink.


How to check the amount of water you drink.

  1. Make a chart and tick it off each time you drink a glass.
  2. Automatic sensing
  • Ultrasonic sensor to check the amount of water
  • Measure weight of the water.

Weight of water?

Pure water has its highest density of 1000 kg/m3 at temperature 4C(39.2F)

  • 1g = 1ml

https://en.wikipedia.org/wiki/Specific_weight

Weight Sensor (Load Cell + HX711)

2_loadcell.png

Strain gauge

The force being sensed deforms a strain gauge. The strain gauge measures the deformation (strain) as a change in electrical resistance, which is a measure of the strain and hence the applied forces.

https://en.wikipedia.org/wiki/Load_cell

http://www.rdpe.com/ex/hiw-sglc.htm

​Make Cup Holder(3D Modeling)

3_loadcell.png

Calibration & Measurement

4_CalibnMeasure.png

This 9V battery is 44g and I made sure that the measurements.

(W:43g -> Current weight, B:43g -> Temporary value for comparison)

For Calibration, You have to change the value of scale in source code.

Hardware

6_host.png
5_client.png
7_total.png

Host, Client, real parts.

Operation Method - Test Data

8_flow.png
  1. The client sends the data to Host.
    • End 134: data type(Store at SD card: 1) + amount of water(34ml)
  2. Access and request to NTP server for realtime.
  3. Save realtime and a amount of water in SD card.

Operation Method - Actual Data

9_flow1.png

  1. Put up a cup of water on top of the Load cell weight sensor
  2. Client sensed 264ml of water.
  3. When I was drinking water, W:0(Current weight:0, because of holding the hand), B:264(saved weight:264)
  4. Sensed 180ml
  5. Put up a cup of water again. send data type(1) + 84ml of water.

Logged Data on SD Card

10_waterlog.png

Visualization

WaterLevel visualization

But, you don’t have to think about is do a few liters of water a day

You just have to set the target amount of water. Then you can see the percentage of data like below.

Source Code Repository in Mbed