Tinkermash

DIY projects for brewers

electronic keg 3dprinting

Keg Scale

Image coming soon

Always know how much beer is in the keg! A scale system that display how many liters of beer you have left in each kegs. Just put it at the bottom of your kegerator and place your keg on it. The screen connects with ESPnow (no WIFI required) and can be placed anywhere.

This project is inspired from this tutorial.



Bill of Materials

The amount of scale kit, USB-C breakout board and USB-C cables depend on how many scales you plan to use.
This BOM assume you are using 5 scales in a kegerator and does not take into account the power in cable as it will depend on your setup.



3D models



PCB



Code



Tutorial

First, you need to decide if you are going to use one of the scale frame as the hub or if you want a dedicated hub. If you choose to use the dedicated hub, you won't need a "Hub scale frame".


Programing the ESP32 S2 Mini

If you need help setting up the environment for programming an ESP32, please refer to this tutorial

You will need to program the ESP32. It will be much easyer to program it before your begin. Download the arduino IDE projects from GitHub then upload it to the ESP32. Make sure you select "LOLIN S2 Mini" from the board list and upload the hub firmware to 1 ESP32 and the display firware to the other. Keep track of which on is which!

Here are some modifications you might want to do the the firmwares before uploading them:



Scale frame

Print or order the amount of frame you'll need.

Then prepare 1 USB-C breakout board like so:

Image coming soon

Once done, install the probes and the USB-C port.

Image coming soon

Now connect the probes wires in a specific way. Cut them to length and solder them. Remember to double check before cutting!

Image coming soon

Once the probes are linked, solder the leads to the HX711 board.

Image coming soon

Solder the USB-C wires to the HX711 board.

Image coming soon

Secure the HX711 board to the frame

Image coming soon

1 unit done! Do as many you need. For a maximum of 5 per hub.

Image coming soon

Hub scale frame

Print or order the hub scale frame

Prepare 4 USB-C breakout board like so. Those are used to connect the scales to the hub

Image coming soon

Prepare 1 USB-C breakout board like so. This will be the power input port.

Image coming soon

Install the probes and the 5 USB-C port just like for the scales frames. Note that the power input port has a specific location.

Image coming soon

Now connect the probes wires in a specific way. Cut them to length and solder them. Remember to double check before cutting!

Image coming soon

Once the probes are wired, we must solder the leads to the HX711 board.

Image coming soon

Now you need to connect everything to the ESP32. Make sure it is the one with the hub firmware on it. This is the brain of the device.

Image coming soon

Your hub is ready!



Dedicated hub

Print or order the Hub case.

Prepare 4 USB-C breakout board like this. Those are used to connect the scales to the hub

Image coming soon

Prepare 1 USB-C breakout board like that. This will be the power input port.

Image coming soon

Now you need to connect everything to the ESP32. This is the brain of the device. Do it like so:

Image coming soon

Your hub is ready!



Display

First, print or order the display case.

Then solder the required wires to the display. I suggest using the same colors I did to prevent errors.

Image coming soon

Now solders the wires to the right pins on the ESP32. Make sure it is the one with the display firmware on it.

Image coming soon

Secure the ESP32 to the enclosure

Image coming soon

Install the top part of the enclosure This should be a snap fit.

Image coming soon

You are done! Plug in everything and enjoy a nice cold beer. You deserve it. Cheers!