Shree Venkateshwara Hi-Tech Engineering College - CIA II
Course: 23BMO15 – IoT in Healthcare
Department: Biomedical Engineering (AIDS, IT, ECE)
Year / Sem: IV / VII
Regulations: 2023
Batch: 2023-2027
Date: 28.09.2026
Duration: 3 Hrs
Max Marks: 100
PART - A (10 × 2 = 20 Marks)
Q1 How big data analytics helps in decision-making in IoT systems.
2 Marks CO3 K1 GATE 2024
  • Pattern Recognition & Predictive Analytics: Processes massive streams of continuous biomedical data to identify health trends and predict critical events like heart attacks.
  • Real-Time Diagnostic Insights: Converts raw sensor logs into actionable clinical information, assisting healthcare providers in making immediate treatment decisions.
  • Resource Optimization: Analyzes usage patterns to optimize medical asset allocation, patient triage, and hospital workflow efficiency.
Q2 How an embedded system controls sensors and actuators in an IoT application.
2 Marks CO3 K1
  • Data Acquisition: Microcontrollers sample analog/digital signals from sensors (e.g., pulse oximeter, temperature sensors) via ADC or communication interfaces (I2C, SPI).
  • Processing & Control Logic: Executes embedded algorithms to evaluate sensor inputs against preset clinical thresholds.
  • Actuation Signal Generation: Outputs control signals via GPIO or PWM pins to activate external actuators like insulin pumps, buzzers, or solenoids.
Q3 Summarize on Raspberry Pi.
2 Marks CO4 K2
  • Single-Board Computer (SBC): Credit-card-sized computer equipped with ARM-based processors, RAM, GPU, and an Linux-based OS (Raspberry Pi OS).
  • Rich Hardware Interfaces: Features 40 GPIO pins, USB ports, HDMI, Wi-Fi, Bluetooth, and camera (CSI) / display (DSI) connectors.
  • IoT Gateway Application: Acts as a local processing node and edge gateway in healthcare IoT systems for data collection, analytics, and cloud transmission.
Q4 List any two programming languages used in Arduino and Raspberry Pi platforms.
2 Marks CO4 K1 GATE 2023
  • Arduino Platform: C / C++ (using the wiring framework inside Arduino IDE).
  • Raspberry Pi Platform: Python (primary language for scripting and hardware control via RPi.GPIO or GPIO Zero) and C / C++.
Q5 How do you access GPIO pins in Arduino using Arduino IDE?
2 Marks CO4 K2
  • Pin Configuration: Use pinMode(pinNumber, INPUT/OUTPUT) within the setup() function to set pin direction.
  • Digital Control: Use digitalWrite(pinNumber, HIGH/LOW) to output voltage states and digitalRead(pinNumber) to read digital input.
  • Analog Control: Use analogRead(pinNumber) for reading ADC sensor values and analogWrite(pinNumber, value) for PWM output.
Q6 What is meant by sending and receiving signals through GPIO pins?
2 Marks CO4 K1
  • Sending Signals (Output Mode): Transmitting binary voltage states (HIGH - 3.3V/5V or LOW - 0V) from the microcontroller to drive devices like relays, LEDs, or alarm buzzers.
  • Receiving Signals (Input Mode): Reading external electrical voltage signals produced by sensors, pushbuttons, or switches into microcontroller memory.
  • Data Exchange Mechanism: Facilitates hardware interaction between embedded software logic and physical world biomedical hardware components.
Q7 What is meant by remote healthcare using IoT?
2 Marks CO5 K1
  • Tele-Health Monitoring: Using connected medical sensors and communication networks to monitor patient vital statistics outside of traditional hospital settings.
  • Continuous Data Transfer: Real-time transmission of patient physiological parameters (ECG, SpO2, blood pressure) directly to cloud platforms or physician dashboards.
  • Accessible Clinical Intervention: Enables doctors to diagnose, consult, and prescribe treatments remotely, reducing hospital readmissions.
Q8 Define preventive care in IoT healthcare applications.
2 Marks CO5 K1
  • Early Detection Strategy: Continuous, proactive tracking of health metrics using wearable IoT devices to detect anomalous physiological changes before diseases become acute.
  • Health Risk Prevention: Uses automated alert systems and predictive algorithms to warn clinicians and patients of developing health conditions.
  • Lifestyle & Chronic Disease Management: Promotes wellness through activity tracking, diet tracking, and medication adherence monitoring.
