# Hands-on ActivityOh Baby! Contractions and Calculations

(1 Rating)

### Quick Look

Time Required: 4 hours

(four 60-minute class periods)

Expendable Cost/Group: US \$0.00

Group Size: 3

Activity Dependency: None

Subject Areas: Computer Science, Data Analysis and Probability, Measurement, Physics, Science and Technology

NGSS Performance Expectations:

### Summary

Engineering is essential to our health! In this activity, students measure abdominal pressure using a force sensitive resistor and transmit the data to an Arduino microcontroller via Bluetooth. In addition, they use MIT App Inventor to create an app for an Android Smartphone or tablet that mimics how uterine contractions are displayed/charted on a fetal monitor during labor. On the Arduino side, students learn the relationship between physical pressure, voltage, resistance, and current; on the app side students practice computer science skills including sequence, iteration, and selection.
This engineering curriculum aligns to Next Generation Science Standards (NGSS).

### Engineering Connection

Biomedical engineers design medical devices and sensor to improve the care for both the mother and baby during childbirth. By adding Bluetooth and flexible sensors, patients can ambulate rather than being tethered to a fetal monitor. Traditional fetal monitors also typically use belted sensors that require readjustments when the mother changes positions. Biomedical engineers seek to make devices smaller and more flexible while also improving patient care.

### Learning Objectives

After this activity, students should be able to:

• Describe the relationship between force and resistance in a force sensitive resistor (FSR).
• Explain how electrical energy flows through a voltage divider circuit.
• Solve simple voltage-divider problems.
• Create exponential and logarithmic equations to model information provided by a component datasheet.
• Apply a force-resistance and/or force/voltage model to predict a force based on a given input.
• Discuss how uterine contractions are measured using a pressure sensor.
• Write an algorithm using sequence, selection, and iteration.

### Educational Standards Each TeachEngineering lesson or activity is correlated to one or more K-12 science, technology, engineering or math (STEM) educational standards. All 100,000+ K-12 STEM standards covered in TeachEngineering are collected, maintained and packaged by the Achievement Standards Network (ASN), a project of D2L (www.achievementstandards.org). In the ASN, standards are hierarchically structured: first by source; e.g., by state; within source by type; e.g., science or mathematics; within type by subtype, then by grade, etc.

###### NGSS: Next Generation Science Standards - Science
NGSS Performance Expectation

HS-ETS1-4. Use a computer simulation to model the impact of proposed solutions to a complex real-world problem with numerous criteria and constraints on interactions within and between systems relevant to the problem. (Grades 9 - 12)

Do you agree with this alignment?

Click to view other curriculum aligned to this Performance Expectation
This activity focuses on the following Three Dimensional Learning aspects of NGSS:
Science & Engineering Practices Disciplinary Core Ideas Crosscutting Concepts
Use mathematical models and/or computer simulations to predict the effects of a design solution on systems and/or the interactions between systems.

Alignment agreement:

Both physical models and computers can be used in various ways to aid in the engineering design process. Computers are useful for a variety of purposes, such as running simulations to test different ways of solving a problem or to see which one is most efficient or economical; and in making a persuasive presentation to a client about how a given design will meet his or her needs.

Alignment agreement:

Models (e.g., physical, mathematical, computer models) can be used to simulate systems and interactions—including energy, matter, and information flows—within and between systems at different scales.

Alignment agreement:

###### Common Core State Standards - Math
• Reason abstractly and quantitatively. (Grades K - 12) More Details

Do you agree with this alignment?

• Model with mathematics. (Grades K - 12) More Details

Do you agree with this alignment?

• Construct linear and exponential functions, including arithmetic and geometric sequences, given a graph, a description of a relationship, or two input-output pairs (include reading these from a table). (Grades 9 - 12) More Details

Do you agree with this alignment?

• For exponential models, express as a logarithm the solution to abct = d where a, c, and d are numbers and the base b is 2, 10, or e; evaluate the logarithm using technology. (Grades 9 - 12) More Details

Do you agree with this alignment?

• Interpret the parameters in a linear or exponential function in terms of a context. (Grades 9 - 12) More Details

Do you agree with this alignment?

###### International Technology and Engineering Educators Association - Technology
• Use computers and calculators to access, retrieve, organize, process, maintain, interpret, and evaluate data and information in order to communicate. (Grades 9 - 12) More Details

