Skip to the content
2 layers70.7 × 94.5 mmHOMEBASE MNTL, the printed circuit board in 3D

Notebook for Malik Kelly to keep track of progress in ECE 445. Also a way for the rest of the FadeX staff to see progress.

Size
70.7 × 94.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
47
Nets
55
Pads
196
Tracks, vias
605, 107
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
3 Feb 2026
Updated
7 May 2026

Overview

HOMEBASE MNTL is an open-source printed circuit board by malikkelly8, from the malikkelly8/ECE445-FADEX repository on GitHub. It is a 2-layer board of 70.7 × 94.5 mm with 47 parts on 55 nets, routed with 605 tracks and 107 vias.

It is built around the CH340C, MP2338GTL-P and BC817. Its parts include 14 capacitors, 12 resistors, 11 connectors, 3 ICs and 2 transistors. It belongs with the ESP32 boards of this library.

Main components

3

README

README.md

FadeX - Automated Nicotine Tapering System

FadeX is an adaptive nicotine tapering prototype developed for ECE 445. The project explores a safer, feedback-based way to reduce nicotine concentration over time while preserving the user's familiar puff routine. Instead of forcing large manual concentration jumps, FadeX uses puff behavior, user check-ins, and embedded control logic to calculate a gradual taper and prepare a target mixture.

Team Members

  • Malik Kelly - Tapering algorithm, app/chatbot interface, ESP32 integration support
  • Justin Leith - Project management, mechanical design, optical sensing support
  • Ian Zentner - MCU logic, PCB design, hardware integration

Final Prototype Overview

The final FadeX prototype centers on a Homebase ESP32 that coordinates communication, dosing logic, pump control, load-cell feedback, and concentration sensing. A simplified Handheld ESP32 is used to record puff activity and send puff-session data to the homebase. The system was demonstrated using a nicotine surrogate rather than real nicotine for safety.

The final architecture includes:

  • Homebase Controller: ESP32-based controller that runs the tapering algorithm, receives puff data, controls pumps, reads load cells, and manages safety logic.
  • Handheld Puff Input: Simplified ESP32 handheld with a puff button that records puff count/session duration and sends data to the homebase through ESP-NOW.
  • Fluid Delivery System: Peristaltic pumps used to deliver concentrate/surrogate and diluent into a mixing reservoir.
  • Load-Cell Feedback: HX711 load-cell amplifiers used to tare containers and verify delivered liquid mass.
  • UNCS Concentration Sensing: UV LED and photodiode circuitry used to support concentration feedback for the vitamin C/ascorbic acid surrogate.
  • User Interface: Blynk dashboard and/or serial-based FadeX Chatbot used to display system state, collect check-in responses, and guide the demo flow.

Tapering Algorithm

FadeX calculates the next concentration using puff behavior, treatment week, user survey feedback, and safety limits. The algorithm combines objective usage data with simple self-report inputs so that the taper can slow down or stabilize when relapse risk appears higher.

Core algorithm ideas:

  • Puff count and puff duration are collected from the handheld or demo input.
  • The user check-in classifies the session as Better, Neutral, Struggling, or Worse.
  • Trigger questions are only asked when the user reports Struggling or Worse.
  • Scenario codes classify the current user state and guide tapering behavior.
  • The next concentration is safety-clamped before pump volumes are calculated.
  • Pump delivery is verified using load-cell feedback instead of relying only on timed pumping.

Example equations:

text
A = 1.0 + S + (1.0 - Mu)
C_next = clamp(C_current - 0.28A, 0.5%, 5.0%)
V_concentrate = (C_next / 5.0) * V_total
V_diluent = V_total - V_concentrate

Repository Structure

text
/Code/              Firmware sketches, tests, and integration code
/Images/            Diagrams, presentation graphics, screenshots, and verification visuals
/Notebook_Entries/  Chronological lab notebook entries and engineering logs
/PCB/          PCB schematics, pinout references, and hardware design files

Some folders may contain uploaded final report materials, figures, or archived versions of earlier designs.

Key Subsystem Tests

The project was developed through modular tests before final integration:

  • ESP32 programming and MAC address identification
  • ESP-NOW handheld-to-homebase puff communication
  • Pump direction, flow-rate, and volume delivery tests
  • Load-cell calibration and tare verification
  • Water-by-weight dispense testing
  • UV LED PWM output testing
  • Photodiode ADC readout testing
  • Blynk dashboard and FadeX Chatbot workflow testing
  • Final integrated dosing and demo flow testing

Safety Notes

The course prototype used water and vitamin C/ascorbic acid surrogate solutions instead of nicotine for safety. The firmware and demo flow include safety-oriented behavior such as load-cell taring, staged pump pulses, maximum mixing-volume checks, and emergency stop commands. The homebase controller is responsible for safety-critical pump control rather than relying only on the app interface.

Project Tracking and Engineering Notebook

  • /Notebook_Entries/ contains chronological lab notebook entries documenting objectives, design decisions, testing, debugging, and final outcomes.
  • /Images/ contains visuals used for reports, slides, flowcharts, and verification documentation.
  • The GitHub Project/Kanban board was used during development to track subsystem progress and remaining demo tasks.

