Laboratory Manual: 18EC3017 Biomedical Electronics & IOT For Healthcare

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

ELECTRONICS AND COMMUNICATION ENGINEERING

LABORATORY MANUAL
18EC3017 Biomedical Electronics & IOT for Healthcare

III B.TECH 2020-21 ODD SEMESTER


K L UNIVERSITY| 18EC3017- Biomedical Electronics & IOT for Healthcare
Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

LABORATORY MANUAL
18EC3017 Biomedical Electronics & IOT for Healthcare

ELECTRONICS AND COMMUNICATION ENGINEERING

STUDENT NAME T.VENKATA SAI GANGADHAR

REG.NO 180040705

YEAR 03

SEMESTER 05

SECTION 03

FACULTY V.TEJU MAM

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

COURSE INTRODUCTION
Course Title : BIOMEDICAL ELECTRONICS & IoT FOR HEALTHCARE

Course Code : 18 EC 3017


L-T-P structure : 3-0-2
Credits :4
Pre-Requisite : Nill
Course Coordinator :
Team of Instructors :
Team of Associates : NIL

Course Objective:
This course provides a comprehensive knowledge on the bio potential recordings and
measurements: The origin of Bio-potentials, bio-potential electrodes, biological amplifiers,
ECG, EEG, EMG, PCG, lead systems and recording methods, typical waveforms and
signal characteristics, Non electric parameter measurements, pH, PO2, PCO2, colorimeter,
Auto analysers, Blood flow meter, cardiac output, respiratory measurement, Blood
pressure, temperature, pulse, Blood Cell Counters.

Course Rationale:
The purpose of this course is to teach students the fundamentals of IOT for
Healthcare: Internet of Things Promises–Definition– Scope–Sensors for IoT Applications–
Structure of IoT– IoT Map Device, Industrial/Healthcare sensors – Description &
Characteristics–First Generation – Description & Characteristics–Advanced Generation –
Description & Characteristics–Integrated IoT Sensors – Description & Characteristics–
Polytronics Systems – Description & Characteristics–Sensors' Swarm – Description &
Characteristics–Printed Electronics – Description & Characteristics–IoT Generation
Roadmap. Application of IOT In Healthcare: smart-wearables, smart-clothing, elderly fall-
detection, infant care system, Monitor an aging family member, Scalable, continuous, heart
rate monitoring
Finally, the students will develop a prototype model for a real time and IoT
applications to have hands on experience in using tool chains such as Arduino and Raspberry
Pi for the development of IoT for Healthcare system

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

(NAAC Accredited “A++” Graded University)


Department of Electronics and Communication Engineering
Year/Semester: III/II – FLEXI CORE
Course Title: BIOMEDICAL ELECTRONICS & IoT FOR HEALTHCARE
Course Code: 18 EC 3017 L-T-P-S 3-0-2-0
Course Code: Nil
Pre-requisite: Credits 4
Course Title: Nil
S. No. List of Experiments
1 To simulate Electroencephalogram Signal

2 To Simulate 12 lead ECG Waveform using VLABS.

3 To Simulate EMG Waveform and analyse the same.

4 To simulate overall functionality of Haemodialysis Machine (Artificial Kidney)


5 To simulate Pacemaker.
6 To simulate Bio potential Amplifier.
To implement social distance measurement for COVID-19 using Ultrasonic sensor and
7
PIR sensor
8 Design and Implementation infant incubator using UV Light and Arduino UNO.

9 Design and Implementation of disinfection tunnel for COVID19


Design and Implementation auto dispenser sanitizer for COVID19
10

11 To implement MQTT protocol for healthcare

12 To analyze and simulate 32 channel EEG data using Matlab EEGLAB

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

Organization of the Student Lab Manual

