Hands-on Activity Translating Human EMG Signal Readings to Robot Movements

Quick Look

Grade Level: 11 (10-12)

Time Required: 6 hours

(six 60-minute sessions)

Expendable Cost/Group: US $0.00

Group Size: 3

Activity Dependency: None

Subject Areas: Biology, Computer Science, Data Analysis and Probability, Problem Solving, Science and Technology

NGSS Performance Expectations:

NGSS Three Dimensional Triangle
HS-ETS1-1
HS-ETS1-2
HS-ETS1-3
HS-ETS1-4

A photo showing a muscle sensor with electrodes placed on a student’s forearm and attached to a micro:bit with wires. On the other end, the micro:bit is attached to a laptop computer showing graphical and numerical EMG data on the micro:bit makecode website.
Sample experiment setup, with electrodes on forearm and laptop set up to collect EMG signal data.
copyright
Copyright © Taken during classroom testing.

Summary

With a design-thinking approach, students incorporate neuroscience into their robotics learning experiences in this activity. They perform an experiment to design a basic human-robot interface through which electromyography (EMG) signal readings from the muscle movements in their arm are translated to simple movements in their robots. Students brainstorm factors they believe will vary between arm movements, and use these factors to develop a data processing program for the EMG data collected. In doing so, students form an understanding of the considerations that are involved in designing, building, and evaluating a human-machine interface.
This engineering curriculum aligns to Next Generation Science Standards (NGSS).

Engineering Connection

Neuroengineering is a rapidly growing field. Neuroscientists, biomedical engineers, and computer scientists all work together to develop brain-computer interfaces to treat neurological issues, restore movement in paralyzed individuals, and much more. When designing these interfaces, neuroengineers have to consider many different factors to ensure patient safety. There are limitations on how they connect these interfaces to the brain, which areas of the brain they record from and/ or simulate, and what type of activity they induce in the brain.

Learning Objectives

After this activity, students should be able to:

  • Describe and sketch a simple neural circuit involved in a basic muscle movement.
  • Design a basic EMG-based experiment, identifying inputs and outputs and prototyping different ways to connect the components together.
  • Utilize programming to process data from an experiment to produce desired output in a robot.

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 Performance Expectation

