Don’t Panic was once written on the cover of a now famous book and could probably be the catchphrase of WeightyBeer. With WeightyBeer you no longer have to worry about suddenly running out of beer and raging in surprised panic. WeightyBeer is the monitor system for your beer taps at home that you’ve subconsciously dreamt about ever since you got your first tap. With WeightyBeer you can register your taps and brews to keep track of which brews that’s currently on each tap and how much beer there’s left in each keg. At the very top it’s a React web app designed for that old tablet you never use, or the cheap one you’re about to invest in.
- Weak computer (e.g. Raspberry Pi)
- Load Cell Amplifiers – HX711 (cheap on ebay)
- Package scales
- Dupont wire cables (cheap on ebay)
- (Soldering iron)
Load cell amplifiers
I bought a pack of five HX711 load cell amplifiers for 10$ on ebay including free shipping. Each load cell amplifier included a metal shield and a set of different connection pins that had to be soldered on to the chips. If you don’t know the basics of soldering I do recommend that you read a simple introduction, it will save you some pain. The difficult part, for me at least, was that the chips that I bought had different names than what the tutorials I found has. In retrospect I’ve found that you can trust the tutorial of the SparkFun HX711, and there is a lengthy story of how I made it all much more complicated than it needs to be. Don’t worry though, I won’t bore you with the details.
The package scales that I bought I found at a Norwegian electronics shop and is a bit more on the expensive side than the other components of this project. You may find cheaper scales on ebay that will work just fine for your purposes. For my purposes however, I didn’t find any cheap scales on ebay that fit the space requirements of my keg refrigerator. You’ll find a picture below of the inside of my scales and, as I’ve come to understand, no matter what scale you end up using the insides will be quite similar. There should be four wires coming out of the load cell that connects to a chip. You need to cut these wires from the chip, and then you can throw the chip away, or keep it – your choice.
I’ll refer to the components that I used, but it should be similar in most cases I believe. See the pictures below. The «VCC, DO/RX, CK/TX, GND»-side of the HX711 amplifier connects to the Arduino and the other side to the load cell. The outputPin and clockPin will be the ones you configure in the weightsensor/config.json file. If the values read through the weightsensor app decreases, instead of increases, as you increase the preassure on the scale simply swap them (which is what I had to do).
- HX711 → Arduino
- VCC → 3.3v
- GND → GND
- DO/RX → outputPin
- CK/TX → clockPin
- HX711 → Load cell
- out+ → red wire
- GND → black wire
- A+ → white wire
- A- → green wire
Follow the guide found in the repository.