Q9 How does IoT help in activity monitoring of patients?
2 Marks CO5 K2
  • Motion Sensor Tracking: Utilizes embedded MEMS accelerometers, gyroscopes, and magnetometer sensors to track body posture, steps, and movement routines.
  • Fall & Emergency Detection: Detects sudden changes in velocity and orientation to trigger automated SOS alerts during fall incidents.
  • Rehabilitation Progress Evaluation: Provides continuous data on patient mobility during post-surgical or stroke recovery.
Q10 How can IoT reduce emergency response time in healthcare services?
2 Marks CO5 K2 GATE 2023
  • Automated Emergency Triggering: Immediately transmits critical alert notifications to emergency services upon detecting critical physiological abnormalities.
  • Real-Time GPS Localization: Integrates GPS modules in wearable devices to send precise location coordinates of distress patients to ambulance response units.
  • Pre-Hospital Data Dispatch: Streams live patient vitals from smart ambulances to trauma centers, allowing doctors to prepare operating units before arrival.
PART - B (5 × 16 = 80 Marks)
Q11 (a) Examine the architecture, working, and applications of Wireless Sensor Networks (WSN).
16 Marks CO3 K4 GATE 2024
1. Introduction to Wireless Sensor Networks (WSN)

A Wireless Sensor Network (WSN) consists of spatially distributed autonomous sensor nodes that wirelessly communicate to monitor physical or environmental conditions, such as temperature, heart rate, or motion, and send data to a centralized location.

2. Architecture of a WSN Node and Network Structure

WSN deployment comprises sensor nodes, a gateway node (sink), and cloud processing servers:

  • Sensor Node Architecture: Sensing unit (transducer + ADC), processing unit (microcontroller/memory), transceiver unit (Zigbee, BLE, LoRa), and power unit (battery/energy harvester).
  • Network Topologies: Star topology for low-power body area networks, Mesh topology for wide-area hospital coverage, and Cluster-based structures for energy optimization.
3. Working Mechanism of WSN in IoT Systems

Operational workflow for data acquisition and relaying:

  • Sensing Phase: Transducers collect continuous analog bio-signals and convert them to digital format via ADC.
  • Processing Phase: Local filtering, data aggregation, and compression performed by microcontrollers to reduce packet size.
  • Communication Phase: Multi-hop wireless routing transfers encrypted data packets to the sink node and cloud database.
4. Key Challenges in Healthcare WSN

Energy consumption constraints, quality of service (QoS) guarantees, latency control, data security/privacy (HIPAA compliance), and sensor calibration stability.

5. Healthcare Applications of WSN

Continuous patient vitals monitoring (WBAN), ICU ward automation, elderly fall detection, asset tracking in smart hospitals, and remote quarantine monitoring.

Q11 (b) Analyze how Big Data Analytics, Cloud Computing, and Embedded Systems work together to collect, process, store, and analyze IoT data for smart applications.
16 Marks CO3 K4 GATE 2022
1. System Integration Overview

Smart healthcare IoT platforms depend on an integrated ecosystem where embedded systems act as perception layers, cloud computing serves as storage and routing infrastructure, and big data analytics processes intelligence.

2. Role of Embedded Systems (Data Collection & Edge Processing)
  • Perception Layer: Microcontrollers interact with physiological sensors (ECG, PPG, Temperature, SpO2) to sample biosignals.
  • Edge Analytics: Performs immediate threshold filtering and preliminary anomaly detection to trigger local alarms without waiting for cloud round-trip times.
3. Role of Cloud Computing (Storage & Processing Infrastructure)
  • Scalable Data Pipelines: Handles continuous streams of IoT data using MQTT/HTTP protocols.
  • Elastic Storage: Scalable NoSQL and SQL databases store historical patient records, hospital sensor logs, and imaging datasets safely.
4. Role of Big Data Analytics (Intelligence & Decision Support)
  • Batch & Stream Analytics: Machine learning models process multi-patient datasets to identify disease patterns.
  • Predictive Diagnostics: Predicts patient deterioration hours before clinical manifestation using longitudinal medical record analysis.
5. End-to-End Application Case Study

Smart Cardiac Monitoring: Embedded ECG patches send data via Wi-Fi to AWS Cloud, where big data ML algorithms evaluate arrhythmia patterns, automatically routing urgent alerts to doctors' smartphones.

