Go Down

### Topic: What sensor would you use to track how much liquid is left in a bottle? (Read 2810 times)previous topic - next topic

#### Afanasjevas

The sensor would need to be part of the bottle.

#### jackrae

#1
##### Dec 22, 2012, 11:22 pm
Liquid left in bottle is bottle capacity minus removed content, but since you only want to know what is in bottle you don't need to know its capacity

Weigh bottle when empty       We

Weigh bottle when part full    Wp

Liquid in bottle                     Wl  =  (Wp - We)

So use a weigh scale as your primary measurement device

If you want volume you need to know liquid density

#### jackrae

#2
##### Dec 22, 2012, 11:46 pm
Or use a pencil to mark a line on the bottle and catch whoever is drinking your tipple

#### Arduino420

#3
##### Dec 24, 2012, 02:16 am
Set the water on this sensor, remove water to the level you wish to take action at and take a reading. Then write code to take action when that reading is reached.

https://www.sparkfun.com/products/11207?

Good luck!

#### Arduino420

#4
##### Dec 24, 2012, 02:18 am
Or this one to work in direct contact with the water itself.

http://www.ebay.com/itm/Water-level-sensor-liquid-level-Water-depth-detection-High-Sensitivity-Arduino-/251191540408?pt=LH_DefaultDomain_0&hash=item3a7c2ebab8

#### retrolefty

#5
##### Dec 24, 2012, 02:31 am

Or this one to work in direct contact with the water itself.

http://www.ebay.com/itm/Water-level-sensor-liquid-level-Water-depth-detection-High-Sensitivity-Arduino-/251191540408?pt=LH_DefaultDomain_0&hash=item3a7c2ebab8

That seems to have a pretty restrictive temperature range?

Quote
10.Operating Temperature: 10 ? -30 ?

#### Arduino420

#6
##### Dec 24, 2012, 02:41 am
Yeah he did not say what temp. Besides, until the whole rest of the planet gives up on that Metric crap, I would have not know what he meant anyway. ;-)

Go Up