🌸
HigiBox
Back Home
Final Project  ·  Fab Academy 2026

Intelligent
Menstrual Care Dispenser

A smart, touchless dispenser that combines digital fabrication, IoT connectivity, and cycle-aware intelligence to make menstrual care more accessible, organized, and empowering.

FemTech IoT XIAO nRF52840 Touchless Smart Monitoring Fab Academy
HigiBox Concept
Stock: 87%
Sensor Active
Wi-Fi Online
3 Products
Auto-Dispense
3
Product Compartments
6+
Integrated Sensors
nRF52840
Microcontroller Core
100%
Touchless Interaction
01
Project Overview

What is HigiBox?

The Intelligent Menstrual Care Dispenser — nicknamed HigiBox — is a smart device designed to improve access to menstrual hygiene products through automation, sensors, and connected technology.

Instead of being just a storage container, the device works as a smart companion system that provides hygienic product dispensing, stock monitoring, and cycle-aware notifications. By combining digital fabrication, electronics, and IoT connectivity, the project aims to make menstrual care more accessible, organized, and empowering.

FemTech Vision: This project lives within the FemTech field — technology that addresses long-standing gaps in women's health and promotes a more open and informed relationship with menstrual care.
Final Project Concept Sketch
The Three Pillars
🌸
Hygienic Access

Touchless, sensor-driven dispensing removes the need for manual contact — improving hygiene and ease of use.

📊
Smart Monitoring

Real-time stock sensing and weight measurement ensure you always know what's available inside the device.

📱
Connected Intelligence

A paired mobile app delivers refill alerts, cycle reminders, and supportive notifications via Bluetooth.

🔧
Digital Fabrication

Designed entirely through Fab Academy skills — CNC milling, PCB design, 3D printing, and embedded programming — combining all weeks into a single cohesive product.

02
Core Features

What It Does

Click each feature to explore how the system works. HigiBox is designed as a modular intelligent system — each feature can operate independently while contributing to the overall smart experience.

🤚Touchless
📦Compartments
📈Stock Monitor
🔔Notifications
Controller

Touchless Interaction

A proximity sensor continuously monitors the area in front of the dispenser. When it detects a user's hand within range, the system activates automatically — no buttons, no contact required.

  • Infrared proximity sensor (D6 pin)
  • Sub-100ms response time
  • Reduces cross-contamination
  • Accessible for all users including those with mobility challenges
  • Visual confirmation via LED strip (WS2812B)
INTERACTION SEQUENCE
Hand detected → Sensor fires → Controller reads D6 → Motor activates → LED confirms → Product dispensed

Multi-Product Compartments

The device contains three independent compartments, each controlled by a dedicated servo motor. Products are dispensed one at a time with precision, selected by the user or suggested by the app.

  • Compartment A — Day pads (light flow)
  • Compartment B — Night pads (heavy flow)
  • Compartment C — Cramp relief pills (pain management during menstruation)
  • Each servo independently addressable via PWM
  • Mechanism tracked by motor encoder

Smart Stock Monitoring

Every compartment has an optical sensor that detects product presence. Additionally, a load cell with HX711 amplifier measures the total weight of remaining stock for precise quantity estimation.

  • 3× optical sensors for per-compartment status
  • Load cell on A0 for weight-based counting
  • Low-stock threshold alerts (configurable)
  • Stock data pushed to app via Bluetooth
  • Historical usage analytics

Supportive Notifications

HigiBox is more than a dispenser — it's a cycle companion. The connected mobile app provides information, alerts, and support tailored to the user's needs.

  • Refill alerts when stock is below threshold
  • Product availability status per compartment
  • Cycle-related reminders and suggestions
  • Motivational and supportive messages
  • Usage history and patterns

XIAO nRF52840 Controller

The brain of HigiBox is the compact XIAO nRF52840 — chosen for its built-in wireless connectivity, powerful processing, and tiny form factor that fits perfectly within the device housing.

  • Built-in Bluetooth 5.0 + BLE — ultra-low power wireless
  • Programmable via Arduino IDE
  • USB-C charging and programming
  • No external communication modules required
  • Ultra-low power consumption for long battery life
dispensed_product: "night_pad"
stock_status: "low"

⚙️ How It Works — System Flow

Click each step to see what happens inside HigiBox during a single dispense cycle.

Step 01
🤚
Detection
Hand in range
Step 02
🧠
Decision
Controller logic
Step 03
⚙️
Dispense
Motor activates
Step 04
📡
Report
Data sent to app

🤚 Step 1 — Hand Detection

  • IR proximity sensor on pin D6 continuously scans
  • When a hand enters range (<15 cm), sensor output changes state
  • nRF52840 interrupt fires within milliseconds
  • LED strip pulses rose to signal system activation

🧠 Step 2 — Controller Decision

  • Microcontroller checks which compartments have stock
  • Optical sensors confirm product presence per slot
  • LCD display shows available product options
  • Default: dispenses from highest-priority compartment with stock

⚙️ Step 3 — Dispensing

  • Servo motor on selected compartment (D9 or D10) activates via PWM
  • DC motor drives main mechanical movement
  • Motor encoder confirms dispense completed correctly
  • Load cell reads new weight to update stock count

