Cyber Security
NetLens: A Passive Network Traffic Analyser and Visibility Dashboard for a College Computer Lab
Flows, top talkers and scan indicators for the lab's own network — headers only, no blocking, full history
- Python
- Scapy
- MySQL
- +2
Record a real single-lead ECG on an AD8232 trainer, quantify mains, motion and muscle noise, and compare analogue and digital filter cures
Mapped to your syllabusVTU 2022 Scheme (OBE/CBCS) · BXX685 Major Project Phase-I · Semester 6ECG-Trainer is a build-and-learn instrument for the biomedical engineering lab: a low-cost single-lead electrocardiograph front end, plus the measurement study that makes it a project rather than a kit assembly. An AD8232 single-lead analogue front end on a breakout board picks up a lead-I ECG through three disposable gel electrodes worn by a team volunteer. An Arduino Uno samples the conditioned waveform at 500 Hz, writes raw samples to a microSD card and streams them over serial, so every recording is available afterwards for offline analysis.
The study is the heart of the bundle. Three artefacts dominate classroom ECG traces: baseline wander (respiration and electrode motion), 50 Hz powerline pickup (Indian mains couples capacitively into lead wires) and muscle (EMG) noise. The team provokes each artefact deliberately, quantifies signal-to-noise ratio in dB before and after treatment, and compares the AD8232's onboard analogue band-pass filtering against digital cures implemented in Python/SciPy and Scilab — a 0.5–40 Hz Butterworth band-pass and a 50 Hz IIR notch.
The rig is explicitly a teaching prototype, not a medical device: it claims no IEC 60601 compliance, never touches a patient connection beyond the team's own volunteers, and the report documents what a real product would need (patient isolation, leakage-current limits, defibrillation protection) as an awareness study. C firmware runs the Arduino (the VTU 2022 scheme teaches C and instrumentation labs), Python and Scilab handle analysis, and the oscilloscope and function generator already in the lab serve as references.
Syllabus alignment
Biomedical engineering students learn ECG instrumentation from textbook figures because real trainers and patient simulators cost tens of thousands of rupees. As a result, they never experience the three artefacts that dominate real traces — baseline wander from respiration and motion, 50 Hz powerline pickup, and muscle noise — and never measure how well analogue front-end filtering and digital filtering actually work against them. Ready-made sensor kits are affordable, but assembling one and shelving it proves nothing measurable: there is no gain calibration, no quantified SNR before and after filtering, and no protocol that turns the hardware into defensible experimental evidence.
There is a need for a low-cost, well-characterised ECG front-end trainer with a written calibration and provocation protocol, an offline analysis pipeline that reports SNR and R-peak detection figures objectively, and an explicit prototype-not-product framing that teaches the safety obligations (patient isolation, leakage current, IEC 60601-1) a real instrument would carry — turning a ₹2,500 kit into a viva-defensible measurement study.
Biopotential measurement is a core subject in biomedical engineering, yet most departments teach it from textbook figures because a commercial ECG trainer or simulator costs far more than a lab budget allows. This project builds a single-lead ECG front-end trainer for about ₹2,700: an AD8232 analogue front end with three gel electrodes feeds an Arduino Uno that logs 500 Hz raw samples to microSD and serial. The team then runs a controlled noise-and-filtering study on real traces — quantifying baseline wander, 50 Hz mains interference and muscle artefact by SNR in dB — and compares the AD8232's onboard analogue band-pass against digital Butterworth and notch filters in Python/SciPy. Ten volunteer recordings, a gain calibration and a written provocation protocol form the evidence base.
The electrocardiogram is a millivolt-level signal (0.5–4 mV peak) buried in interference, which is why ECG instrumentation is the classic vehicle for teaching instrumentation amplifiers, common-mode rejection and filtering together. Indian classrooms add a practical twist: 50 Hz mains, fans and unshielded bench wiring make the powerline artefact visible on almost every unguarded trace, which makes the filtering study motivating rather than artificial.
In scope
Out of scope (v1)
The project follows the V-model, because a measurement instrument demands a matching verification stage for every design decision, and the volunteer-recording phase must be preceded by completed verification of the hardware.
| Phase | Weeks | Activities | Deliverable |
|---|---|---|---|
| Literature & requirements | 1–2 | Study ECG instrumentation texts and 8–10 papers on artefact removal; draft the consent and safety protocol; freeze requirements | Requirements + protocol v1 |
| Front-end design | 3–4 | Breadboard the AD8232 per datasheet, lead-I electrode layout, bench checks with a 1 mV sine; gain and band-pass measured | Design document + calibration table v1 |
| Firmware | 5–6 | 500 Hz timer-driven ADC sampling, SD logging with timestamp header, serial streaming, heartbeat LED; watchdog | Working logger |
| Analysis pipeline | 7–8 | Python parser, plotting, Welch PSD, R-peak detector; Scilab cross-check scripts | Analysis toolbox |
| Calibration & verification | 9 | Full gain/frequency sweep, SNR of quiet reference trace, negative tests (shorted electrodes) | Calibration report |
| Recording campaign | 10–11 | Ten volunteers: rest trace + three provoked artefacts each, per the protocol; logbook signed per session | Trace library + session log |
| Filtering study | 12 | Apply analogue-vs-digital comparison to every trace; SNR and detection metric tables | Results tables + figures |
| Documentation & viva prep | 13–14 | Report, PPT, demo rehearsal, IEC 60601-1 awareness section finalised | Submission |
Testing approach: unit checks (ADC sample rate verified against a known 50 Hz source; SD write integrity via CRC), instrument comparisons (function generator gain sweep vs datasheet), protocol tests (each provocation scripted with expected effect), and black-box test cases recorded as ID / input / expected / actual / result. Every volunteer session is logged with time, electrode batch and any incident, making the trace library auditable — the discipline examiners look for in a measurement project.
The trainer is a linear biopotential chain followed by an offline analysis pipeline. Sensing: three disposable gel electrodes (right arm, left arm, right forearm for the drive/reference) connect through the AD8232 breakout's 3.5 mm jack. The AD8232 provides the instrumentation amplifier, a right-leg-drive output that cancels common-mode 50 Hz pickup, and an onboard two-pole band-pass (0.5 Hz high-pass, 40 Hz low-pass) with overall gain around 100–1100 depending on configuration — the calibration step measures the actual value. Acquisition: the Arduino Uno's 10-bit ADC samples A0 at exactly 500 Hz from a timer interrupt, appends samples to 1-second blocks and writes them to microSD with a timestamp header, while streaming the same blocks over USB serial for live display. Analysis: recordings are imported into Python, where PSDs, SNR figures, the digital filter set and R-peak detection run; Scilab scripts reproduce the same tables as a cross-check.
flowchart TD
V["Volunteer (lead-I, 3 gel electrodes)"] -->|"microvolt-level ECG"| AFE["AD8232 AFE breakout: instrumentation amp, right-leg drive, 0.5-40 Hz band-pass"]
AFE -->|"analog output, gain ~100-1100"| ADC["Arduino Uno ADC A0, timer-sampled at 500 Hz"]
ADC --> SD["microSD: raw timestamped blocks"]
ADC -->|"USB serial, battery-powered laptop"| LIVE["Live trace display"]
SD --> PY["Python pipeline: PSD, SNR, R-peak detection"]
PY --> DIG["Digital filters: 0.5-40 Hz Butterworth + 50 Hz IIR notch"]
PY --> REP["Results: SNR tables, spectrograms, detection metrics"]
FG["Function generator: 1 mV sine sweep"] -->|"calibration input"| AFE
SCOPE["Bench oscilloscope"] -->|"waveform verification"| AFEThe calibration branch (function generator into the electrode jack, oscilloscope on the output) keeps the study quantitative: gain and cut-off frequencies are measured, not assumed. The analysis pipeline keeps raw data untouched and writes filtered copies alongside, so every figure in the report can be regenerated from the original trace with one script — the property that makes the comparison defensible in the viva.
Module 01
Owns the AD8232 wiring, electrode lead construction and the consent/safety protocol: single-use electrodes, skin prep, battery-only power, stop rules. Also owns bench calibration — the 1 mV sine gain sweep and band-pass measurement against the datasheet — and the calibration tables in the report.
Module 02
Writes the timer-interrupt sampling loop at a verified 500 Hz, the SD block writer with timestamp header and CRC check, serial streaming and the live-plot handshake, plus the heartbeat LED and watchdog. Delivers a unit-test note proving the sample rate against a known source.
Module 03
Builds the Python/SciPy pipeline: file parser, Welch PSD, SNR estimator, 0.5–40 Hz Butterworth band-pass, 50 Hz IIR notch (with zero-phase filtfilt option) and the simplified R-peak detector; mirrors the same filters in Scilab/MATLAB so the numbers can be cross-checked.
Module 04
Designs the provocation protocol and the recording campaign, runs the ten-volunteer sessions with the logbook, computes the comparison tables (SNR before/after, detection sensitivity/specificity), produces the report figures, and writes the IEC 60601-1 awareness section.
Module 05
All four members run at least two volunteer sessions end-to-end, rehearse the live demo (record, upload, filter, plot within five minutes), and cross-review each other's test tables so every member can answer on any module in the viva.
Slide 1
Low-Cost Single-Lead ECG Front-End Trainer with Noise and Filtering Study
Slide 2
Motivation
Slide 3
Problem Statement
Slide 4
Existing vs Proposed
Slide 5
Objectives
Slide 6
Safety & Ethics First
Slide 7
Sensing Principle
Slide 8
System Architecture
Slide 9
Filter Study Design
Slide 10
Results
Slide 11
Individual Contributions
Slide 12
Conclusion & Future Scope
Bullets, speaker notes and the .pptx · ₹2,000
Read each answer, close it, and say it in your own words. Your viva will ask. Now you'll know.
Lead-I needs a sensing pair on the right and left arm, but the third electrode on the right forearm drives the right-leg-drive output: it senses the common-mode 50 Hz appearing on the body and feeds an inverted copy back, cancelling it at the instrumentation amplifier's input. Without it, common-mode pickup saturates the gain stage and no trace is visible at all.
A surface lead-I ECG is typically 0.5 to 4 mV peak, with diagnostic content from about 0.05 Hz to 100 Hz; the QRS complex carries most of its energy between roughly 10 and 25 Hz. Our trainer works in the 0.5–40 Hz monitoring band, which keeps R peaks clean while attenuating the slow baseline drift and the higher-frequency muscle noise.
India's mains frequency is 50 Hz, and the body couples to bench wiring, fans and tube lights capacitively through its surface area, so the body acts like an antenna at exactly 50 Hz. The interference enters differentially through lead-wire imbalance and common-mode through the body, which is why we combine twisted leads, right-leg drive and a 50 Hz notch rather than relying on one fix.
+14 more questions, with answers
Unlocks with the project · ₹2,000
Unlock for ₹2,000What to change before it goes anywhere near a submission. Skipping it is how the demo fails live.
Unlocks with the project · ₹2,000
Unlock for ₹2,000How to study it, adapt it and walk your examiner through it, step by step.
Unlocks with the project · ₹2,000
Unlock for ₹2,000OnlyProjects. (2026). Low-Cost Single-Lead ECG Front-End Trainer with Noise and Filtering Study: B.Tech / B.E. Biomedical Engineering project bundle [Educational resource]. https://onlyprojects.online/projects/btech-biomed-ecg-front-end-trainer-noise-filtering-study
Keep browsing
Same degree, same syllabus slot, different idea. Pick the one your guide will actually approve.
Cyber Security
Flows, top talkers and scan indicators for the lab's own network — headers only, no blocking, full history
Mechanical Engineering
A human-powered spiked-roller dehusker for small coconut growers around Pollachi — designed, fabricated and tested for ₹ under 20,000
Aerospace / Aeronautical
Build a subsonic test tunnel on a student budget, then trace lift and drag on a 3D-printed NACA 0012 against theory
Agricultural Engineering
Irrigates vegetable beds by soil-moisture thresholds instead of habit, and proves every litre with a flow meter
Artificial Intelligence & Machine Learning
Forecasts kharif yield for Karnataka districts from six decades of ICRISAT district data and tells extension officers which crops look safe this season
Artificial Intelligence & Machine Learning
Screens CPCB river-water samples into quality bands, flags stations that fail bathing criteria and predicts likely BOD exceedance when lab results are missing