Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
John Grenard
Published © MIT

Managing Beverages With the Keg Master

With the Keg Master I can track quantities, set, monitor, and maintain CO2 pressure, as well as control the flow of beverages from kegs.

ExpertFull instructions providedOver 1 day1,188

Things used in this project

Hardware components

Azure Sphere MT3620 Starter Kit
Avnet Azure Sphere MT3620 Starter Kit
×1
OSH Park Keg Master Satellite PCB
Design By John Grenard. Files may be found within the KegMaster Satellite Repo: * https://github.com/Le-Grenadier/KegMaster_Satellite
×1
Microchip PIC18F14K50
×1
Vishay 10k Resistors - CRCW080510K0FKEAC
×25
Vishay 4.7k Resistors - CRCW08054K70JNEAC
×4
H-Bridge - DMHC3025LSDQ-13
×2
NPN Transistor - BC846BLT1G
×5
PNP Transistor - BC856BLT1G
×1
Blue LED - 150080BS75000
×2
Orange LED - APT2012NW
×4
Half Bridge Load Cell w/ADC - FZ1802AX4+FZ0728
×1
3/8 Flow Meter - FL-308
One Per Keg
×1
12v 3/8 Pc Solenoid - B07H2R41J9
One Per Keg
×1
3/8 PEX Tubing U855W100
×1
3/8 Hose Clamp
4 Per keg, or as needed.
×4
5 Way / 2 Pos Pneumatic Valve - USS-PSV00039
One per keg.
×1
100 PSI Max Pressure Transducer - FTVOGUEnhyqw3ks76-02
One per keg.
×1
1/8 NPT Brass Elbow - 3400 AA
One per keg.
×1
1/8 NPT to 1/4 Barb Fitting - A2-4NN
One per keg, plus one.
×2
1/8 NPT to 1/4 OD Pc - STR1418
One per keg, plus one.
×2
1/8 NPT Plug - JNS
One per keg, plus one.
×2
1/4 Pneumatic Tube - 1/4 TUBE
One ft per keg, or as needed to route between pneumatic components.
×1
12v Power Supply - AL12V15AT
×1
12v to 5v - LM2596 DC Buck Converter
×1
LED Strip - WS2812B1M144LB30
I used 15 LEDs for each keg. For me, this strip would have provided for 8 kegs.
×1
2.54 mm Pitch Crimp Connectors
These are optional but recommended. This is a set, containing an assortment, in sufficient quantity for my project configuration.
×1

Software apps and online services

Windows 10
Microsoft Windows 10
Microsoft Visual Studio 2019
Microsoft Azure Sphere Development Kit 1902
Xamarin
Xamarin
MPLAB X IDE
Microchip MPLAB X IDE
Microchip XC8 Compiler

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Wire Stripper / Crimper, 10AWG - 20AWG Strip
Wire Stripper / Crimper, 10AWG - 20AWG Strip
3D Printer (generic)
3D Printer (generic)
Microchip PICkit 4
Utility Scissors
Or similar - To cut tubing.
Crimp Tool, Heavy-Duty
Crimp Tool, Heavy-Duty
(Optional) Ensure these will work with your specific connectors.

Story

Read more

Custom parts and enclosures

Keg Master Scale Assembly

This repository is part of a larger 'Keg Master' system, which integrates various sensors and control devices with the Azure Sphere and a Microchip PIC18f14K50 based PCB I developed. See my other repositories for more information.

Schematics

Keg Master Satellite - PCB (OSHPark Order Form)

This is the Keg Master Satellite PIC MCU PCB file, in support of the larger Keg Master project. The overall design uses one Keg Master Satellite board per tap. Software Repo: https://github.com/Le-Grenadier/KegMaster_Satellite

Keg Master Satellite - PCB file (Altium)

The PCB for Keg Master Satellite PIC MCU board. This file is also contained with the PCB folder of the Keg Master Satellite repo.

Keg Master Satellite - Schematic (Altium)

The schematic for Keg Master Satellite PIC MCU board. This file is also contained with the PCB folder of the Keg Master Satellite repo.

Keg Master Satellite - Schematic and PCB (EasyEDA)

The EasyEDA file for Keg Master Satellite PIC MCU board. This file is also contained with the PCB folder of the Keg Master Satellite repo.

Keg Master Satellite - Schematic (PDF)

A PDF copy of the Keg Master Satellite schematic.

Code

Keg Master Embedded Azure Sphere Application

Using the AzureSphere, I have created the KegMaster to secure the homebrew beer in my Keg Freezer (Keezer). The system allows me to track quantities, to set, monitor, and maintain CO2 pressure in multiple kegs, convey information about the available beverages to users via the KegMaster app, as well as control and measure flow of beverages from each keg.

Keg Master Satellite PIC Application

The system design utilizes a mixture of firm real-time, soft real-time, and event driven components. Many real-time aspects are offloaded onto the PIC microcontroller. These are things such as reacting to sensor input, maintaining tight tolerances required by the WS2812b LED drivers, sensing changes to input pins, and achieving desired output duty-cycles. Soft real-time components are handled by the Azure Sphere, where periodic processing ensures a responsive system and positive user experience. See project documentation for more information.

Keg Master Azure App Service

Written in C#, using the .NET framework this simple interface enables the Xamarin application to efficiently and safely query SQL data. This repository is part of a larger 'Keg Master' system, which integrates various sensors and control devices with the Azure Sphere and a Microchip PIC18f14K50 based PCB I developed. See my other repositories for more information.

Keg Master Azure Functions

Written in C# using the .NET framework, Azure functions are the glue that binds the KegMaster system together. See other repositories for additional information.

Keg Master Scale Assembly STL

This repository is part of a larger 'Keg Master' system, which integrates various sensors and control devices with the Azure Sphere and a Microchip PIC18f14K50 based PCB I developed. See my other repositories for more information.

Keg Master Xamarin Application

Written in C# the Xamarin application provides the user interface to the Keg Master. This application highly leve rages Azure Web services and serves as a conduit for users to view and update keg data. See my other repositories for more information.

Credits

John Grenard

John Grenard

1 project • 0 followers
I am an embedded software engineer with eight years of industry experience. My skills extend from bare metal design to high level software.

Comments