Project Files of Heart Beat Sensor Library for Proteus V3.0 (Pulse Sensor + Arduino)
heart-beat-sensor-tep-v3-0-f5ac72bb5df74322be9a36634559dfef.zip

Heart Beat Sensor Library for Proteus V3.0
Heart Beat Sensor Library for Proteus V3.0 comes as a ZIP archive of 12 files (1.4 MB, 3.1 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware.
- LIBProteus library
- IDXProteus library index
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- HEXHEX firmware
Description
This is the download page of Heart Beat Sensor Library for Proteus V3.0, the file package of the tutorial Heart Beat Sensor Library for Proteus V3.0 (Pulse Sensor + Arduino), published on The Engineering Projects in October 2026. Here you get the ZIP file (1.4 MB) with the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware, the list of files it contains, the README when there is one, and the installation steps in order.
What this library is
Heart-Beat-Sensor-Library-for-Proteus-v3.0.zip with Heart Beat Sensor Simple and Advance (TEPPULSESENSOR.LIB and TEPPULSESENSOR.DLL), the TEP Serial Monitor and Arduino UNO libraries for Proteus, the two-UNO BPM monitor simulation with its HEX file, the demo sketch and a README.
This is version 3.0; older or newer releases, when they exist, are listed in the Development tab.
What is inside the ZIP file
- ArduinoV3TEP.LIB – Proteus library, 95.6 KB
- TEPPULSESENSOR.LIB – Proteus library, 136.3 KB
- TEPSERIALMON.LIB – Proteus library, 11.1 KB
- ArduinoV3TEP.IDX – Library index, 830 B
- TEPPULSESENSOR.DLL – Simulation model, 431 KB
- TEPSERIALMON.DLL – Simulation model, 978 KB
- and 6 more, all listed in the File Structure tab
The archive unpacks to 3.1 MB and carries its own README (README.txt), shown in the README tab above.
How to download
Use the download panel at the top of this page: after the counter (30 seconds for guests, 10 for members) the black button unlocks and the ZIP file comes straight from our content network. If the browser opens it instead of saving, use Save as; extract the whole archive before using anything inside it.
How to install
- Step 1: Extract the ZIP file with Windows (Extract All), 7-Zip or WinRAR, keeping its folders.
- Step 2: Close Proteus and copy ArduinoV3TEP.LIB, TEPPULSESENSOR.LIB and TEPSERIALMON.LIB and ArduinoV3TEP.IDX into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
- Step 3: Copy TEPPULSESENSOR.DLL and TEPSERIALMON.DLL into the MODELS folder next to it, so the part simulates.
- Step 4: Start Proteus, press P and search for "ArduinoV3TEP"; place and wire it as in the tutorial.
- Step 5: Open Heartbeat_BPM_Monitor.ino in the Arduino IDE, pick board and port and Verify (Export Compiled Binary gives the HEX).
- Step 6: In Proteus set the controller's Program File to Heartbeat_BPM_Monitor.hex; on hardware, flash the same file.
- Step 7: Open HEARTBEAT-BPM-Monitor-ArduinoUnoV3.pdsprj in Proteus and press Play.
Read the detailed guide
This page is for the files. The full tutorial, Heart Beat Sensor Library for Proteus V3.0 (Pulse Sensor + Arduino), explains the circuit and the code step by step and shows the working results and the simulation; read it before you build. Questions about the download or the installation go in the comments below; more Proteus downloads are listed further down this page.
File Structure
9.7 KB830 B95.6 KB136.3 KB11.1 KB431 KB978 KB37.6 KB16.9 KB431 KB978 KB31.4 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Heart Beat Sensor Library for Proteus V3.0 (Pulse Sensor + Arduino). Open an image for its full size.












README
HEART BEAT SENSOR LIBRARY FOR PROTEUS - V3.0
Designed by The Engineering Projects
www.TheEngineeringProjects.com
IMPORTANT LINKS
Article (read it first - pictures, step by step, every feature explained):
https://www.theengineeringprojects.com/2026/10/heart-beat-sensor-library-for-proteus-v3-0.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/heart-beat-sensor-proteus-library
The demo uses our TEP Serial Monitor Advance (included) instead of Proteus's
Virtual Terminal - its own article:
https://www.theengineeringprojects.com/2026/10/serial-monitor-advance-proteus-library.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
PULSESENSOR-TEP-v3.0/
|-- Proteus Library Files/
| |-- ArduinoV3TEP.IDX 0.8 KB its index -> LIBRARY folder
| |-- ArduinoV3TEP.LIB 95.6 KB TEP Arduino UNO (demo) -> LIBRARY folder
| |-- TEPPULSESENSOR.LIB 136.3 KB heart beat sensor Simple / Advance -> LIBRARY
| |-- TEPSERIALMON.LIB 11.1 KB TEP Serial Monitor Advance -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPPULSESENSOR.DLL 431.0 KB heart beat sensor model -> MODELS folder
| |-- TEPSERIALMON.DLL 978.0 KB Serial Monitor model -> MODELS folder
|-- Proteus Simulation/
| |-- Heartbeat_BPM_Monitor.hex 16.9 KB both UNOs (demo sketch V3.0)
| |-- HEARTBEAT-BPM-Monitor-ArduinoUnoV3.pdsprj 37.6 KB demo: UNO 1 + Simple, UNO 2 + Advance
| |-- TEPPULSESENSOR.DLL 431.0 KB copy of the model so the demo runs as is
| |-- TEPSERIALMON.DLL 978.0 KB copy of the monitor model
|-- Arduino Code/
| |-- Heartbeat_BPM_Monitor/Heartbeat_BPM_Monitor.ino 9.7 KB the demo sketch (source of the .hex)
|-- README.txt ~32.4 KB this file
Total: 3.08 MB (unzipped). The C++ source code of the model is not included.
WHAT IS IT?
A simulation model of the popular optical heart beat sensor (the PulseSensor.com
style round green board: a green LED and a light sensor on the front, an op-amp
on the back, three wires S + -) for Proteus 8. It is an ANALOG model - the
sensor is a real voltage source with its output resistance inside Proteus's
SPICE simulator - so the voltage on S is a real voltage your Arduino reads with
analogRead():
* At rest S sits at half the supply (analogRead about 512). With a finger on
the sensor every heartbeat adds a pulse: a quick rise (the systolic peak), a
slower fall with a small shoulder (the dicrotic wave) and a slight dip below
512 before the next beat (the sensor's filter) - the photoplethysmogram (PPG)
you see in the Arduino Serial Plotter.
* NORMAL finger pressure: peaks about 645, troughs about 463 (the usual 550
threshold finds every beat); WEAK: peaks about 535 (550 finds nothing - a
lower threshold does); STRONG: peaks about 747.
* The person: heart rate 30 - 220 BPM (presets ramp there in about 3 s), AFTER
EXERCISE (+70 BPM, at most 190, fading with a 25 s time constant), ARRHYTHMIA
(irregular beats, premature beats with a pause), breathing (each interval
moves by up to 3 % at rest, less at a fast rate).
* The finger: placing it swings S far up and it settles in about 2 s, lifting
it swings S down; SHAKE THE FINGER adds a 2 s motion artifact (false and
missed beats); the ambient light DIM / ROOM / BRIGHT (bright light without a
finger crosses 550 now and then, like the real sensor).
The part looks like the real thing: the round green board with the heart
outline, the green LED and the light sensor, the S + - pins. While the
simulation runs the heart on the board glows red with the measured S, the green
LED is lit with the supply, the red PWR LED and the pink BEAT LED (it blinks on
every beat the demo sketch finds) - the PWR and BEAT LEDs and the PULSE CELL are
TEP additions (a real board has only its green LED). The PULSE CELL next to the
board draws the last 3 s of S with the 550 line and a heart on every beat, and
says "HEART 75 BPM | FINGER ON" and what the demo sketch reads ("S 2.51 V
ADC 515 SKETCH 75 BPM").
TWO DEVICES IN ONE LIBRARY (search "PULSE" in Pick Devices):
Simple device PULSESENSORTEP "Heart Beat Pulse Sensor - Simple"
On-Sheet Panel: the PULSE SCENE next to the board - the finger on
the sensor (click it to place / lift it), the person's heart with the
rate track, a 5 s PPG scope with the 550 line and the beats, the
readouts BPM / IBI / S / ADC / BEATS / SKETCH (the BPM the demo
sketch prints) and the buttons: FINGER, HEART RATE presets, FINE TUNE,
ACTIVITY, ARRHYTHMIA, SIGNAL, MOTION ARTIFACT, AMBIENT LIGHT. The red
X in the panel's header closes it, the PANEL: SHOWN / CLOSED button
on the board opens it again.
Advance device PULSESENSORADVTEP "Heart Beat Pulse Sensor - Advance"
Pop-Up Panel: only the board (and its pulse cell) on the schematic; at
Run a TEP pop-up window "TEP Heart Beat Sensor Advance" opens - the
same look as the TEP Serial Monitor (move it by its header, resize it,
minimise it). The tabs Pulse and Test sit in the header; the gear and
? icons open Settings and Help; the palette icon switches the theme:
Pulse the live scene (finger, heart, PPG), WHAT THE SENSOR DOES -
all measured: the supply, S (volts and % of VCC), the UNO's
ADC count, the signal's range, what the demo sketch prints,
the true heart rate, the beats, the LEDs - THE PERSON (a
rate slider 30 - 220 BPM, the presets, - 1 / + 1, finger
off / on, resting / exercised, regular / arrhythmia, shake,
weak / normal / strong, dim / room / bright; while an effect
moves the rate the slider keeps your rate as the base, an
amber mark and a "now" line show the heart), a chart of the
last 20 s (S, the heart's rate and the sketch's BPM) and
the PIN / EVENT LOG (power, finger, rate, effects, every
beat the sketch finds with its IBI and BPM, no pulse, tools)
Test four tools measured on the running model: BPM accuracy,
Signal & threshold, Rate step, Artifacts & light (see THE
TEST TOOLS below)
Settings theme (TEP Dark / Light), text size, open at Run, window
size - remembered for your Windows user
Help Help & Support like the TEP Serial Monitor: report a bug,
suggest a feature, article, user guide, updates, donate,
website, forum; Copy diagnostics for a bug report
The OPEN PANEL button on the board opens the window again after you
close it.
Both use the same model (TEPPULSESENSOR.DLL).
NEW IN V3.0
* Two devices: Simple (the PULSE SCENE panel on the sheet, close / open with the
red X and the board's PANEL button) and Advance (pop-up window with the scene,
measured values, the controls, a chart, the pin / event log, four test tools,
settings and help) - see above.
* The board: drawn clean and bold in the real colours - the round green board
with the white heart, the green LED and the light sensor, the S + - pins - with
the PWR and BEAT LEDs (TEP additions), a PANEL / OPEN PANEL button and a
SIMPLE / ADVANCE badge; the heart glows with the measured S; next to it the
animated PULSE CELL.
* The pulse wave: after the peak the signal falls with a smooth shoulder (the
dicrotic wave) instead of a dip and a second bump, so from the peak to the next
beat it only falls - every threshold finds exactly one beat per heartbeat at
any rate (30 - 220 BPM).
Breathing moves each interval by up to 3 % at rest and much less at a fast
rate (as a real heart).
* "(base) / now": the presets and the slider set the person's resting rate (the
base); AFTER EXERCISE, ARRHYTHMIA and a preset still ramping move the rate on
their own - the panel shows both (the knob = base, the amber mark = now).
* The UNO's ADC exactly as Proteus's AVR converts it (round(1024 x V / 5 V)), so
the panel's ADC / SKETCH readouts and the Serial Monitor print the same numbers.
* Proteus stays fast: the model asks for fine time steps only on the steep rise
of each beat (2 ms there, 4 ms elsewhere - still at least one point per 5 ms
sketch reading), the sheet is redrawn only where something changes (at most 10 - 12.5 times a
second) and the pop-up window follows the model at most 5 times a second -
about 0.55 x real time in Proteus with the pop-up open and a test running.
REDRAW=FULL (an extra property) redraws everything on every frame if you ever
see a stale part.
* Before Run the panel's buttons are all drawn unselected; at Run the model lights
the selection and paints a clean card edge around every button, the banner and
the readouts it redraws (Proteus draws the symbol's boxes a little bigger than
the model's - without the edge a thin rim of the start-up colour would show).
The Test page's
result tiles show "-" until a tool has measured them.
* The demo: ONE project with two UNOs - UNO 1 with the Simple sensor, UNO 2 with
the Advance sensor - each with the TEP Serial Monitor Advance instead of the
Virtual Terminal (U3 = UNO 1, U4 = UNO 2, quick buttons) and a green beat LED
on D13.
* The demo sketch (V3.0) needs no library: it prints "Signal: 515" four times a
second, "BPM: 75 (IBI 800 ms)" on every beat and "No pulse - place your
fingertip on the sensor" when the beats stop, and answers the commands HELP,
STATUS, READ, EVERY ms, THRESHOLD n, REARM n and RESET. It prints nothing
periodically but the readings, and no line is longer than 80 characters.
* Sheet text is plain ASCII (Proteus draws schematic text with the ANSI code
page). The C++ source code is not included.
TEST STATUS
V3.0: verified in Proteus 8.5 on 9 Oct 2026 (the demo project as shipped: two
UNOs, both Serial Monitors and U2's pop-up open). What the run showed:
* The project loads and starts cleanly. U3 / U4 print the start lines,
"Pulse found - measuring...", "Signal: ..." four times a second and
"BPM: 75 (IBI 773 ms)" on every beat for a heart at 73 - 77 BPM.
* One beat per heartbeat: the event log reads "Beat: IBI 825 ms -> the sketch
prints BPM 75 (heart 73)"; 473 true beats, 446 found by the sketch (the
first seconds are before "Pulse found").
* BPM accuracy (8 rates): worst error 1.0 BPM, spread 1 BPM, one 5 ms step at
180 BPM = 2.7 BPM; 40 -> 39, 50 -> 50, 60 -> 60, 75 -> 75, 90 -> 89,
120 -> 122, 150 -> 150, 180 -> 180.
* Signal & threshold: WEAK 534 / 503 - 550 finds 0 of 6, use 518 / 513 for 6
of 6; NORMAL 641 / 463 - 7 of 7 (use 546 / 506); STRONG 746 / 424 - 7 of 7
(use 577 / 502); the Playground rule 0 of 6, 7 of 7, 7 of 7.
* Rate step (60 -> 120, natural, 3 steps): the heart 10 - 90 % in 2.20 s, the
sketch in 2.62 / 3.65 / 2.64 s, lag 2.52 / 2.45 / 2.51 s, settled after
4.22 / 5.11 / 4.74 s, 35 BPM lines.
* Artifacts & light: clean 10 of 10; 2 x SHAKE 2 false / 2 missed; BRIGHT
light with the finger 7 of 7, 0 false; no finger in BRIGHT light 1 false in
6 s; DIM 0 (3 false beats in all).
* On the sheet: AFTER EXERCISE shows "(base) 75" and a 131 BPM heart, STRONG
works, the banner reads "PULSE DETECTED - S RISES ABOVE 550 ON EVERY
HEARTBEAT", no rim around RESTING / NORMAL, the red X and PANEL work.
* Speed: about 0.55 x real time (67 s simulated in 121 s) with the BPM
accuracy tool running, U2's pop-up and both Serial Monitors open.
Plus 3,342 automatic checks on a PC, 0 failed:
175 on the model (the wave's shape and one beat per cycle at 33 rates and 10
reading phases, rates, ramps, exercise, arrhythmia, breathing, the finger,
motion, light, the UNO's ADC (rounded, as Proteus), the demo sketch's maths,
the four tools on the pure model);
248 on the complete Proteus model in a small SPICE solver (the stamps, S at
every step, ratiometric, no power, a GND offset, the timestep caps, every panel
button, properties, both devices, the red X / PANEL button, the pop-up made at
Run, the board's live parts, the event log, every sheet text ASCII and clear of
the buttons in every state, the sheet redrawn only on a change, no rim of the
symbol's colour around any redrawn button or box, every accepted time step on
its own (the same beats with fine and with coarse steps), the four tools on
the running model, the pop-up's repaint limit);
38 with the REAL demo sketch on TWO UNOs against the complete model (every
output line, the panel's numbers = the sketch's, the beat LED, every command,
the finger off / on, WEAK + THRESHOLD / REARM, 265 printed BPM lines at 40 -
180 BPM (11 rates, 5 reading phases, fine and coarse time steps) within 3 BPM
of the heart, the BPM accuracy tool = what the sketch printed, no line over 80
characters);
2,881 on the rendered pop-up pages and boards (every page fits in TEP Dark and
Light, at Large text and 150 % DPI; no table cell cut; every Test page uses its
height; every tool's hint lines fit; every header state fits; the result tiles
show "-" before a run and a value after it).
INSTALLATION (about 2 minutes)
1. Close Proteus. Extract the WHOLE ZIP to a normal folder (e.g. Desktop).
2. Copy everything in "Proteus Library Files" (TEPPULSESENSOR.LIB with both
devices, TEPSERIALMON.LIB and the TEP Arduino UNO V3 library ArduinoV3TEP.LIB /
.IDX used by the demo) to the LIBRARY folder of Proteus, for example:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
(on some PCs: C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\
LIBRARY - use the folder that already holds Proteus's own .LIB files).
3. Copy TEPPULSESENSOR.DLL and TEPSERIALMON.DLL from "Proteus Model Files" to the
MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPPULSESENSOR.IDX from the LIBRARY folder if there is one (Proteus
makes a new index). Earlier versions of our heart beat sensor library may use
other file names - you can keep them.
5. Start Proteus. In Pick Devices (P) search "PULSE": you get the two devices
(category Sensors > Biometric).
RUN THE DEMO
"Proteus Simulation\HEARTBEAT-BPM-Monitor-ArduinoUnoV3.pdsprj" - keep the .hex
file and the two DLLs beside the project.
UNO 1 (ARD1): sensor Simple (U1) + Serial Monitor U3, beat LED D1 on D13.
UNO 2 (ARD2): sensor Advance (U2) + Serial Monitor U4, beat LED D2 on D13.
Both run Heartbeat_BPM_Monitor.hex. + of each sensor on a +5V terminal, - on
ground, S on A0.
1. Press Run. Both monitor windows open (9600 baud) and so does U2's pop-up.
U3 and U4 show "Heartbeat Pulse Sensor - BPM monitor", "Place your
fingertip on the sensor...", "Type HELP for the commands.", "Pulse found -
measuring...", then "Signal: ..." four times a second (about 460 - 650)
and on every beat "BPM: 75 (IBI 800 ms)" (about 73 - 77: the breath moves
the beats). The green LEDs D1 / D2 and the boards' BEAT LEDs blink on every
beat, the hearts on the boards glow, the cells draw the pulse.
2. U1: click 120 BPM on the panel: the heart speeds up in about 3 s and the
BPM lines follow about 4 beats later (about 118 - 122). Click the finger (or the
heart on the board) to lift it: "No pulse - place your fingertip on the
sensor"; click again: S swings up, settles in about 2 s and the BPM lines
come back. AFTER EXERCISE: up to +70 BPM, then slowly back to the base.
WEAK: no more BPM lines (the peaks stay under 550) - on U3 type
THRESHOLD 518 and REARM 514: every beat is found again. Close the panel
with its red X and open it with PANEL on the board.
3. U3 / U4 quick buttons: U3 STATUS, READ, EVERY 1000, EVERY 0; U4 STATUS,
THRESHOLD 518, REARM 514, RESET. STATUS prints for example:
Status: threshold 550, re-arm 520, Signal every 250 ms
last BPM 75 (IBI 800 ms), 12 beats, signal 489
4. U2 (Advance): Pulse page - the slider, the presets, the person's buttons;
watch WHAT THE SENSOR DOES, the chart and the event log. Test page (each
tool puts your scene back when it ends):
BPM accuracy: Run test - 40, 50, 60, 75, 90, 120, 150, 180 BPM: the heart
and the sketch within about 1 BPM (40 -> 39, 180 -> 180); one 5 ms
reading step at 180 BPM = 2.7 BPM.
Signal & threshold: WEAK peaks about 534 / troughs 503 - 550 finds no
beat, use THRESHOLD 518 / REARM 513 - 514; NORMAL 641 / 463 and STRONG
746 / 424 - every threshold 520 - 580 finds every beat; the Playground
column too (WEAK: 0).
Rate step: 60 -> 120, natural ramp, 3 steps - a flat lead-in at 60, then
the heart 10 - 90 % in 2.2 s, the sketch's BPM about 2.5 s later,
settled (3 lines within 2 BPM) after about 4 - 5 s; Jump 75 -> 150: the
sketch settles after about 1.2 s (4 beats).
Artifacts & light: clean 10 of 10 beats; 2 x SHAKE about 2 false + 2
missed; BRIGHT light with the finger 0 false; no finger in BRIGHT light
1 - 2 false beats; no finger DIM: nothing.
5. Close U2's window and open it again with OPEN PANEL on the board.
Closed a monitor window? Click OPEN MONITOR on the monitor part.
WIRING (the same in Proteus and on a real board)
Sensor: S -> A0, + -> 5V (3.3 V works too), - -> GND.
The beat LED + 220 ohm from D13 to GND on both UNOs (on a real board D13 is the
UNO's own LED).
In the sketch: analogRead(A0) every 5 ms; a beat starts when it rises above 550
(THRESHOLD) and the next one can start after it fell below 520 (REARM); BPM =
60000 / the mean of the last 4 beat-to-beat intervals; Serial 9600.
Serial Monitor RXD <- Arduino D1 (TX), Serial Monitor TXD -> Arduino D0 (RX),
Serial Monitor GND -> ground. RXD2 is not needed: the sensor sends no serial data.
Pin order in Proteus: SIG VCC GND (the board prints S + -).
REAL HARDWARE:
* Press the fingertip lightly and keep still: too hard squeezes the blood out
(a WEAK signal), too soft lets light in and every movement makes false beats.
Wait about 2 s after placing the finger.
* The signal's size differs between people, fingers and boards: if 550 misses
beats, lower the threshold (the Signal & threshold tool shows how), or use the
PulseSensor Playground library, which adapts its threshold.
* S is ratiometric (it follows the supply): a 3.3 V board reads about the same
counts.
* Proteus's AVR rounds the ADC to the nearest count; a real ATmega328P truncates
(one count lower half of the time). The panel and the tools show Proteus's
number, the one your sketch prints in the simulation.
* This is not a medical device - do not use it to make health decisions.
THE PERSON AND THE FINGER
The buttons, the pop-up's slider, a click on the finger (or the board's heart)
and the properties set the scene. HEART RATE presets (50 - 150) and the slider
(30 - 220) set the resting rate; it ramps there with a 1 s time constant (10 -
90 % in 2.2 s). - 1 / + 1 BPM fine-tune it. AFTER EXERCISE adds up to 70 BPM
(at most 190) rising in about 3 s and fading with a 25 s time constant (RESTING
again when it is over). ARRHYTHMIA: irregular intervals (+/- 22 %) and premature
beats (62 % of the interval, smaller) with a compensatory pause (138 %).
SIGNAL: the pulse size (WEAK 24 / NORMAL 150 / STRONG 270 counts for one beat
alone; the peaks read about 535 / 645 / 747 at 75 BPM). MOTION ARTIFACT: a 2 s
shake. AMBIENT LIGHT: the light noise (it matters most without a finger). While
a test tool runs it owns the scene (the panel's buttons wait).
THE TEST TOOLS (Advance, Test tab) - what they really measure
Every tool runs on the live model. A tool only changes the scene with the same
actions as the panel (the rate, the signal strength, a shake, the light, the
finger) and reads S as Proteus's SPICE solver computes it at every simulation
step; the "sketch" in the tools is the demo sketch's detector (550 / 520,
reading every 5 ms) fed with that measured S. Each tool shows one "Good for:"
line and one line on how it measures.
BPM accuracy Good for: trusting the BPM your sketch prints - how close it
is to the heart, from 40 to 180 BPM. Sets each rate (40 -
180 in 8 steps, or Quick 60 / 90 / 120), waits for 4 fresh
intervals and compares the sketch's BPM with the heart's
true rate over the same 4 intervals - also read 0 - 4 ms
later (5 phases, the sketch's clock never lines up with the
beats); the worst error, the spread, the 5 ms resolution.
Signal & threshold Good for: choosing THRESHOLD and REARM for a weak or a strong
finger - what 550 finds and what to use instead. WEAK,
NORMAL and STRONG: 2 s to settle, then 6 s of whole beats:
the peaks and troughs, the beats found at 520 / 530 / 550 /
580 (re-arm 30 lower, as THRESHOLD n does) and by the
PulseSensor Playground's adaptive rule, and a THRESHOLD /
REARM pair checked on the same readings; one beat drawn.
Rate step Good for: seeing how far your sketch's BPM lags a real
change - the 4-beat average and the heart's own ramp. From
60 or 75 to 120 or 150 BPM, a natural ramp or a jump, 1 - 3
steps (up, down, up). A flat lead-in first; each step lasts
until 3 lines in a row are within 2 BPM of the new rate (at
least 6 s); every BPM line is kept: the heart's and the
sketch's 10 - 90 % times, the lag at 50 %, when it settled.
Artifacts & light Good for: knowing which false beats to expect - a moving
finger, bright light, no finger - and what to filter. Five
phases: clean in ROOM light, 2 x SHAKE, BRIGHT light with
the finger, no finger in BRIGHT light, no finger in DIM
light: true beats, beats found, hits, false and missed
beats, the BPM printed, the range of S.
The tools refuse to start, with the reason, when the sensor has no power or
another test runs; they stop (and put the scene back) when the power goes.
THE DEMO SKETCH ON THE SERIAL MONITOR (Heartbeat_BPM_Monitor V3.0)
HELP the command list
STATUS the threshold, re-arm, the Signal interval, the last BPM / IBI,
the beats found, the last reading
READ one "Signal:" line now
EVERY ms how often "Signal:" is printed (0 = off, default 250)
THRESHOLD n a beat starts above n (the re-arm level becomes n - 30)
REARM n the next beat can start after the signal fell below n
RESET forget the last intervals (a fresh BPM average)
Monitor quick buttons in the demo: U3 STATUS, READ, EVERY 1000, EVERY 0; U4
STATUS, THRESHOLD 518, REARM 514, RESET.
Every line the demo prints is at most 80 characters (the TEP Serial Monitor's
Simple interface shows about 80).
EXPECTED MONITOR OUTPUT (U3 and U4 at the start)
Heartbeat Pulse Sensor - BPM monitor
Place your fingertip on the sensor...
Type HELP for the commands.
Pulse found - measuring...
Signal: 533
Signal: 466
Signal: 483
BPM: 75 (IBI 795 ms)
Signal: 594
BPM: 74 (IBI 820 ms)
The finger lifted:
No pulse - place your fingertip on the senso
…Development1 release
-
V3.0Heart Beat Sensor Library for Proteus V3.0this page
V3.0 is the only release in the Download Center so far. When a newer version is published, it appears above with its own download page.
Installation8 steps
From the download to a working project, in order. The steps follow what the package contains.
You will need
- Proteus Design SuiteProteus 8 or newer (Labcenter), on Windows
- Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click heart-beat-sensor-tep-v3-0-f5ac72bb5df74322be9a36634559dfef.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (PULSESENSOR-TEP-v3.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV3TEP.LIB, TEPPULSESENSOR.LIB and TEPSERIALMON.LIB and ArduinoV3TEP.IDX into the LIBRARY folder of your Proteus installation: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY for Proteus 8, or the matching Proteus 7 folder. Older versions keep it under ProgramData\Labcenter Electronics. If Proteus is open, close it first.
- 3
Add the simulation model
Copy TEPPULSESENSOR.DLL and TEPSERIALMON.DLL into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.
- 4
Restart Proteus and place the component
Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.
- 5
Open the sketch in the Arduino IDE
Open Heartbeat_BPM_Monitor.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Load the HEX file
In Proteus double-click the microcontroller, set Program File to Heartbeat_BPM_Monitor.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open HEARTBEAT-BPM-Monitor-ArduinoUnoV3.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 8
Follow the tutorial
Heart Beat Sensor Library for Proteus V3.0 (Pulse Sensor + Arduino) explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download Heart Beat Sensor Library for Proteus V3.0?
Wait for the 30-second guest countdown on this page, then press the download button; the file comes straight from our storage. Members who are logged in skip the wait. If the browser opens the file instead of saving it, use its Save as option. The download link is made for you when the countdown ends and works for 15 minutes; a saved or shared link stops working, so share this page instead.
What is inside the archive?
Heart Beat Sensor Library for Proteus V3.0 comes as a ZIP archive of 12 files (1.4 MB, 3.1 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware. Open the File Structure tab for the full list of 12 files.
What should I do if the download does not start?
Check the browser's download list first; an ad blocker or a company firewall can also hold it back, so try another browser or network. If the file arrives incomplete, download it again. For an installation problem, read the Install tab or tell us in the comments with your software version and the exact error message.
Is this file free?
Yes. Every file in the TEP Download Center is free for learning, personal and student projects. If you share it, link back to this page or the tutorial so others find the latest version.
How do I check that the file arrived complete?
Compare its SHA-256 with the one on this page, 260f458ee195ab2b12356396bebb3330cf3a4bb095c09a4598c7b67a4257c99f. In PowerShell run Get-FileHash "heart-beat-sensor-tep-v3-0-f5ac72bb5df74322be9a36634559dfef.zip"; on macOS or Linux run shasum -a 256 "heart-beat-sensor-tep-v3-0-f5ac72bb5df74322be9a36634559dfef.zip". The same value means the file is exactly the one in our storage; a different one means the download broke off, so download it again.
Do I need WinRAR to open the ZIP file?
No. Windows, macOS and Linux open ZIP archives on their own (Extract All, or double-click). WinRAR and 7-Zip work too. Extract the whole archive before using the files.
Where do I put the LIB and IDX files?
Both files go into the LIBRARY folder of your Proteus installation (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY; Proteus 7 has the same folder under its own name). Restart Proteus afterwards and search for the component with P.
Which Proteus version does the library need?
The tutorial names the Proteus version the library was made and tested with. Most TEP libraries work in Proteus 7 and Proteus 8; if the component does not appear after a restart, check that both the LIB and the IDX file were copied and that Proteus was fully closed while copying.
How do I get the HEX file into the simulation?
Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.
Members skip the wait. Log in or join TEP.
- 14Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 10 Oct 2026Uploaded at
260f458ee195ab2b12356396bebb3330cf3a4bb095c09a4598c7b67a4257c99f
















Comments
0