• 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 ?

Boda avatarBoda

December 29, 2022

printables-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.

Category: Electronics

License:

Creative Commons — Attribution — Noncommercial

Related Models

Thor Mjolnir Hammer Bic Pen preview image

Thor Mjolnir Hammer Bic Pen

effektz profile image

effektz

9,085

Diverse Schilder / various labels  for hobby & makers preview image

Diverse Schilder / various labels for hobby & makers

RPK profile image

RPK

2

Customizable EU License Plate Keychain preview image

Customizable EU License Plate Keychain

John_M profile image

John_M

34

Vorpal The Hexapod Walking Robot preview image

Vorpal The Hexapod Walking Robot

vorpal profile image

vorpal

4,982

MakerZ – Open Source 1/28 RC Drift Chassis by Fails & Makes | Açık Kaynak 1/28 RC Drift Şasisi preview image

MakerZ – Open Source 1/28 RC Drift Chassis by Fails & Makes | Açık Kaynak 1/28 RC Drift Şasisi

Fails&Makes profile image

Fails&Makes

Cacciavite Portachiavi - Scewdriver keychain preview image

Cacciavite Portachiavi - Scewdriver keychain

Butti Maker Studio profile image

Butti Maker Studio

23

Snap-Together Mini Minecraft Jack-O-Lantern with integrated LED preview image

Snap-Together Mini Minecraft Jack-O-Lantern with integrated LED

scottrlindsey profile image

scottrlindsey

4,448

Small Parts Storage Drawers - Organizer preview image

Small Parts Storage Drawers - Organizer

GT 3D Makers profile image

GT 3D Makers

29

8