
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.

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.
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.
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.
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:
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:
Better, Neutral, Struggling, or Worse.Struggling or Worse.Example equations:
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/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 filesSome folders may contain uploaded final report materials, figures, or archived versions of earlier designs.
The project was developed through modular tests before final integration:
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.
/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.Final project materials include the final paper, video assignment, lab notebook entries, subsystem test code, algorithm visuals, and final demo documentation.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 10kΩ | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R7, R12, R13, R16, R17 |
| 4 | 1μF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C16, C17, C28, C30 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 3 | 0.1μF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C3, C5, C18 |
| 2 | 10μF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C2 |
| 2 | 22μF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C6, C7 |
| 2 | 5.1kΩ | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R14, R15 |
| 2 | BC817 | Package_TO_SOT_SMD:SOT-23 | Q2, Q5 |
| 1 | 100kΩ | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R6 |
| 1 | 191kΩ | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4 |
| 1 | 22nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C4 |
| 1 | 4.7μF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C19 |
| 1 | 470pF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C8 |
| 1 | 49.9kΩ | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R5 |
| 1 | 51kΩ | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R8 |
| 1 | 6.8μH | Inductor_SMD:L_Bourns_SRP7028A_7.3x6.6mm | L1 |
| 1 | 9.09kΩ | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R9 |
| 1 | CH340C | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U7 |
| 1 | Conn_01x02 | Connector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_Vertical | J1 |
| 1 | ESP32-WROOM-E | PCM_Espressif:ESP32-WROOM-32E | U9 |
| 1 | Load Cell 1 Con. | Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical | J2 |
| 1 | Load Cell 2 Con. | Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical | J10 |
| 1 | Load Cell 3 Con. | Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical | J13 |
| 1 | Load Cell 4 Con. | Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical | J5 |
| 1 | MP2338GTL-P | Package_TO_SOT_SMD:SOT-583-8 | U2 |
| 1 | Photodiode Con. | Connector_Molex:Molex_KK-254_AE-6410-03A_1x03_P2.54mm_Vertical | J11 |
| 1 | Pump 1 Con. | Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical | J7 |
| 1 | Pump 2 Con. | Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical | J4 |
| 1 | Pump 3 Con. | Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical | J9 |
| 1 | USB_C_Receptacle_USB2.0_16P | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J3 |
| 1 | UVLED Con. | Connector_Molex:Molex_KK-254_AE-6410-03A_1x03_P2.54mm_Vertical | J12 |

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.

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!

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.


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).

epremeaux/AVTokyo_2022_Badge
AVTokyo 2022 event badge PCB, firmware and server code.



It measures 70.7 × 94.5 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
Its repository states no licence, so its author keeps all rights: ask malikkelly8 before reusing the design.