

Kool keg
This repository holds relevant files for Team 51 (Kool Keg) in ECE Senior Design. It includes hardware schematics, PCB layouts, mobile application software, and software diagrams.
- Size
- 121.6 × 72.7 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 75
- Nets
- 64
- Pads
- 237
- Tracks, vias
- 429, 54
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 13 Sep 2022
- Updated
- 7 Dec 2022
Overview
Kool keg is an open-source printed circuit board by dhuntoon, from the dhuntoon/kool_keg repository on GitHub. It is a 2-layer board of 121.6 × 72.7 mm with 75 parts on 64 nets, routed with 429 tracks and 54 vias.
It is built around the ESP32-WROOM-32D, HX711 and TPS562207DRL, with the 24LC256-I/MS, 74LVC3G14DC and LM1117-ADJ among its other parts. Its parts include 23 capacitors, 21 resistors, 7 ICs, 7 connectors and 4 diodes. It belongs with the ESP32 boards of this library.
Main components
6ESP32-WROOM-32D
-- WiFi Modules ROHSEspressif SystemsWiFi ModulesHX711
SOP-16-40℃~+85℃ 1.4mA 10Hz、80Hz 1MHz~20MHz、11.0592MHz 2 2.6V~5.5V 20mV、40mV、80mV 24 Built-in External、Built-in SPI Support Yes SOP-16 Analog to Digital Converters (ADC) ROHSAvia SemiconAnalog To Digital Converters (ADC)TPS562207DRL
SOT-563-40℃~+125℃@(TJ) 1 2A 4.3V~17V 580kHz 804mV~7V Adjustable Buck Buck Built-in Yes SOT-563 DC-DC Converters ROHSTexas InstrumentsDC-DC Converters24LC256-I/MS
MSOP-8-40℃~+85℃ 1,000,000 cycles 2.5V~5.5V 200 Years 256Kbit 400kHz 5ms Hardware write protection function、Noise suppression function I2C MSOP-8 EEPROM ROHSMicrochip TechnologyEEPROM74LVC3G14DC
VSSOP-8-0.5mm-40℃~+125℃ 1.65V~5.5V 2.4ns@5.5V,50pF 24mA 24mA 3 4uA 74LVC Schmitt trigger VSSOP-8-0.5mm Inverters ROHSNexperiaInvertersLM1117-ADJ
SOT-2231 1.2V~5V 1.3V@(1000mA) 15V 1A 2mA Adjustable Over Current Protection、Short Circuit Protection、Thermal shutdown Positive SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHShongjiachengUncategorised
README
README.mdKool Keg
Purdue University > ECE Senior Design (ECE 49022) > Lab Section 5 > Team 51
This repository holds relevant files for Team 51 (Kool Keg) in ECE Senior Design. It includes hardware schematics, PCB layouts, mobile application software, and software diagrams.
Table of Contents
kool_keg (repository home directory)
-
/Circuit Design/...- system hardware schematics
-
/main/...- Software for MCU
-
/Kool Keg Circuit/...- PCB Design and related files for system hardware
-
/Software/...- Software subsystem working directory
/aws_backend/...- sub-directory contianing AWS Lambda code .
- This code is mirrored manually for reference and is not executed directly from this source.
- This directory holds code written by Dylan Huntoon for the subsystem
/figures/...- sub-directory containing software flow diagrams and subsystem block diagram(s)
- This directory holds figures created by Dylan Huntoon for the subsystem
/keg_app/...- sub-directory containing code related to the mobile app (Flutter SDK and dependencies)
/lib/...- sub-directory containing Flutter (Dart) code for the mobile app
- This directory holds code written by Dylan Huntoon for the subsystem
/testing_scripts/...- sub-directory containing Python code and JSON output for testing the software_subsystem
- This directory holds code written by Dylan Huntoon for the subsystem
-
/README.md- this markdown file
Software Design
Subsystem Block Diagram
The following diagram illustrates the components of the software subsystem and related interactions with other subsystems. The color-coding corresponds to the overall system diagram, found in the design documentation.

Subsystem Software Architecture
The following diagram illustrates the software architecture for the system's mobile application. The program is written in Flutter (Dart) and is deployable on iOS and Android platforms. The black circle identifies the program entry point and is triggered when the application launches.