Final Deliverables

Final project materials include the final paper, video assignment, lab notebook entries, subsystem test code, algorithm visuals, and final demo documentation.

Parts

47
QtyValueFootprintReferences
510kΩResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR7, R12, R13, R16, R17
41μFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC16, C17, C28, C30
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
30.1μFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C5, C18
210μFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2
222μFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC6, C7
25.1kΩResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR14, R15
2BC817Package_TO_SOT_SMD:SOT-23Q2, Q5
1100kΩResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6
1191kΩResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4
122nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC4
14.7μFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC19
1470pFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC8
149.9kΩResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5
151kΩResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR8
16.8μHInductor_SMD:L_Bourns_SRP7028A_7.3x6.6mmL1
19.09kΩResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR9
1CH340CPackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU7
1Conn_01x02Connector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_VerticalJ1
1ESP32-WROOM-EPCM_Espressif:ESP32-WROOM-32EU9
1Load Cell 1 Con.Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_VerticalJ2
1Load Cell 2 Con.Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_VerticalJ10
1Load Cell 3 Con.Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_VerticalJ13
1Load Cell 4 Con.Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_VerticalJ5
1MP2338GTL-PPackage_TO_SOT_SMD:SOT-583-8U2
1Photodiode Con.Connector_Molex:Molex_KK-254_AE-6410-03A_1x03_P2.54mm_VerticalJ11
1Pump 1 Con.Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_VerticalJ7
1Pump 2 Con.Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_VerticalJ4
1Pump 3 Con.Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_VerticalJ9
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J3
1UVLED Con.Connector_Molex:Molex_KK-254_AE-6410-03A_1x03_P2.54mm_VerticalJ12

More from malikkelly8/ECE445-FADEX

1
  • 2 layers68.2 × 84.2 mmVAPE0F, the printed circuit board in 3D

    VAPE0F

    malikkelly8/ECE445-FADEX

    Notebook for Malik Kelly to keep track of progress in ECE 445. Also a way for the rest of the FadeX staff to see progress.

    38 parts

Similar boards

  • 2 layers47.5 × 71.5 mmESP32 Wifi2CAN Rev0.1, the printed circuit board in 3D

    ESP32 Wifi2CAN Rev0.1

    ampnics/CAN-to-WiFi-Converter-Dongle-

    CAN to WiFi Converter PCB using ESP32! This step-by-step tutorial covers schematic creation, PCB layout, and best practices for signal integrity. Perfect for automotive and IoT applications!

    72 parts9
  • 2 layers35.5 × 35 mmEval MP2338GTL, the printed circuit board in 3D

    Eval MP2338GTL

    sndsgd/eval-MP2338GTL

    A kicad version of the EV2338-TL-00A evaluation board for the MP2338GTL buck regulator. This project was created so I could test and later embed the design into a larger PCB.

    22 parts
  • 2 layers84.2 × 52 mmPicoPico, the printed circuit board in 3D

    PicoPico

    DavidVentura/PicoPico

    Pico-8 Player

    57 parts141
  • 2 layers41 × 87 mmDif pressure meter, the printed circuit board in 3D

    Dif pressure meter

    ardiloot/dif-pressure-meter

    ESP32 based differential pressure (and air flow) meter. Handheld, battery powered DIY device for measuring small pressure differences (Sensirion SDP810-500Pa).

    68 parts23MIT
  • 2 layers190 × 75 mmAVT2022 Badge Final, the printed circuit board in 3D

    AVT2022 Badge Final

    epremeaux/AVTokyo_2022_Badge

    AVTokyo 2022 event badge PCB, firmware and server code.

    72 parts9
  • 2 layers82 × 82 mmFtduino32, the printed circuit board in 3D

    Ftduino32

    harbaum/ftduino32

    ESP32 based variant of the ftDuino

    157 parts5
  • 4 layers85.1 × 53.3 mmEsp32-faerfly V2.0, the printed circuit board in 3D

    Esp32-faerfly V2.0

    low-poly-studio/esp32-faerfly

    Imogen Wren Business Card Light Show PCB

    103 parts5
  • 2 layers40 × 98 mmAirquality, the printed circuit board in 3D

    Airquality

    LukasLendvorsky/airquallity-esphome

    WIFI airquality sensor with ESP32

    59 parts3GPL-3.0

Questions

How big is the HOMEBASE MNTL PCB?

It measures 70.7 × 94.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the HOMEBASE MNTL use?

47 parts, built around the CH340C, MP2338GTL-P and BC817. 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 HOMEBASE MNTL KiCad files?

From the malikkelly8/ECE445-FADEX repository on GitHub, at the commit this page was made from: the board is PCB/HOMEBASE_MNTL.kicad_pcb and its schematic PCB/HOMEBASE_MNTL.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the HOMEBASE MNTL design in my own project?

Its repository states no licence, so its author keeps all rights: ask malikkelly8 before reusing the design.