Do you agree with this alignment?

• Research and development is a specific problem-solving approach that is used intensively in business and industry to prepare devices and systems for the marketplace. (Grades 9 - 12) More Details

Do you agree with this alignment?

Suggest an alignment not listed above

### Subscribe

Get the inside scoop on all things TeachEngineering such as new site features, curriculum updates, video releases, and more by signing up for our newsletter!
PS: We do not share personal information or emails with anyone.

### Materials List

Each group needs:

### Pre-Req Knowledge

Students should be familiar with:

• Arduino microcontrollers and simple serial communication
• Solderless breadboarding simple circuits and Ohm's Law
• MIT App Inventor app development
• Exponential and logarithmic regression curve fitting
• Variables and mathematical operations, control structures (if/else statements, for loops, and while loops), and functions

### Introduction/Motivation

You've all seen a movie or television show where there is a mother in labor. In many they show two large straps wrapped around the mother's abdomen. One belt monitors the baby's heart rate while the other monitors uterine contractions. A typical fetal monitor measures maternal heart rate, fetal heart rate, and uterine contractions (duration and frequency). Some devices also measure maternal temperature, blood oxygenation, and/or blood pressure. Obstetricians are particularly interested in the relationship between the fetal heart rate and the uterine contractions which indicate how well the fetus is tolerating labor.

An abnormal fetal heart rate pattern may signal fetal distress. The monitor helps detect the possibility of an underlying problem allowing a physician to intervene. For example, if the umbilical cord is compressed and blocking oxygenation to the fetus, a doctor may recommend the mother change positions. In other cases, a physician may determine that an immediate Cesarean birth is necessary.

For a low-risk pregnancy, a doctor might prescribe intermittent monitoring whereas for a high-risk pregnancy, the doctor may require constant monitoring. Fetal monitoring technology has not changed much over the past couple decades when compared to advances in other medical devices. Bluetooth popularity and ease of use has led to some wireless monitoring solutions; however, in most cases, only the data transfer has improved while the sensors remain bulky and attached to the patient via straps/belts. In the past few years, new research is leading to smaller, flexible, and beltless adhesive sensors.

Flexible sensors are made of thin layers of material. The outer layer is called Thermoplastic Polyurethane (TPU) film. You may be familiar with its use as a 3D printer filament but it is commonly known for its use as a cell phone screen protector material. TPU is the ideal material because of its elasticity.

In this activity you will be biomedical engineers designing a wireless monitoring system to measure uterine contractions (which you will simulate). You will use a force sensitive resistor as your pressure sensor, and Arduino microcontroller as the monitor, and an Android smartphone or tablet to display/graph the data.

Just like an engineer on a product-design team, you will have to organize your time between design iterations and testing to ensure functionality and form. Are you ready to "push" your skills to the limit?!

### Procedure

Background

This activity is geared toward students familiar with basic breadboarding of solderless circuits. Students should know how to interpret a schematic and how to identify a resistor using the color bands. Students should already know how to code using Arduino and how to write algorithms that include sequencing, selection, and iteration. They should have a basic knowledge of simple serial communication and be familiar with Bluetooth. Students should also know how to create simple apps using MIT App Inventor using variables and logic and be able to design a user interface that includes a canvas, buttons, and text labels. This activity will provide instruction on adding a graphing component.

Spacing/Time: This activity is designed for four 60-minute class periods. However, depending on the level of the learners, this time will vary.

Before the Activity

• Make copies of all handouts, one for each student.
• Test all of the equipment to verify that all Arduinos and FSRs function properly.
• Load all the Arduino IDE software on one computer; check with your IT department to ensure that you are compliant with all of the student data privacy requirements of your state/district.
• Make sure you have Bluetooth enabled Arduino smartphones or tablets, check with your IT staff.
• Gather all materials so they are organized per your usual classroom routine.

With the Students

Introduction

2. Go through the Activity Overview Presentation with the students.
1. Slide 1: Title slide
2. Slide 2: Read through the phenomenon of childbirth.
3. Slide 3: Describe the force of contractions.
4. Slide 4: Introduce fetal monitoring.
5. Slide 5: Describe signs of fetal distress.
6. Slide 6: Describe the constraints of current fetal monitors.
7. Slide 7: Outline the four parts of the activity.
8. (optional) Slide 8: Describe the activity extensions.

Activity Part 1: Introduction to Force-Sensitive Resistors