Q12 (a) Analyze and explain in detail Programming Raspberry Pi with python for IoT-based healthcare applications with suitable example. Also elaborate on Raspberry Pi interfaces.
16 Marks CO4 K4 GATE 2024
1. Overview of Raspberry Pi in Healthcare IoT

Raspberry Pi serves as a high-performance edge computing node capable of running embedded Linux OS, capturing data from multiple sensors, executing Python algorithms, and streaming data directly to cloud platforms.

2. Hardware Interfaces of Raspberry Pi
  • 40-Pin GPIO Header: Supports Digital I/O, PWM for motor control, and hardware communication buses.
  • Serial Protocols: I2C interface (for multi-sensor connection), SPI (high-speed displays/sensors), and UART (serial modules/Bluetooth).
  • Peripherals: CSI camera interface (facial tracking/wound monitoring) and USB interfaces for external serial devices.
3. Python Programming Environment & Libraries

Python is the primary language due to comprehensive libraries such as RPi.GPIO / gpiozero (GPIO pin access), smbus (I2C operations), spidev (SPI control), and paho-mqtt (cloud connection).

4. Practical Healthcare Application Example (Pulse Oximeter Data Acquisition)

Example implementation reading temperature/pulse sensor data and triggering emergency output using Python code structure:

import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
ALARM_PIN = 18
SENSOR_PIN = 23
GPIO.setup(ALARM_PIN, GPIO.OUT)
GPIO.setup(SENSOR_PIN, GPIO.IN)
try:
  while True:
    if GPIO.input(SENSOR_PIN):
      GPIO.output(ALARM_PIN, GPIO.HIGH)
      print("High Temperature Alert!")
    else:
      GPIO.output(ALARM_PIN, GPIO.LOW)
    time.sleep(1)
finally:
  GPIO.cleanup()

5. Integration with Cloud Portals

Data recorded via Python scripts is formatted into JSON structures and pushed to MQTT brokers (e.g., Adafruit IO, AWS IoT Core) for remote clinical dashboards.

Q12 (b) Design a basic arduino board and explain the procedure for installing and setting up of IDE for healthcare application development.
16 Marks CO4 K4 GATE 2023
1. Basic Hardware Design of Arduino System

A standalone microcontroller system designed using an ATmega328P microcontroller chip:

  • Microcontroller Core: ATmega328P (8-bit AVR, 32KB Flash, 2KB SRAM).
  • Clock Circuit: 16 MHz crystal oscillator connected with two 22pF ceramic capacitors.
  • Power Supply Subsystem: Voltage regulator circuit (LM7805/AMS1117-5.0) converting input power to stable 5V DC.
  • Reset & Communication Circuit: Reset switch with 10k pull-up resistor and USB-to-UART converter (CH340G / FT232RL) for code upload.
2. Arduino IDE Installation Procedure
  • Software Download: Obtain the latest official cross-platform installer package from Arduino.cc.
  • Driver Installation: Install USB serial drivers (FTDI / CH340) to establish virtual COM port links.
3. Arduino IDE Setup for Healthcare Projects
  • Board & Port Configuration: Select Tools -> Board -> Arduino Uno and choose the corresponding COM Port.
  • Library Manager Configuration: Installing sensor libraries (e.g., Adafruit MLX90614 for body temperature, MAX30105 for SpO2) via Library Manager.
4. Firmware Program Architecture

Structure consisting of setup() (pin initialization, baud rate setting) and loop() (continuous sensor polling and processing).

5. Verification & Testing Workflow

Code compilation check, serial communication debugging using Serial Monitor (9600/115200 baud), and live biosignal plotting using Serial Plotter tools.

Q13 (a) Describe accessing GPIO pins in healthcare IoT devices and explain sending and receiving patient data signals using GPIO pins with sample code.
16 Marks CO4 K3
1. Introduction to General Purpose Input Output (GPIO)

GPIO pins are physical digital interfaces on microcontrollers (Arduino, ESP32, Raspberry Pi) that allow software code to interface with hardware components like biomedical sensors, switches, and alert actuators.

