The HW-827 Pulse Sensor is a low-cost, plug-and-play optical heart-rate sensor. It features a green LED emitter and a photodetector sensor. When clipped onto a finger or earlobe, it reads the changing light reflection changes caused by arterial pulse waves.
1. Hardware Specifications & Pinout
- Operating Voltage: 3.3V to 5.0V.
- Output Signal: Raw analog voltage wave.
- Pin Configuration:
- + / VCC: Connect to 3.3V or 5V.
- - / GND: Connect to Ground.
- S (Signal): Connect to any ADC pin.
2. How it Works (Analog PPG Wave)
As the heart pumps blood through the finger, the capillaries expand and contract, modulating the absorption of the green light. The sensor outputs a fluctuating analog wave representing this volumetric change.
- Pulse Threshold: To detect a beat, the code checks when the signal rises above a threshold percentage (e.g. 60% of max).
- Refractory Period: A 300ms lock-out timer is applied after detecting a beat to avoid counting the dicrotic notch (secondary wave peak) as a double beat.
3. Component Properties
The HW-827 now has a real simulated component (hw827_pulse_sensor) — drag it onto the Circuit
Canvas from the Components palette. It exposes exactly one prop:
- Heart Rate (
bpm) — range 40–180 BPM, default 72.
All three pins are wired: VCC/GND power the module (the sensor is considered powered once VCC exceeds 2.5V, with a LOW VCC fault between 2.5V and 3.0V), and S is a real analog output pin — see Section 5's important note on what it actually outputs electrically.
4. Simulator Behavior
With the component placed and the circuit running:
- Click-drag the vertical slider on the right side of the component (visible only during
simulation) to set
bpmanywhere from 40 (🧘 resting) to 180 (🏃 exertion) BPM. - The silkscreen heart icon pulses with a real CSS animation timed to
60 / bpmseconds per beat — faster at a high BPM, slower at a low one — genuinely synced to the currentbpmvalue, not just a fixed-rate decoration. - The green optical emitter LED glows while powered.
- A live text readout shows
❤️ <bpm> BPM | PPG: Activecontinuously while powered — always visible, not a hover-only tooltip.