1. Divide the class into groups of three or four students.
2. Go through the Activity Part 1 PowerPoint Presentation with the students.
1. Slide 1: Title slide
2. Slide 2: Introduce students to force-sensitive resistors.
3. Slide 3: List uses of FSRs. Brainstorm other possible products for a force-sensitive resistor.
4. Slide 4: Describe how to measure resistance with a multimeter.
3. Identify the materials used in the activity: force-sensitive resistor (FSR), jumper wires, solderless breadboard, and multimeter with alligator clips.
4. Explain to students that they will be discovering the relationship between physical pressure and resistance.
5. Distribute a copy of the Activity Part 1 Worksheet to each student.
6. Ask students if they have any questions.
7. Have students follow the instructions on the Activity Part 1 Worksheet.
8. During the activity, walk around and make sure students are being careful with the tabs on the force-sensitive resistors. Answers questions and help with any technical difficulties.
9. All students must successfully complete Part 1 prior to moving on to Part 2.

NOTE: This may be a great opportunity to allow students to complete an extension activity of building a DIY force-sensitive resistor.

Activity Part 2: Voltage Dividers

1. Divide the class into groups of three or four students.
2. Go through the Activity Part 2 PowerPoint Presentation with the students.
1. Slide 1: Title slide.
2. Slides 2 and 3: Introduce students to the concept of a voltage divider circuit.
3. Slides 4 and 5: Review breadboarding basics
4. Slide 6: Review how to identify resistor values via the bands.
5. Slides 7 and 8: Finally explain the difference between digital and analog signals.
3. Identify the additional components used in Part 2 of the activity: jumper wire, 10 kW resistor, Arduino microcontroller, accompanying USB cable, and a laptop.
4. Explain to students that they will be building a voltage divider circuit and use its functionality to measure the analog voltage across a pull-up resistor. In addition, students will use the manufacturer's FSR 400 Series Datasheet to create a model to approximate force as a function of voltage using regression. (Note: If some of the regression models are too complex for your students, modify to include fewer. A minimum selection would be linear and exponential.)
5. Distribute a copy of the Activity Part 2 Worksheet to each student.
6. Ask students if they have any questions.
7. Have students follow the instructions on the Activity Part 2 Worksheet.
8. During the activity, walk around and answer questions and help with any technical difficulties.
9. All students must successfully complete Part 2 prior to moving on to Part 3.

Activity Part 3: Arduino-to-Android Serial Communication

1. Divide the class into groups of three or four students.
2. Go through the Activity Part 3 PowerPoint Presentation with the students.
1. Slide 2: Introduce students to analog-to-digital (discrete) conversion.
2. Slide 3: Introduce students to the delimiter character.
3. Slide 4: Show students the ASCII table.
4. Slide 5: Show students buffers and bytes in serial messages.
5. Slide 6: Introduce students to delimiters, buffers and timing needed for their code.
6. Slide 7: Describe serial data packets.
7. Slide 8: Discuss values in the ASCII tables.
8. Slide 9: Describe the data flow from a transmitter to a receiver.
3. Identify the additional components used in Part 3 of the activity: 9-volt battery, snap connector with barrel connector, additional jumper wire, Bluetooth module for Arduino, male-to-female jumper wires, and an Android device (smartphone or tablet).
4. Explain to students that they will be first building a circuit to add wireless serial communication via radio frequency (Bluetooth) and then programming both the Arduino (Arduino sketch) to send data and the Android device (MIT App Inventor 2) to receive and display the data.
5. Distribute a copy of the Activity Part 3 Worksheet to each student. (Note: Although each group will build a circuit together, if possible, each student should have their own Arduino sketch and their own MIT App Inventor code to test.)
6. Ask students if they have any questions.
7. Have students follow the instructions on the Activity Part 3 Worksheet.
8. During the activity, walk around and answer questions and help with any technical difficulties.
9. All students must successfully complete Part 3 prior to moving on to Part 4.

Activity Part 4: Designing a Better Monitor