2. Principles of Pin Access & Modes
  • Input Mode: Sets pin to high-impedance state to sample digital signals (e.g., pulse push-buttons, digital heart rate modules).
  • Output Mode: Configures pin driver to source or sink current to control external loads (e.g., buzzers, LED alert indicators, relay switches).
  • Analog Input Mode: Connects pins to built-in ADC to convert continuous bio-voltage signals (ECG/EMG) into digital values.
3. Circuit Connection Architecture

Interfacing digital pulse sensor to pin D2 (Input) and an emergency buzzer to pin D8 (Output) along with protective pull-down resistors.

4. Sample Embedded C Code (Arduino Platform)

const int sensorPin = 2;
const int alarmPin = 8;
int sensorState = 0;
void setup() {
  pinMode(sensorPin, INPUT);
  pinMode(alarmPin, OUTPUT);
  Serial.begin(9600);
}
void loop() {
  sensorState = digitalRead(sensorPin);
  if (sensorState == HIGH) {
    digitalWrite(alarmPin, HIGH);
    Serial.println("Patient Emergency Triggered!");
  } else {
    digitalWrite(alarmPin, LOW);
  }
  delay(100);
}

5. Signal Integrity & Safety Considerations

Optical isolation (optocouplers) to protect patient circuitry from high voltage, debouncing input switches, and implementing pull-up/pull-down resistor configurations.

Q13 (b) Explain how IoT-based healthcare systems connect to cloud platforms. Discuss data security, storage, analysis, and remote monitoring features.
16 Marks CO4 K3 GATE 2023
1. IoT Cloud Interconnection Architecture

Healthcare devices establish internet connectivity via local wireless protocols (Wi-Fi, Cellular 4G/5G, LoRaWAN) connecting to IoT Cloud Gateways (e.g., AWS IoT Core, Azure IoT Hub, ThingSpeak) using lightweight protocols like MQTT, HTTP REST, or CoAP.

2. Cloud Data Storage Management

Efficient handling of healthcare datasets:

  • Time-Series Databases: Optimized for continuous physiological sensor logging (InfluxDB, AWS Timestream).
  • Relational & Document Stores: MongoDB / PostgreSQL for structured electronic health records (EHR) and metadata storage.
3. Patient Data Security & Compliance Standards
  • Encryption Protocols: TLS 1.3 encryption in transit and AES-256 encryption at rest.
  • Identity & Access Management (IAM): Role-based access control (RBAC) ensuring patient record confidentiality.
  • Regulatory Adherence: Compliance with HIPAA, GDPR, and ISO 27001 medical data protection mandates.
4. Cloud Data Analytics Engine

Automated cloud workflows running ML models detect health deterioration, evaluate baseline trends, and generate diagnostic predictions.

5. Remote Monitoring Dashboards & Alerts

Web interfaces and mobile platforms display live graphs, trigger SMS/Push notifications, and grant medical personnel instant remote access to patient metrics.

Q14 (a) Analyze what effect will the internet of things (IoT) have in healthcare with a suitable case study.
16 Marks CO5 K4
1. Transformative Impact of IoT on Healthcare

IoT shifts healthcare from traditional episodic treatment models to proactive, continuous, and personalized care frameworks. Key benefits include improved patient outcomes, reduced treatment costs, and optimized hospital resource management.

2. Core Impact Categories
  • Continuous Health Monitoring: Real-time tracking of patients with chronic illnesses.
  • Operational Efficiency: Automated tracking of hospital assets, staff, and pharmaceutical supplies using RFID/BLE tags.
  • Reduced Hospitalization: Remote management reduces hospital readmission rates and emergency room congestion.
3. Comprehensive Case Study: Smart Diabetes Management System

Implementation of Continuous Glucose Monitors (CGM) linked to automated IoT insulin delivery systems:

  • System Component: Subcutaneous CGM sensor measures interstitial glucose every 5 minutes and sends readings via BLE to a smart device.
  • Analytics & Actuation: Predictive algorithms calculate glucose trends; if high, command signals trigger smart insulin pumps to administer precise micro-doses.
  • Cloud Integration: Uploads log data to cloud servers, alerting endocrinologists to persistent glycemic instability.
4. Quantitative Outcomes and Benefits

Achieved a 40% reduction in severe hypoglycemic events, increased time-in-range (TIR) metrics for patients, and reduced emergency room visits.

5. Implementation Challenges and Future Outlook

Addresses challenges including high equipment costs, sensor calibration drift, and user device management.