For further detail, see the related figures in the Software/figures/ subdirectory.
Operating the Mobile App
Updated Nov 1, 2022.
The mobile application will be deployed onto devices supporting the iOS and Android platforms. Execution will automatically begin when the application is launched on the aforementioned devices.
To build or prototype with the program on a local machine, you must install the following dependencies. To ensure dependencies are installed correctly, reference the flutter documentation (https://docs.flutter.dev/get-started/install).
Dependencies:
- Flutter (Flutter SDK 3.3.1)
- Android toolchain (Android SDK version 33.0.0)
- Xcode (Xcode 14.0) - for building and emulating iOS applications
- Android Studio (version 2021.2) - for emulating Android applications
For rapid prototyping and testing, an IDE (such as VSCode or XCode) is recommended. Alternative command line operations are listed below for Unix terminals.
Command Line Operations
See the following documentation for Flutter Command Line Tools: https://docs.flutter.dev/reference/flutter-cli.
$ flutter --version returns the version of flutter installed on your machine.
$ flutter doctor returns the dependency checks for the aforementioned libraries. Helpful installation directions are provided for missing dependencies.
To build the program:
$ cd kool_keg/Software/keg_app
$ flutter build targetwhere target is the targeted platform (ios, android, etc.)
To run the program:
$ cd kool_keg/Software/keg_app
$ flutter run lib/main.dartCredits
Contributors to this repository:
- Cole Kniffen (ckniffen@purdue.edu)
- Dylan Huntoon (dhuntoon@purdue.edu)
- Mitchell Morris (morri448@purdue.edu)
- Jared Nutt (nuttj@purdue.edu)
Parts
75| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4, R16, R17, R18, R19, R20, R21 |
| 6 | 0.1uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C11, C12, C13, C14, C16, C23 |
| 6 | 22000 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R5, R6, R7, R8, R9, R10 |
| 4 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C4, C5, C15, C17 |
| 3 | .1uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C6, C19, C21 |
| 3 | 22uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C9, C10, C22 |
| 3 | D | Diode_SMD:D_SOD-323_HandSoldering | D1, D2, D3 |
| 3 | SW_MEC_5G | Button_Switch_THT:SW_PUSH-12mm | SW1, SW2, SW3 |
| 3 | TestPoint_Pad_1.5x1.5mm | TestPoint:TestPoint_Pad_1.5x1.5mm | +3.3, +5V, GND |
| 2 | 100 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R11, R12 |
| 1 | 100 nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C20 |
| 1 | 100k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R15 |
| 1 | 100nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1 |
| 1 | 100uF | Capacitor_SMD:CP_Elec_6.3x5.8 | C7 |
| 1 | 10uF | Capacitor_SMD:CP_Elec_4x5.8 | C2 |
| 1 | 1N4148 | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D4 |
| 1 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2 |
| 1 | 2.2uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C18 |
| 1 | 22k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R14 |
| 1 | 24LC256-I/MS | Package_SO:MSOP-8_3x3mm_P0.65mm | U6 |
| 1 | 2N3905 | Package_TO_SOT_THT:TO-92_Inline | Q1 |
| 1 | 2N3906 | Package_TO_SOT_THT:TO-92_Inline | Q2 |
| 1 | 3.3uH | Inductor_SMD:L_Bourns_SRN6045TA | L1 |
| 1 | 30.9k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R3 |
| 1 | 330 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1 |
| 1 | 56pF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C8 |
| 1 | 68nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C3 |
| 1 | 74LVC3G14 | Package_SO:MSOP-8_3x3mm_P0.65mm | U3 |
| 1 | 8.2k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R13 |
| 1 | 946-MPQ6610GS-AEC1-P | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U5 |
| 1 | Conn_01x02_Female | Connector_PinHeader_2.00mm:PinHeader_1x04_P2.00mm_Vertical | J7 |
| 1 | Conn_01x02_Male | Connector_Molex:Molex_KK-396_A-41791-0002_1x02_P3.96mm_Vertical | J1 |
| 1 | ESP32-WROOM-32D | RF_Module:ESP32-WROOM-32 | U7 |
| 1 | Flowmeter Header | Connector_PinHeader_2.00mm:PinHeader_1x03_P2.00mm_Vertical | J4 |
| 1 | HX711 | Package_SO:SOP-16_3.9x9.9mm_P1.27mm | U4 |
| 1 | IR Header | Connector_PinHeader_2.00mm:PinHeader_1x04_P2.00mm_Vertical | J3 |
| 1 | LM1117-ADJ | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U1 |
| 1 | Prog | Connector_PinHeader_2.00mm:PinHeader_1x06_P2.00mm_Vertical | J5 |
| 1 | Scale Header | Connector_PinHeader_2.00mm:PinHeader_1x04_P2.00mm_Vertical | J2 |
| 1 | Solenoid Conn, 01x02_Male | Connector_Molex:Molex_KK-396_A-41791-0002_1x02_P3.96mm_Vertical | J6 |
| 1 | TPS562207 | Package_TO_SOT_SMD:SOT-563 | U2 |
The 71 most common of 75 parts.
Similar boards
- 2 layers70 × 66 mm

- 4 layers111.8 × 80.8 mm

- 2 layers100 × 94 mm

ESP8266 Roomba panel x 3
linlun/HW-ESP8266_Roomba
Kicad schematics of a generic ESP8266 board with interfaces for OLED-display, rotary encoder, Roomba and DC/DC
204 parts2 - 4 layers48 × 48 mm

- 2 layers69 × 34 mm

KiCAD 9Schmitt v005
graham-r/kiCad_Schmitt_Trigger
Schmitt Trigger switch-bounce removal based kiCad projects
46 parts1 - 2 layers85.7 × 54 mm

- 2 layers127 × 153 mm

RC2014Backplane wUART
dennisperry/RC2014_PCBs
A group of RC2014 PCBs I've designed to expand my system
54 parts - 2 layers22 × 24.5 mm

Questions
How big is the Kool keg PCB?
It measures 121.6 × 72.7 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Kool keg use?
75 parts, built around the ESP32-WROOM-32D, HX711, TPS562207DRL and 24LC256-I/MS. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Kool keg KiCad files?
From the dhuntoon/kool_keg repository on GitHub, at the commit this page was made from: the board is Kool Keg Circuit/Kool Keg.kicad_pcb and its schematic Kool Keg Circuit/Kool Keg.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Kool keg design in my own project?
Its repository states no licence, so its author keeps all rights: ask dhuntoon before reusing the design.