1. Divide the class into groups of three or four students. (Note: Although each student will be programming their own app, it is beneficial for members to collaborate on the process, try various solutions, and help each other debug any errors that pop up.)
2. Show the Activity Part 4 PowerPoint Presentation.
3. Remind students that they will need to open up their previous MIT App Inventor program to continue their work.
4. Explain to students that they will be programming an algorithm to show a scrolling graph of the pressure data vs time. Have students explain and differentiate what is meant by sequencing, selection, and iteration. Excite students about the opportunity to extend the project further as design engineers to find a way to attach the sensor to the mother's abdomen while still having the sensor connected to the circuitry. If time permits in your curriculum, let students explore and test their solutions.
5. Distribute a copy of the Activity Part 4 Worksheet to each student.
6. Ask students if they have any questions.
7. Have students follow the instructions on the Activity Part 4 Worksheet.
8. During the activity, walk around and answer questions and help with any hardware technical difficulties. Encourage students to assist each other with programming errors.
9. Note: All students must successfully complete Part 4 before being allowed to move on to an activity extension.

### Vocabulary/Definitions

Bluetooth: A short-range wireless technology standard that is used for exchanging data between devices such as computers or smartphones.

current: The flow of electrons through a circuit.

force sensitive resistor (FSR): A type of variable resistor that changes resistor with the amount it is pressed and/or squeezed.

iteration: Repeating a set of steps, or looping, a specific number of time or until a condition is met.

resistor: A component or material that presents the passage of a steady electric current.

selection: A section of code that runs only if a condition is met. This code is recognizable as IF, THE, ELSE statements.

sequencing: An ordered set of steps where the order matters to produce the desired result.

uterine contraction: Tightening of the uterine muscles during labor to help push the baby into the birth canal.

voltage: The potential difference in charge between two points in an electrical field.

### Assessment

Pre-Activity Assessment

Pre-Assessment: Have students complete the Pre-Assessment

Activity Embedded (Formative) Assessment

Activity worksheets. The circuits will either function or they will not. Likewise, the app will function or it will not.

Post-Activity (Summative) Assessment

Post-Assessment: Have students complete the Post-Assessment.

### Investigating Questions

What medical devices can you think of that would be better if the technology were wireless?

How can wireless devices and sensors improve patient well-being while not sacrificing medical care?

### Safety Issues

Breadboard circuits and Arduinos can be short-circuited. To avoid this, have students double-check their hardware before connecting Arduinos to computers or the multimeter. If an Arduino is being short-circuited, do not touch it; simply unplug the USB cable from the computer and leave the Arduino alone for a few minutes (it may be hot). If a circuit is being short-circuited (blue smoke), disconnect the batter and allow it to cool.

### Troubleshooting Tips

Since short-circuits can accidentally occur, remind students to double-check each other's connections before applying any power. Also, students should be encouraged to collaborate and help each other with problems before asking the teacher for assistance.

### Activity Extensions

This activity has extensions that can be explored:

• One optional, yet simple, extension, is to build a force-sensitive resistor yourself from conductive foam and two scraps of copper flashing (or two pennies).
• Another optional extension (partial design) is to make an innovate enclosure for the force sensor to be applied to the patient's abdomen. Be creative in your choice of materials. Then you will test your designs by tightening your stomach muscles.
• A final optional extension (for advanced students) is to program a simulated fetal heart rate that drops below the normal fetal heart rate range during a contraction and then program an alarm to alert medical personnel to take action.

http://ai2.appinventor.mit.edu/

### References

https://itp.nyu.edu/physcomp/lessons/interpreting-serial-data/

https://lastminuteengineers.com/fsr-arduino-tutorial/amp/

https://learn.sparkfun.com/tutorials/analog-to-digital-conversion/all

https://news.northwestern.edu/stories/2021/05/untethering-pregnant-mothers/

### Contributors

Diane Walsh, Joules Fellow, Coginchaug Regional High School, Durham, CT; Ian Heck, , Department of Biomedical Engineering and the Institute of Materials Science, University of Connecticut; Dr. Yi Zhang, Department of Biomedical Engineering and the Institute of Materials Science, University of Connecticut; He Sun, Department of Biomedical Engineering and the Institute of Materials Science, University of Connecticut;; Ashley LaPane, Joules Fellow Lab Partner and Science Teacher, Canton Middle School, Canton, Connecticut

### Supporting Program

The Joule Fellows Program, School of Engineering, University of Connecticut RET

### Acknowledgements

This curriculum was developed under National Science Foundation Joule Fellows Program at the University of Connecticut, School of Engineering, RET Award no. 1711706. However, these contents do not necessarily represent the policies of the NSF, and you should not assume endorsement by the federal government.