Q14 (b) Describe the components of an IoT-based healthcare system and explain how they support remote healthcare and real-time monitoring.
16 Marks CO5 K4 GATE 2024
1. System Architecture Overview

An IoT healthcare network comprises four structural layers: Perception, Network, Cloud/Middleware, and Application Layers, working sequentially to provide real-time patient monitoring.

2. Detailed Structural Components
  • Perception/Sensing Layer: Biosensors (ECG, SpO2, Temperature, Blood Pressure) and smart wearables capturing physiological parameters.
  • Edge Computing Gateways: Microcontrollers or smartphones aggregating, filtering, and packaging raw data locally.
  • Network Infrastructure: Wireless channels (Bluetooth Low Energy, Wi-Fi, 4G/5G, Zigbee) ensuring secure transmission.
  • Cloud Processing Platform: Scalable servers executing data analytics, database management, and rule-based alerts.
  • Application Layer: Web portals and mobile interfaces tailored for clinicians, caregivers, and emergency responders.
3. Real-Time Data Flow Mechanism

Continuous bi-directional data flow enables continuous stream processing and instant emergency response execution.

4. Remote Healthcare Support Architecture

Extends medical oversight beyond clinical settings into home-care environments through automated health assessments, remote consultations, and scheduled medical follow-ups.

5. System Reliability and Security Considerations

Implementation of redundancy pathways for offline data logging, battery power optimization, and multi-factor access authentication.

Q15 (a) Illustrate the importance of preventive care in IoT healthcare systems with special reference to preventive cardiological monitoring.
16 Marks CO5 K3
1. Paradigm Shift to Preventive Care

Traditional healthcare reacts to symptomatic disease stages. IoT-driven preventive care enables continuous screening and early intervention before irreversible cardiovascular events occur.

2. Architecture of IoT Preventive Cardiological Monitoring
  • Wearable Sensing Patch: Continuous single/multi-lead ECG sensors, PPG optical sensors, and blood pressure patches.
  • On-Device Signal Conditioning: Filtering noise, motion artifacts, and baseline wander from raw ECG waveforms.
3. Predictive Analytics for Cardiac Event Early Detection
  • Arrhythmia Detection: Machine learning algorithms analyzing Heart Rate Variability (HRV), ST-segment elevation, and QT interval changes.
  • Ischemic & Failure Warning: Identifies early signs of Atrial Fibrillation (AFib) or myocardial ischemia, notifying doctors long before stroke symptoms appear.
4. Clinical Workflow and Emergency Response

When abnormal cardiac activity is detected, the system sends priority alerts to the patient's cardiologist, logs baseline readings, and dispatches GPS location data to emergency services if needed.

5. Socio-Economic Impact

Reduces mortality from sudden cardiac arrest, lowers overall intensive care expenses, and improves long-term patient quality of life.

Q15 (b) Explain the architecture and working of an IoT-based activity monitoring system for healthcare applications.
16 Marks CO5 K3 GATE 2025
1. Introduction to Activity Monitoring Systems

IoT-based activity monitoring systems continuously evaluate movement patterns, postures, and daily routines using motion sensors, serving key roles in elderly care, fall detection, and post-stroke rehabilitation.

2. System Architecture & Component Mapping
  • Sensing Module: Inertial Measurement Units (IMUs combining 3-axis Accelerometers and 3-axis Gyroscopes), barometer, and pressure insoles.
  • Processing Node: Low-power microcontroller (e.g., ESP32/nRF52840) for feature extraction.
  • Communication Module: BLE / Wi-Fi module transferring vector data to smart hubs or cloud dashboards.
3. Signal Processing and Feature Extraction Workflow
  • Noise Removal: Butterworth bandpass filtering eliminates low-frequency posture shifts and high-frequency noise.
  • Feature Calculation: Calculates Signal Magnitude Vector (SMV), angular velocity, and Fast Fourier Transform (FFT) features.
  • Pattern Classification: Machine learning algorithms (SVM, Decision Trees, or Neural Networks) classify activities into walking, sitting, standing, or lying down.
4. Fall Detection Algorithm & Emergency Response

Detects rapid acceleration changes followed by orientation shifts. If no motion is detected for a set timeframe, the system initiates emergency alerts with location tracking.

5. Clinical Applications

Enables long-term gait monitoring for Parkinson's patients, tracks rehabilitation progress, and assists in independent living support for elderly individuals.