EmbeddedRelated.com

Wearable Heartbeat Monitor with LED Visualizer

A wearable heartbeat monitor that flashes an LED in real-time synchronization with the user's pulse.

Intermediate Project — Integrating electronics into clothing requires managing flexible wiring and motion-related signal noise, which is more complex than a standard stationary prototype.
Assumptions:
  • The device will use a finger or earlobe-based optical pulse sensor for the prototype.
  • Battery power is required for wearable integration.
  • The LED needs enough current to be visible through or on clothing.

Bill of Materials

Microcontroller
Top Pick ADAFRUIT-ITSYBITSY-M4 Adafruit
Top pick: ADAFRUIT-ITSYBITSY-M4 (Adafruit). Small footprint with high-speed 120MHz processor and excellent 5V output support for driving bright LEDs.
NUCLEO-L432KC STMicroelectronics From our database
Ultra-low-power consumption and Arduino Nano compatibility, perfect for optimizing battery life in a wearable.
Sensor
Top Pick SEN-11574 SparkFun
For a prototype, the SEN-11574 is the best choice as it provides a pre-filtered analog output that is easy to process on any microcontroller ADC and can be easily sewn or clipped to clothing.
Digikey $31.88 (110 in stock)
MAX30102ACCEVWBD Maxim Integrated
Professional-grade digital I2C pulse oximetry and heart-rate sensor with integrated red and IR LEDs for high precision.
AD8232-EVALZ Analog Devices
An ECG-based heart rate monitor lead system that provides a much cleaner R-wave signal compared to optical sensors.
Display
Top Pick WP7113SRD Kingbright From our database
The WP7113SRD is a great choice because its high brightness (Super Red) ensures the 'sync' flash is clearly visible even if the LED is placed behind a layer of T-shirt fabric.
Digikey $0.66 (19,663 in stock)
NEOPIXEL-NANO-2020 Adafruit
Ultra-tiny addressable RGB LED allowing for color-coded heart rate zones (e.g., green for resting, red for high heart rate).
LTL-307EE Everlight From our database
Standard efficient red LED with low current requirements, suitable for extending battery life.
Power Supply
Top Pick MAX1555 Maxim Integrated From our database
Top pick: MAX1555 (Maxim Integrated). Dedicated Li-Ion charger IC that allows the wearable to be recharged via USB safely.
MIC5504-3.3YM5-TR Microchip Technology From our database
High-performance 300mA LDO to regulate battery voltage down to a stable 3.3V for the MCU and sensor.

Compatibility Notes

  • The SEN-11574 sensor requires 3.3V-5V; the recommended XIAO-RP2040 provides a 3.3V output which is compatible.
  • The WP7113SRD LED requires a current-limiting resistor (approx 150-220 ohms) when driven from the MCU's 3.3V GPIO.
  • The MAX1555 charger requires a 5V input (from USB) to charge the LiPo battery.

You'll Also Need

  • Conductive thread or flexible silicone-coated wire for clothing integration
  • Velcro or snap buttons for mounting the sensor to the skin
  • 150-ohm resistor (0805 or through-hole) for the LED
  • Breadboard or small protoboard for assembly
Estimated BOM Cost: $75-85 (based on live distributor pricing)
Add to Digi-Key Cart

Design Considerations

Signal Filtering
Heartbeat signals from optical sensors are prone to motion artifacts. You must implement a software band-pass filter (0.5Hz to 4Hz) or a moving average window to prevent the LED from flashing due to body movement rather than a pulse.
Battery Management
Since the device is wearable, use a LiPo battery with an integrated protection circuit (PCM) to prevent over-discharge. The MAX1555 should be paired with a physical slide switch to completely disconnect the battery when not in use, as LDO quiescent current can drain a small cell over weeks.
Motion Sensitivity
Optical Pulse Sensors (PPG) are highly sensitive to the pressure applied against the skin. For clothing integration, use an elastic band to maintain constant, light pressure; too much pressure restricts blood flow (killing the signal), while too little introduces massive noise.
Skin Contact and Sweat
Sweat can short-circuit exposed pads on the sensor. The sensor back should be coated with a thin layer of clear epoxy or wrapped in heat-shrink tubing (leaving the optical window clear) to provide moisture resistance against skin contact.
Interrupt-Driven LED
To ensure the LED flashes in 'exact sync', use an ADC interrupt or a hardware timer to sample the sensor at a fixed rate (e.g., 100Hz). Detect the peak of the waveform in software and trigger the LED immediately to minimize perceived latency.

Want to customize this project or build something different?

Try the Project Advisor