The laboratory framework includes a creative element but shifts the time-intensive aspects
outside of the Two-Hour closed laboratory period. Within this structure, each laboratory
includes three parts: Prelab, In-lab, and Post-lab.
A. Pre-Lab
The Prelab exercise is a homework assignment that links the lecture with the laboratory
period - typically takes 2 hours to complete. The goal is to synthesize the information they
learn in lecture with material from their Techbook to produce a working piece of software.
Prelab Students attending a two-hour closed laboratory are expected to make a good-faith
effort to complete the Prelab exercise before coming to the lab. Their work need not be
perfect, but their effort must be real (roughly 80 percent correct).
B. In-Lab
The In-lab section takes place during the actual laboratory period. The First hour of the
laboratory period can be used to resolve any problems the students might have experienced in
completing the Prelab exercises. The intent is to give constructive feedback so that students
leave the lab with working Prelab software - a significant accomplishment on their part.
During the second hour, students complete the In-lab exercise to reinforce the concepts
learned in the Prelab. Students leave the lab having received feedback on their Prelab and In-
lab work.
C. Post-Lab
The last phase of each laboratory is a homework assignment that is done following the
laboratory period. In the Post-lab, students analyse the efficiency or utility of a given system
call. Each Post-lab exercise should take roughly 120 minutes to complete.

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


BIOMEDICAL ELECTRONICS & IoT FOR HEALTHCARE(18EC3017)

2020-21 ODD SEMESTER LAB CONTINUOUS EVALUATION

S.NO DATE NAME OF THE PRE- IN-LAB POST- VIVA TOTAL FACULTY
EXPERIMENT LAB (35M) LAB SIGNATURE
Logic Execution Result Analysis WITH DATE

(5M)
(10M) (10M) (10M) (5M) (5M) (5M) (50M)
1

6
Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

S.NO DATE NAME OF THE PRE- IN-LAB POST- VIVA TOTAL FACULTY
EXPERIMENT LAB (35M) LAB SIGNATURE
Logic Execution Result Analysis WITH DATE

(5M)
(10M) (10M) (10M) (5M) (5M) (5M) (50M)
7

10

11

12

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

BIOMEDICAL ELECTRONICS & IoT FOR HEALTHCARE (18EC3017)


2020-21 ODD SEMESTER PROJECT CONTINUOUS EVALUATION

S.NO DATE NAME OF PROJECT IMPLEMENTATION DEMONSTRATION RESULTS VIVA TOTAL FACULTY
THE REPORT & METHODOLOGY & VOCE SIGNATURE
PROJECT ANALYSIS WITH DATE

(10) (10) (10) (10) (10) (50M)


1

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


EXPERIMENT NO.7:

Date of the Session: 08/10/2020 Time of the Session: 1:50 to 3:50 PM

Aim: Human Proximity Alert system for social distance COVID19


Apparatus:
1. Arduino Uno
2. Ultrasonic sensor Module HC-SR04
3. Bread board
4. Connecting wires
5. Resistor-470Ω
6. Speaker-1watt

Software Used:
Arduino sketch, Tinkercad
PRE-LAB WORK:
Ultrasonic sensors are great tools to measure distance without actual contact and
used at several places like water level measurement, distance measurement etc.
This is an efficient way to measure small distances precisely.

Ultrasonic Sensor Module

Ultrasonic sensor HC-SR04 is used here to measure distance in range of 2cm-


400cm with accuracy of 3mm. The sensor module consists of ultrasonic
transmitter, receiver and the control circuit. The working principle of ultrasonic
sensor is as follows:

1. High level signal is sent for 10us using Trigger.


2. The module sends eight 40 KHz signals automatically, and then detects
whether pulse is received or not.
Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

3. If the signal is received, then it is through high level. The time of high
duration is the time gap between sending and receiving the signal.
Distance= (Time x Speed of Sound in Air (340 m/s))/2
In the circuit diagram, Arduino pin13 is connected to one terminal of the
speaker. Other terminal is connected to ground. Trigger pin of ultrasonic sensor
is connected to pin number of 7 of Arduino. Echo signal is connected to pin
number 6 of Arduino.

HCSRO4 Datasheet link:


https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf

Timing Diagram

The module works on the natural phenomenon of ECHO of sound. A pulse is


