• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Liquid meter - how much wine in a tank ? 3D Printer File Image 1
Liquid meter - how much wine in a tank ? 3D Printer File Image 2
Liquid meter - how much wine in a tank ? 3D Printer File Image 3
Liquid meter - how much wine in a tank ? 3D Printer File Image 4
Liquid meter - how much wine in a tank ? 3D Printer File Image 5
Liquid meter - how much wine in a tank ? 3D Printer File Image 6
Liquid meter - how much wine in a tank ? 3D Printer File Image 7
Liquid meter - how much wine in a tank ? 3D Printer File Image 8
Liquid meter - how much wine in a tank ? 3D Printer File Image 9
Liquid meter - how much wine in a tank ? 3D Printer File Image 10
Liquid meter - how much wine in a tank ? 3D Printer File Image 11
Liquid meter - how much wine in a tank ? 3D Printer File Thumbnail 1
Liquid meter - how much wine in a tank ? 3D Printer File Thumbnail 2
Liquid meter - how much wine in a tank ? 3D Printer File Thumbnail 3
Liquid meter - how much wine in a tank ? 3D Printer File Thumbnail 4
Liquid meter - how much wine in a tank ? 3D Printer File Thumbnail 5
Liquid meter - how much wine in a tank ? 3D Printer File Thumbnail 6
Liquid meter - how much wine in a tank ? 3D Printer File Thumbnail 7
Liquid meter - how much wine in a tank ? 3D Printer File Thumbnail 8
Liquid meter - how much wine in a tank ? 3D Printer File Thumbnail 9
Liquid meter - how much wine in a tank ? 3D Printer File Thumbnail 10
Liquid meter - how much wine in a tank ? 3D Printer File Thumbnail 11

Liquid meter - how much wine in a tank ?

akosboda avatarakosboda

March 11, 2022

thingiverse-icon
DescriptionCommentsTags

Description

Device measures the amount of liquid in a cylindrical tank. The tank must be of equal cross section in length, and fixed in vertical or horizontal position. Four tank sizes (diameter and height) are selectable by switch.

Measurement is based on the HC-SR04 ultrasound sensor, this measures the distance of the liquid surface from the opening on top of the tank. Subtracting the neck height from the distance measured, we can use formulas to calculate how much liquid is left in the tank. To increase accuracy, the average of 10 measurements is used. Display is refreshed once per second.

The device is plugged directly in a power bank's USB, which serves as a handle as well. Use a lanyard to prevent dropping it into the tank...

The 3D box holds the 0.96" OLED display, the sensor and Arduino Atmega328 Mini or ESP8266 D1 Mini together. USB-A PCB in a rigid mount supplies the power.

Arduino program : i2c OLED (address 0x3c or 0x3d) on A4 A5, Trig on 2, Echo on 13 pin. The tank diameter arrays in my example are wine storage vessels from an Italian manufacturer. Replace it with your data. Select tank position horizontal / vertical when compiling. Switch is SP4T type with 3 resistor voltage divider to A0 analog input. The ESP D1 Mini's USB is accessible so the program - for example new cylinder data - can be refreshed any time, which is not the case with the Arduino (AVR) mini.

The display shows the amount in liters, and a tank drawing striped to amount or a moving scale. If you don't need the drawing but only a clear display of liters, uncomment the program line at the end of main loop.

The ESP seems to be 5V tolerant, but it does not hurt to use 2.2k + 3.3k level shifter resistors on the Echo input (13).

Using the device : accuracy depends only on the sensor, so hold it steady and levelled when measuring. Experience shows pretty good results measuring the amount of wine in storage tanks.

Could not upload zip-ed files, please download each file separately.

License:

Creative Commons - Attribution

Related Models

Shishi Odoshi "Deer Scarer" Japanese Water Fountain - Fully Working preview image

Shishi Odoshi "Deer Scarer" Japanese Water Fountain - Fully Working

jelson profile image

jelson

25,949

6 Pack Beer Carrier for 0.5 L Bottles - Bier Flaschenträger preview image

6 Pack Beer Carrier for 0.5 L Bottles - Bier Flaschenträger

Tronnic profile image

Tronnic

131

Not another dessicant tray for 4L cereal boxes?! preview image

Not another dessicant tray for 4L cereal boxes?!

Chiel profile image

Chiel

116

HyperCube 3D Printer/CNC preview image

HyperCube 3D Printer/CNC

Tech2C profile image

Tech2C

14,957

Ikea Samla Clips Labeled ALL SIZES preview image

Ikea Samla Clips Labeled ALL SIZES

Toby3D profile image

Toby3D

81

Handle for water big botles preview image

Handle for water big botles

JSracing 3Dprinter profile image

JSracing 3Dprinter

143

SMARS modular robot preview image

SMARS modular robot

tristomietitoredeituit profile image

tristomietitoredeituit

10,377

IKEA Samla 22L box wall bracket | IKEA Samla 22L Box Wandhalterung preview image

IKEA Samla 22L box wall bracket | IKEA Samla 22L Box Wandhalterung

Alvomane profile image

Alvomane

52