HS-ETS1-1. Analyze a major global challenge to specify qualitative and quantitative criteria and constraints for solutions that account for societal needs and wants. (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
Analyze complex real-world problems by specifying criteria and constraints for successful solutions.

Alignment agreement:

Criteria and constraints also include satisfying any requirements set by society, such as taking issues of risk mitigation into account, and they should be quantified to the extent possible and stated in such a way that one can tell if a given design meets them.

Alignment agreement:

Humanity faces major global challenges today, such as the need for supplies of clean water and food or for energy sources that minimize pollution, which can be addressed through engineering. These global challenges also may have manifestations in local communities.

Alignment agreement:

New technologies can have deep impacts on society and the environment, including some that were not anticipated. Analysis of costs and benefits is a critical aspect of decisions about technology.

Alignment agreement:

NGSS Performance Expectation

HS-ETS1-2. Design a solution to a complex real-world problem by breaking it down into smaller, more manageable problems that can be solved through engineering. (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
Design a solution to a complex real-world problem, based on scientific knowledge, student-generated sources of evidence, prioritized criteria, and tradeoff considerations.

Alignment agreement:

Criteria may need to be broken down into simpler ones that can be approached systematically, and decisions about the priority of certain criteria over others (trade-offs) may be needed.

Alignment agreement:

NGSS Performance Expectation

HS-ETS1-3. Evaluate a solution to a complex real-world problem based on prioritized criteria and trade-offs that account for a range of constraints, including cost, safety, reliability, and aesthetics, as well as possible social, cultural, and environmental impacts. (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
Evaluate a solution to a complex real-world problem, based on scientific knowledge, student-generated sources of evidence, prioritized criteria, and tradeoff considerations.

Alignment agreement:

When evaluating solutions it is important to take into account a range of constraints including cost, safety, reliability and aesthetics and to consider social, cultural and environmental impacts.

Alignment agreement:

New technologies can have deep impacts on society and the environment, including some that were not anticipated. Analysis of costs and benefits is a critical aspect of decisions about technology.

Alignment agreement:

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:

Suggest an alignment not listed above

Materials List

Teacher needs:

Each group of 3-5 students needs:

Optional items (can be used to place the electrodes further away from the muscle sensor):

Worksheets and Attachments

Visit [www.teachengineering.org/activities/view/umo-2954-human-emg-signals-robot-movements-activity] to print or download.

Pre-Req Knowledge

Students should have:

  • Basic proficiency with a programming language.
  • Experience with experiment design and data collection.
  • Familiarity with robotics, through an introductory robotics course or club experience.

Introduction/Motivation

Imagine being able to control a robot by simply moving your arm—just like in a science fiction movie! What if you could use a device to measure your muscle activity and translate that into movements for a robot? Today, we will begin an exciting activity where you will design a system that does just that. You’ll use a micro:bit and a muscle sensor to form the basis of a human-machine interface between your muscles and a mini robot.

Before we begin, can you think of ways a human-machine interface such as this one might be useful? Why might someone want or need to be able to control a computer with only their thoughts or muscle movements? Why might we want to create an interface between our brain and a computer? (Let students come up with various uses for brain-machine interfaces, such as for paralyzed individuals.)

(Show students a video on recent innovations in brain-machine interface design, such as one of the following: “Severe paralysis partially reversed using brain-machine interface training”: https://www.youtube.com/watch?v=gxEXG_4VrG8 [1:35 minutes] or “UCSF Researchers Help Paralyzed Man Translate Thoughts to Text”: https://www.youtube.com/watch?v=pnaoowolIsw [2:19 minutes])

Over the next few days, we will be completing a hands-on project where technology meets neuroscience. You’ll work on designing and building a human-machine interface that leverages muscle sensors to control a robot. This project will introduce you to concepts in engineering, computer science, neuroscience, and robotics. Here’s a breakdown of what you’ll be doing for this activity:

  1. Understanding neural circuits and the components of the interface: You’ll start by learning about neural circuits, as well as the micro:bit, muscle sensor, and robot, and how they will work together. You’ll understand how each part functions, and how we will connect them together to create our interface.
  2. Designing the experiment: Next, you will work in groups to plan and design your experiment. You will think about how the prototype should be set up with the items you are provided, researching how each component should be attached. You will also plan which data you will need to collect, how you will collect your data, and how you will translate this data to movements in your robots.
  3. Building the prototype: You will put together the pieces to create your prototype. You will attach one micro:bit to the muscle sensor, and your second micro:bit to the robot. I have already soldered wires to the muscle sensor to expedite the process and secure the connections.
  4. Programming the EMG micro:bit: You will program the micro:bit attached to the muscle sensor to ensure it will collect the desired EMG signals.
  5. Collecting base EMG data: You will collect EMG data to use to design the rest of your interface. You will flex your muscles in various ways to see how the data differs for each movement.
  6. Programming the robot movements: You will find a way to translate the EMG data collected to movements in the robot in real time, assigning meaning to the unique EMG data for each different movement and sending radio signals between the two micro:bits for communication.
  7. Testing and redesigning: You will test your system and redesign as needed.

Procedure

Background

Neurons are nerve cells that send messages all over your body to allow you to do everything from breathing to talking, eating, walking, and thinking. To control our muscles, our neurons carry messages to and from the brain through the spinal cord to muscles in our body. Messages from the brain travel along the motor pathways to activate the muscles of the body, such as the muscles in our hands. The neurons that make up these pathways are called motor neurons. Each motor neuron ending sits very close to a muscle fiber, and together they form a neuromuscular junction. The motor neurons release a chemical, which is picked up by the muscle fiber. This signals the muscle fiber to contract, which makes the muscles move.

Neurons never function in isolation. They are organized into pathways (such as the motor pathway) called neural circuits, which act as information highways between different areas of the brain. Each circuit processes specific kinds of information.

Sources: NIH, Physiopedia, healthdirect

Before the Activity

  • Prepare the muscle sensors for each group by soldering three breadboard alligator clip jumpers to each muscle sensor, as shown in the image below. This will allow students to connect the muscle sensor to the micro:bit securely.
  • Make copies of all worksheets and handouts (one per student).
  • Gather all materials for each group.

A photo showing a MyoWare muscle sensor on a gray surface, with three wires attached.
Teachers should solder three breadboard cables to the three MyoWare muscle sensor pins labeled VIN, GND, and ENV.
copyright
Copyright © Taken during classroom testing.

During the Activity

This activity consists of multiple parts and is divided into six one-hour sessions. If more or less time is available per session, activities can be adjusted to fit the schedule.

Day 1: Introduction to Neural Circuits

(Introduce neural circuits so students can begin to plan and design their interface.)

  1. Hand out one Day 1: Intro to Neural Circuits Student Worksheet to each student.
  2. Ask students to clench and unclench their fists. After students have done this a few times, ask them to brainstorm the following questions and write their answers down in their worksheet:
    • What parts of the body do you think are involved in the clenching of your fist? Think broadly
    • How would you program a robot to clench its fist?
  1. Have students discuss their answers as a class.
  2. Discuss neural circuits with the students, giving them a definition of what a neural circuit is and explaining how multiple neural circuits work together.
    • A neural circuit is a network of interconnected neurons that work together to process information and control different functions in the body. These circuits are responsible for everything from sensing your environment to moving your muscles and even thinking and feeling emotions.
    • Each neural circuit consists of neurons (nerve cells) that communicate using electrical and chemical signals. The basic components of a neural circuit include:
      • Sensory neurons – Detect stimuli (e.g., light, sound, touch).
      • Interneurons – Process and relay information within the brain and spinal cord.
      • Motor neurons – Send signals to muscles and organs to trigger a response.
    • Neural circuits don’t work in isolation; they interact to perform complex functions. For example:
      • Reflexes: When you touch something hot, a simple neural circuit in your spinal cord quickly pulls your hand away before your brain even processes the pain.
      • Vision and Movement: When you see a ball coming toward you, circuits in your visual system detect the object, and circuits in your motor system coordinate your muscles to catch it.
      • Learning and Memory: When you study for a test, different circuits in your brain strengthen their connections, allowing you to recall information later.
  1. Have students fill out their worksheets about a neural circuit.
  2. Have students sketch the components of a neural circuit for clenching their fist in their Day 1: Intro to Neural Circuits Student Worksheet.
    • Prompt them to think in terms of design/systems that include an input and an output. In this case, they are as follows: INPUT is wanting to move (brain, decision-maker), converting the decision to action (neurons), transmission system (nerves), and actuator (muscles), and OUTPUT is clenching of wrist (by movement of fingers).
    • Provide hints but not the solution itself.
  1. Have the class share out a few of their sketches and discuss what is similar and what is different in each of them. (Note: This will allow them to learn from each other, and begin to form an understanding of how the brain works with the muscles to form movements.)
  2. Give students time to answer the last two questions in the Day 1: Intro to Neural Circuits Student Worksheet.
  3. Discuss the final two questions on the worksheet with the students. (See Day 1: Intro to Neural Circuits Student Worksheet Answer Key for potential answers.):
    • How is the brain involved in the task of clenching a fist?
    • What similarities and differences would be involved if a robot was implementing this process instead?
  1. Guide students in a class discussion of computations that go into the brain (i.e., firing of neurons at a certain rate to activate the muscles—the more they fire, the more the muscles contract, and the more the wrist is clenched.) Have them compare this to how computations would work for a robot that is performing movements.
  2. Show students this video to introduce the concept of EMG signals and to help them understand how to place the electrodes for their own experiments: “Introduction to EMG in the Anatomy and Physiology Lab”: https://www.youtube.com/watch?v=H9kwUXgmVyo (6:23 minutes).

Day 2: Designing the Interface

  1. Review the engineering design process with the students.
  2. Explain to students that they will work in groups to design their interface and plan their experiments. They will be provided with a list of components, and will have to think about how to connect them. They will also plan for data collection and processing.
  3. Split the students into groups of 3-5, depending on the age and level of the students. If they are more advanced students, smaller groups may be more appropriate, while students needing more support may benefit from larger groups.
  4. Hand out one Day 2: Interface and Experiment Design Worksheet to each student.
  5. Give students time to plan their full experiment and interface design, following the outline provided in the Day 2: Interface and Experiment Design Worksheet. The handout provides students with possible sources of information to support them in their research and design process. They can reference the MyoWare website for information on the muscle sensor and how to connect it to the micro:bit, the micro:bit website for information on programming the micro:bit, and the Cutebot website for information on setting up the robot and the robot’s capabilities.
  6. Have student groups share their designs for the experiment and interface with the class, so they can learn from each other and adjust their designs as needed.
  7. Provide feedback on the student designs, to ensure their experiments will be feasible.

Day 3: Building the Prototype

  1. Explain to students that today they will put together the components to create their prototype. They will create two distinct but connected systems: the micro:bit – muscle sensor – electrode system and the micro:bit – robot system.
  2. Hand out one Day 3: Building the Prototype Worksheet to each student.

A photo showing an assembled Cutebot robot sitting on a gray surface next to a MyoWare muscle sensor attached to a micro:bit with wires.
Assembled components, including the Cutebot and the micro:bit attached to the muscle sensor.
copyright
Copyright © Taken during classroom testing.

  1. Give students time to finish their plans and designs if not yet complete. Note: It is imperative that students finish their design prior to building their prototypes, as they may notice that they need to connect certain components differently as they design the full experiment.
  2. While the groups finish up their planning, circulate and ensure that students are connecting the components correctly.
  3. Give students time to build their prototypes based on their designs. Have them keep track of any challenges they face as they build, and any changes they make to their original designs, in their Day 3: Building the Prototype Worksheet. This is an important part of the engineering design process, as someone should be able to replicate the design based on their notes.

Day 4: Programming the EMG Micro:bit and Initial Data Collection

  1. Explain to students that today they will program the micro:bit attached to the muscle sensor to collect EMG signals. They will be provided with the necessary micro:bit code for collecting the data and for translating the collected graphs to numerical data. Students will then collect some base EMG data so they can revise their plans for data processing as needed. They should collect data while performing various muscle movements.

A photo showing a muscle sensor with electrodes placed on a student’s forearm and attached to a micro:bit with wires. On the other end, the micro:bit is attached to a laptop computer showing graphical and numerical EMG data on the micro:bit makecode website.
Sample experiment setup, with electrodes on forearm and laptop set up to collect EMG signal data.
copyright
Copyright © Taken during classroom testing.
A photo showing a muscle sensor with electrodes placed on a student’s upper arm and attached to a micro:bit with wires. On the other end, the micro:bit is attached to a  laptop computer showing graphical and numerical EMG data on the micro:bit MakeCode website.
Alternative experiment setup, with electrodes on upper arm. Students should be encouraged to experiment with various placements.
copyright
Copyright © Taken during classroom testing.

  1. Hand out the Day 4: Initial Data Collection Sheet to each student.
  2. Give students time to follow the instructions in the handout to attach the muscle sensor to their test subject’s arm and to program the micro:bit connected to the muscle sensor. Students should be able to collect graphs and numerical data for the EMG signals.
  3. Give students time to experiment with various electrode placements, including placements higher and lower on the arm, to find the placements that give them the best results.
  4. As needed, support students in finding proper electrode placements.
  5. Give students time to collect initial data for various muscle movements, based on their experiment design.
  6. Remind students they should record a detailed description of each movement, along with a screenshot of the graph output by the micro:bit in correlation with the movement, in their Day 4: Initial Data Collection Sheet.
  7. Make sure students are spacing out the movements appropriately, as they should be able to distinguish which movements correspond with which portions of the data.
  8. While students test, circulate to help support students in meeting this objective.

Day 5: Programming the Robot Movements

  1. Explain to students that today they will program the robot movements. They will translate different numerical EMG values into movements in the robots, figuring out how the data for each unique movement differs and how this can be translated into movements in the robots.
  2. Hand out one Day 5: Programming Robot Movements Sheet to each student.

A screenshot of a micro:bit program, including various blocks to program a micro:bit to accept EMG signal input and send radio signals based on the intensity of the signal.
Sample code for the micro:bit attached to the muscle sensor.
copyright
Copyright © Taken during classroom testing.
A screenshot of micro:bit program, including various blocks to program a micro:bit to receive radio signals and move a robot based on the signal received.
Sample code for the micro:bit attached to the robot.
copyright
Copyright © Taken during classroom testing.

  1. Have students program both the micro:bit attached to the muscle sensor and the one attached to the robot. The two micro:bits should communicate using radio signals.
  2. During this time, support students as they program, providing hints but not completed blocks of code.

Day 6: Testing, Redesign, and Reflection

  1. Explain to students that they will now test their systems with various movements, redesigning and reprogramming as needed. They will also reflect, discussing issues they ran into and whether they were able to accomplish their original goals.
  2. Hand out one Day 6: Testing, Redesign, and Reflection Sheet to each student.

A photo showing a muscle sensor with electrodes placed on a student’s forearm and attached to a micro:bit. The micro:bit is connected to a laptop computer on the other end to gather EMG data. A Cutebot is sitting next to the laptop.
Full experiment setup.
copyright
Copyright © Taken during classroom testing.

  1. Give students time to test their interfaces according to their experimental design.
  2. Remind students that they should describe their testing process in the “Testing Your Interface” section of the Day 6: Testing, Redesign, and Reflection Sheet, highlighting any problems or surprises that arise as they test their interfaces.
  3. Make sure students improve their design as needed, redesigning or reprogramming to fix any issues that emerged during testing.
  4. Give students time to reflect on the process as a whole in the “Reflection” section of the handout, describing any challenges they faced and how they could have mitigated these challenges at the beginning of the process.

Vocabulary/Definitions

brain-machine interface: A computer-based system that acquires brain signals, analyzes them, and translates them into commands that are relayed to an output device to carry out a desired action.

electromyography (EMG) signals: Electrical signals that measure the activity of muscles when they contract.

microcontroller: A small computer on a single integrated circuit.

neural circuit: A population of neurons interconnected by synapses to carry out a specific function when activated.

Assessment

Pre-Activity Assessment

Intro Sheet: Day 1: Intro to Neural Circuits Student Worksheet allows the teacher to gauge students’ initial understanding of circuits, the brain, and robots.

Activity Embedded (Formative) Assessment

Worksheets: There is a handout for each day that you should collect and analyze to ensure students are making adequate progress and meeting the activity objectives. You should also circulate as students are working each day to assess how their level of understanding is growing.

Post-Activity (Summative) Assessment

Reflection: The Day 6: Testing, Redesign, and Reflection Sheet asks students to reflect on their whole experiment, discussing what they learned and what they would do differently if they repeated this experiment. This allows you to assess whether the students formed the desired engineering design skills as they evaluate their work and find areas for improvement.

Troubleshooting Tips

It can be difficult to find the correct placement for the electrodes. Students should keep trying until they find placements that work well. This is part of the engineering design and testing process, but it can be frustrating. Before implementing this activity, you should watch videos and review pictures of proper electrode placement on the arm, and read the online MyoWare documentation for tips, to ensure you are able to help the students in troubleshooting this aspect of the experiment. Encourage students to experiment with electrode placement until they find something that works, even if they have to go through many iterations.

Activity Scaling

  • For younger students, you can make project groups larger, so students have more support. Five students per group should suffice. Students can also be provided with more guidance during the experiment design process. For example, instead of having students design their own interfaces independently, each group can take ownership of one specific portion of the system (i.e., one group designs the muscle-to-micro:bit connection, another designs the micro:bit-to-robot connection, another figures out how to transfer data between the two micro:bits, etc.). This way, the class will design the interface together, rather than each group having their own design.
  • For older students, you can make project groups smaller, such as three students per group. Students can be provided with less guidance during the interface design process. More independence will push them to research each component deeply, allowing them to explore different approaches and come to a consensus as a group.

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.

More Curriculum Like This

High School Activity
Wired to Think: Exploring the Brain as an Electrical Circuit

The brain is a complex computer with its own hardware and ‘software.’ Students are introduced to the brain’s function as an electrical circuit by exploring the similarities between neurons and electrical circuits. Students first learn about neurons, their structure, and how they transmit signals usi...

References

Australia, Healthdirect. “Neuromuscular System.” Www.healthdirect.gov.au, 18 Oct. 2023,

www.healthdirect.gov.au/neuromuscular-system#:~:text=Neurons%20carry%20messages%20to%20and

BBC Micro:bit. (2024). https://microbit.org

MyoWare 2.0 Muscle Sensor. (2024). https://myoware.com/products/muscle-sensor.

“Neural Circuit.” Physiopedia, www.physio-pedia.com/Neural_Circuit.

NIH. “Brain Basics: The Life and Death of a Neuron.” National Institute of Neurological Disorders and Stroke, 24 Mar.

2023, www.ninds.nih.gov/health-information/public-education/brain-basics/brain-basics-life-and-death-neuron#:~:text=Neurons%20are%20nerve%20cells%20that. 

Copyright

© 2025 by Regents of the University of Colorado; original © 2024 University of Missouri

Contributors

Hend Rasheed, Ashwin Mohan, Satish S. Nair

Supporting Program

Research Experience for Teachers (RET), University of Missouri Columbia

Acknowledgements

This work is based on work supported in part by the National Science Foundation under grant no. EEC-1801666—Research Experiences for Teachers at the University of Missouri. Any opinions, findings and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.

Last modified: March 13, 2025

Free K-12 standards-aligned STEM curriculum for educators everywhere.
Find more at TeachEngineering.org