sent for about 10us to trigger the module. After which the module automatically
sends 8 cycles of 40 KHz ultrasound signal and checks its echo. The signal after
striking with an obstacle returns back and is captured by the receiver. Thus the
distance of the obstacle from the sensor is simply calculated by the formula
given as

Distance= (time x speed)/2.

Here we have divided the product of speed and time by 2 because the time is the
total time it took to reach the obstacle and return back. Thus the time to reach
obstacle is just half the total time taken.

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

Fig:1 Timing Diagram


Circuit Diagram: Interfacing of Arduino with HC-SR04

Fig:2 Interfacing of Arduino with HC-SR04

Algorithm:
Step1: Set trigger as output

Step2: Set echo as input

Step3: Set trigger as low with delay 2 microseconds

Step4: Set trigger as high with delay 10 microseconds

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

Step5: Calculate time using pulseIn command

Step6: Calculate distance=time*340/20000

Step7: Set Arduino pin 13 to one terminal of speaker and other terminal
to ground

Step 8: Trigger pin of ultrasonic sensor is connected to pin number of 7 of


Arduino. Echo signal is connected to pin number 6 of Arduino.

Step9: Observe the output in seral monitor.

PSUEDO CODE:
int trig=7;int echo=6;
void setup()
{
Serial.begin(9600);
pinMode(trig,OUTPUT);
pinMode(echo,INPUT);
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);
}
void loop()
{
digitalWrite(trig,LOW);
delayMicroseconds(2);
digitalWrite(trig,HIGH);
delayMicroseconds(10);
digitalWrite(trig,LOW);
int time=pulseIn(echo,HIGH);
float distance=time*0.034/2;
Serial.print("distance=");
Serial.println(distance);

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

if(distance<=302)
{
digitalWrite(8,1);
Serial.print("object is nearer");
delay(2000);
}
if(distance>30&&distance<=500)
{
digitalWrite(8,0);
digitalWrite(9,1);
Serial.print("object detected");
delay(2000);
}
}

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

OBSERVATIONS:

CIRCUIT DIAGRAM

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

IN THIS SCENARIO THE OBJECT IS AT A DISTANCE OF 300 AND BELOW CM IT


SHOULD DETECTED IN THE RANGE SO THE BUZZER IS IN ON CONDITION
INDICATING THAT “OBJECT IS NEARER”.

IN THIS SCENARIO THE OBJECT IS AT A DISTANCE OF ABOVE 300 CM IT


SHOULD DETECTED IN THE RANGE SO THE BUZZER IS IN OFF CONDITION
INDICATING THAT “OBJECT IS DETECTED”.

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


Biomedical Electronics & IOT for Healthcare (18EC3017) LABORATORY MANUAL 2020-2021

Conclusion:
We designed the Human Proximity Alert system for social distance COVID19.

VIVA Voce:
1. What is Arduino?

Arduino is an open-source electronics platform based on easy-to-use hardware and


software. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a
Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing
something online.

2. What is COVID-19?
Coronavirus disease (COVID-19) is an infectious disease caused by a newly discovered
coronavirus.Most people who fall sick with COVID-19 will experience mild to moderate
symptoms and recover without special treatment.
3. Discuss the types of Proximity sensor.

Proximity Sensors : Inductive, Capacitive, Photoelectric, and Ultrasonic. Proximity


sensors detect the presence or absence of objects using electromagnetic fields, light, and
sound. There are many types, each suited to specific applications and environments.

4. What are the types flow measurement devices are available.


Positive Displacement. ...
• Velocity Meters. ...
• Mass Flow Meters. ...
• Open Channel Meters.
5. Identify the various industry graded proximity sensors and mention those sensors.

• Vision and Imaging Sensors


• Temperature Sensors
• Radiation Sensors
• Proximity Sensors
• Pressure Sensors
• Position Sensors
• Photoelectric Sensors
• Particle Sensors
• Motion Sensors

Evaluator’s Observation

Marks Secured: _______ out of ________

Signature of the Evaluator with Date

Department of ECE| KLEF (Deemed to be University), NAAC - “A++”, Guntur, AP


Comment of the Evaluator (if Any)

You might also like