Develop a Personal Heart Rate Monitor Using micro:bit

 
P
e
r
s
o
n
a
l
 
H
e
a
l
t
h
 
C
h
e
c
k
m
i
c
r
o
:
b
i
t
 
H
e
a
r
t
 
R
a
t
e
 
M
o
n
i
t
o
r
 
Using an Accelerometer
and Programming the System
 
D
e
s
i
g
n
 
B
r
i
e
f
 
Situation
There are 2.7 million people in the UK currently
suffering from heart problems. The quicker these
problems can be found and treated the better the
chance of a full recovery.
 
Brief
Using the micro:bit, create a prototype for a personal
heart monitoring system. The system must use an
accelerometer to detect the movement of the heart. It
must also use a suitable sound output and an LED
display to give heart rate information to the user.
 
S
y
s
t
e
m
s
 
D
i
a
g
r
a
m
Accelerometer
LED display
Processor
Beeper
 
INPUT
 
PROCESS
 
OUTPUT
 
Pulsing
sound
 
Text
information
 
Heart
pumping
 
A systems or block diagram shows the
layout of the system to be created. The
blocks represent the physical parts of
the system and the arrows represent
signals.
 
D
e
s
i
g
n
 
C
r
i
t
e
r
i
a
 
The proposed system must:
Be programmable using the micro:bit.
Use the micro:bit’s inbuilt accelerometer to detect
movement of the heart.
Use a suitable sound output device, such as a beeper, to
give an audible indication of the person’s heart rate.
Use the micro:bit’s LED display to show visual
information about the person’s heart rate.
 
 
 
W
h
a
t
 
i
s
 
a
n
 
A
c
c
e
l
e
r
o
m
e
t
e
r
?
 
Accelerometers measure 
acceleration
(changes in motion).
They can be used as a 
sensor
 to detect
movement of the heart.
They are used in 
heart monitoring
equipment 
in hospitals and cardiac care
units.
A 
smartphone
 has an accelerometer built in
that can detect the 
tiny body movements
made by the 
heart pumping.
 
T
i
m
e
 
t
o
 
D
e
v
e
l
o
p
 
y
o
u
r
 
P
r
o
g
r
a
m
!
 
Your device must be 
programmed.
Your program must meet the needs of the 
design brief
and the 
design criteria.
You can program your BBC micro:bit using either the
JavaScript Blocks Editor 
or 
Python Editor.
An 
example program written in each 
has been given
to help get you started.
Go to 
www.microbit.org/code
 to begin!
 
Go to 
www.microbit.org/code
and open the 
JavaScript Blocks
Editor.
Drag the file 
microbit-
heartrate-jsb.hex 
onto the
work area.
Button A 
can also be used to
test if it is working.
Test it, download it and
experiment 
with how it works!
 
E
x
a
m
p
l
e
 
P
r
o
g
r
a
m
 
J
a
v
a
S
c
r
i
p
t
 
B
l
o
c
k
s
 
E
d
i
t
o
r
 
Go to
www.microbit.org/code
 and
open the 
Python Editor.
Drag the file 
heartrate.py
onto the work area.
Button A 
can also be used to
test if it is working.
Test it, download it and
experiment 
with how it
works!
 
E
x
a
m
p
l
e
 
P
r
o
g
r
a
m
 
 
P
y
t
h
o
n
 
E
d
i
t
o
r
Slide Note
Embed
Share

Create a prototype personal heart monitoring system using a micro:bit that incorporates an accelerometer to detect heart movement, a sound output for audible indication, and an LED display for visual heart rate information. The system aims to aid in early detection and treatment of heart problems for better recovery chances. Utilize programming tools like JavaScript Blocks Editor or Python Editor to develop the device programmatically.

  • Heart Rate Monitor
  • micro:bit
  • Accelerometer
  • Prototype
  • Health Monitoring

Uploaded on Apr 06, 2024 | 3 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. Personal Health Check Personal Health Check micro:bit micro:bit Heart Rate Monitor Heart Rate Monitor Using an Accelerometer and Programming the System

  2. Design Brief Design Brief Situation There are 2.7 million people in the UK currently suffering from heart problems. The quicker these problems can be found and treated the better the chance of a full recovery. Brief Using the micro:bit, create a prototype for a personal heart monitoring system. The system must use an accelerometer to detect the movement of the heart. It must also use a suitable sound output and an LED display to give heart rate information to the user.

  3. Systems Diagram Systems Diagram INPUT PROCESS OUTPUT Processor Beeper Accelerometer Heart pumping Pulsing sound A systems or block diagram shows the layout of the system to be created. The blocks represent the physical parts of the system and the arrows represent signals. LED display Text information

  4. Design Criteria Design Criteria The proposed system must: Be programmable using the micro:bit. Use the micro:bit s inbuilt accelerometer to detect movement of the heart. Use a suitable sound output device, such as a beeper, to give an audible indication of the person s heart rate. Use the micro:bit s LED display to show visual information about the person s heart rate.

  5. What is an Accelerometer? What is an Accelerometer? Accelerometers measure acceleration (changes in motion). They can be used as a sensor to detect movement of the heart. They are used in heart monitoring equipment in hospitals and cardiac care units. A smartphone has an accelerometer built in that can detect the tiny body movements made by the heart pumping.

  6. Time to Develop your Program! Time to Develop your Program! Your device must be programmed. Your program must meet the needs of the design brief and the design criteria. You can program your BBC micro:bit using either the JavaScript Blocks Editor or Python Editor. An example program written in each has been given to help get you started. Go to www.microbit.org/code to begin!

  7. Example Program Example Program JavaScript Blocks Editor JavaScript Blocks Editor Go to www.microbit.org/code and open the JavaScript Blocks Editor. Drag the file microbit- heartrate-jsb.hex onto the work area. Button A can also be used to test if it is working. Test it, download it and experiment with how it works!

  8. Example Program Example Program Python Editor Python Editor Go to www.microbit.org/code and open the Python Editor. Drag the file heartrate.py onto the work area. Button A can also be used to test if it is working. Test it, download it and experiment with how it works!

More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#