📡 Step 4 — Reporting

  • XIAO nRF52840 sends updated stock data via Bluetooth BLE
  • Mobile app receives product type, quantity remaining, timestamp
  • If stock crosses low threshold, push notification sent automatically
  • Data logged for usage history and cycle patterns
03
Hardware

Components & Electronics

Microcontroller — XIAO nRF52840
XIAO nRF52840 XIAO nRF52840 Pinout
📶
Built-in Wireless

Bluetooth 5.0 + BLE — ultra-low power wireless communication, no external module needed.

🔬
Compact Form

21mm × 17.5mm footprint — ideal for embedding in a small device housing.

💻
Arduino IDE

Fully programmable with the standard Arduino ecosystem and nRF52840 libraries.

USB-C

Modern USB-C connector for power and programming. No extra programmer needed.

🔌 All Hardware Components

👁️
IR / Proximity Sensor
Touchless hand detection — triggers the dispense cycle
🔭
Optical Sensors ×3
Per-compartment stock detection — digital output
⚖️
Load Cell + HX711
Analog weight measurement for precise stock counting
🔢
Motor Encoder
Tracks mechanism position and confirms dispensing
🌀
Servo Motors ×3
PWM-driven compartment gates — independent per slot
⚙️
DC Motor
Main mechanical drive for the dispensing mechanism
📟
LCD Display (I2C)
User-facing status, product info, and stock display
💡
LED Strip WS2812B
Addressable RGB strip for visual status and ambiance
🔴
Status LED
System health and connection indicator on pin D8

📋 Component Pin Mapping

Digital Sensors

SensorQtyFunctionPin
IR / Proximity Sensor1Detect handD6
Optical Sensors3Detect stock levelDigital header
Power Button1Turn device on/offD7
Motor Encoder1Track mechanismDigital header

Analog Sensor

SensorQtyFunctionPin
Load Cell (HX711)1Measure product weightA0

Actuators & Outputs

ComponentQtyInterfacePin
Servo Motors3PWMD9, D10
DC Motor1Motor driverExternal
LCD Display1I2CSDA, SCL
LED Strip1DigitalHeader
Status LED1DigitalD8
04
PCB Design

Circuit Board Strategy

The PCB was redesigned to simplify routing and improve manufacturability. Instead of integrating every component directly on the board, the design uses external headers for sensors and actuators — reducing trace crossings and making the system more modular.

🔋
Power Distribution

Clean power rails for 3.3V logic and 5V motor supply, with proper decoupling.

🔘
Status LED

On-board indicator for system state — powered, connected, error conditions.

🔌
Connection Headers

All sensors and actuators connect via header pins — replaceable and serviceable.

🔲
Power Button

Dedicated power button footprint on D7 for clean on/off control.

🔌 Interactive Pin Map

Hover each pin row to highlight. The bar shows relative signal complexity.

XIAO nRF52840 — Pin Allocation
D6
IR Proximity Sensor (input) Digital
D7
Power Button (input) Digital
D8
Status LED (output) Digital
D9
Servo Motor 1 (PWM) PWM
D10
Servo Motor 2 (PWM) PWM
A0
Load Cell HX711 (analog) Analog
SDA
LCD Display I2C data I2C
SCL
LCD Display I2C clock I2C
3V3
Logic power rail Power
GND
Common ground Power

📊 Pin Summary

Pin TypeQuantityUsed For
Digital Pins4–5Sensors, button, LED
Analog Pins1Load cell / weight
PWM Pins2Servo motors
I2C Pins2LCD display
Power PinsMultiple3.3V, 5V, GND rails
🔧 PCB Design Philosophy — Modularity First +

The key design decision was to move away from an all-in-one PCB toward a hub-and-spoke model. The main board handles power, the microcontroller, and essential I/O. All sensors, actuators, and outputs connect via labeled header pins.

This choice was driven by three priorities:

  • Repairability — any sensor can be replaced without reflowing the board
  • Routing simplicity — fewer crossings mean fewer vias and less signal noise
  • Iterability — hardware can be upgraded compartment-by-compartment
05
Mobile Application

Connected Companion App

The HigiBox app is the user's window into their dispenser. It connects over Bluetooth to the XIAO nRF52840, receiving real-time stock data and sending configuration updates. The app interface is designed to be calm, supportive, and informative.

HigiBox
Stock Levels
Day pads
87%
Night pads
42%
Cramp pills
12%
⚠️ Cramp relief pills running low — consider refilling soon.
💙 You've got this. Cycle day 3 — stay hydrated.

App preview mockup

🔔
Smart Alerts

Push notifications when any compartment drops below the configured threshold. Never run out unexpectedly again.

📅
Cycle Reminders

Sync with cycle tracking for proactive product suggestions — ensures the right products are stocked at the right time.

💬
Supportive Messages

Calm, motivational, and informative messages. The app is designed to feel like a caring companion, not a clinical tool.

Data Privacy: All stock and usage data is stored locally on the device and only transmitted to the user's own app instance. No data is shared with third parties.