Lesson How Does a Touch Sensor Work?

Quick Look

Grade Level: 5 (5-8)

Time Required: 45 minutes

Lesson Dependency:

Subject Areas: Biology, Computer Science, Life Science, Science and Technology

NGSS Performance Expectations:

NGSS Three Dimensional Triangle

A photograph shows a handshake between a human hand and a robot hand.
Our hands use the sense of touch to inform us of our surroundings. Do you think engineers have been able to replicate the sense of touch in robots?
Copyright © Barrett Technology Inc. via NASA http://spinoff.nasa.gov/Spinoff2008/hm_1.html


Students learn about how touch sensors work, while reinforcing their similarities to the human sense of touch. They look at human senses and their electronic imitators, with special focus on the nervous system, skin and touch sensors. A PowerPoint® presentation explains stimulus-to-response pathways, how touch sensors are made and work, and then gives students a chance to handle and get familiar with the LEGO touch sensor, including programming LEGO® MINDSTORMS® EV3 robots to use touch sensor input to play music. Students take pre/post quizzes and watch a short online video. The mini-activities prepare students for the associated activity. This lesson and its associated activity enables students to appreciate how robots can take input from sensors, and use that to make decisions to move.
This engineering curriculum aligns to Next Generation Science Standards (NGSS).

Engineering Connection

Touch sensors—called tactile sensors by engineers—are part of many devices that we use every day. Tactile sensors are sensitive to touch, force or pressure, and are made using light (optical), electricity or magnetism. The stimulus-to-response pathways seen in electronic touch sensor operation mimics the human body process that involves our skin, signal transmission via the nervous system, and brain. For instance, computer keys are touch sensors that inform the computer which keys are being pressed. All keypads have touch sensors. Similarly, you can open a car door using a touch sensor that generates an infrared signal that goes to the car's computer informing it to unlock the door. Touchscreens on phones and computer tablets enable even more exquisite communication between people and machines. The use of sensors has exploded into the design of uncountable every day tools, equipment, appliances and devices.

Learning Objectives

After this lesson, students should be able to:

  • Describe how touch sensors work.
  • Compare the touch sensor to the human sense of touch.
  • Program a LEGO MINDSTORMS EV3 robot with a touch sensor.
  • Provide a basic explanation of how sensors are integrated into robots via careful programming.

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

MS-LS1-3. Use argument supported by evidence for how the body is a system of interacting subsystems composed of groups of cells. (Grades 6 - 8)

Do you agree with this alignment?

Click to view other curriculum aligned to this Performance Expectation
This lesson focuses on the following Three Dimensional Learning aspects of NGSS:
Science & Engineering Practices Disciplinary Core Ideas Crosscutting Concepts
In multicellular organisms, the body is a system of multiple interacting subsystems. These subsystems are groups of cells that work together to form tissues and organs that are specialized for particular body functions.

Alignment agreement:

Systems may interact with other systems; they may have sub-systems and be a part of larger complex systems.

Alignment agreement:

Scientists and engineers are guided by habits of mind such as intellectual honesty, tolerance of ambiguity, skepticism, and openness to new ideas.

Alignment agreement:

NGSS Performance Expectation

MS-LS1-8. Gather and synthesize information that sensory receptors respond to stimuli by sending messages to the brain for immediate behavior or storage as memories. (Grades 6 - 8)

Do you agree with this alignment?

Click to view other curriculum aligned to this Performance Expectation
This lesson focuses on the following Three Dimensional Learning aspects of NGSS:
Science & Engineering Practices Disciplinary Core Ideas Crosscutting Concepts
Gather, read, and synthesize information from multiple appropriate sources and assess the credibility, accuracy, and possible bias of each publication and methods used, and describe how they are supported or not supported by evidence.

Alignment agreement:

Each sense receptor responds to different inputs (electromagnetic, mechanical, chemical), transmitting them as signals that travel along nerve cells to the brain. The signals are then processed in the brain, resulting in immediate behaviors or memories.

Alignment agreement:

Cause and effect relationships may be used to predict phenomena in natural systems.

Alignment agreement:

  • Explain how various relationships can exist between technology and engineering and other content areas. (Grades 3 - 5) More Details

    View aligned curriculum

    Do you agree with this alignment?

  • Explain how knowledge gained from other content areas affects the development of technological products and systems. (Grades 6 - 8) More Details

    View aligned curriculum

    Do you agree with this alignment?

  • Describe how new technologies have helped scientists make better observations and measurements for investigations (e.g., telescopes, electronic balances, electronic microscopes, x-ray technology, computers, ultrasounds, computer probes such as thermometers) (Grade 5) More Details

    View aligned curriculum

    Do you agree with this alignment?

  • Explain the interactions between the nervous and muscular systems when an organism responds to a stimulus (Grade 8) More Details

    View aligned curriculum

    Do you agree with this alignment?

Suggest an alignment not listed above

Worksheets and Attachments

Visit [www.teachengineering.org/lessons/view/umo_sensorswork_lesson03] to print or download.

Pre-Req Knowledge

  • Experience using and programming the LEGO MINDSTORMS EV3 intelligent brick.
  • An understanding of the primary five senses of the human body: sight, hearing, smell, taste and touch.
  • Completion of the first unit in the series: Humans Are Like Robots (unit 1)
  • It is also recommended that the previous lessons and activities in this unit have been completed.


(Be ready to show students the 19-slide How Does a Touch Sensor Work? Presentation, a Microsoft® PowerPoint® file, to teach the lesson, as well as a computer/projector with Internet access to show a short online video. In advance, make copies of the Touch Sensor Pre/Post Quiz, two each per student, provided as attachments and slides. For the mini-activities, student pairs use LEGO robots to experiment with touch sensors.)

Do you know how your sense of touch works? Today, we will start with a brief review of sensors, and then focus specifically on the touch sensor, in both humans and robots. Then we'll do some mini-activities so you can get familiar with the touch sensor and see how it can be used to activate a motor using the LEGO brick. After this, you will be ready for a more involved hands-on activity in our next class—you will program the LEGO robot to play more complex music and respond to touch through changes in turning a wheel.

(Continue by showing the presentation and delivering the content in the Lesson Background section.)

Lesson Background and Concepts for Teachers

Present the lesson using the content provided in the slide presentation, as described below. During the lesson, students engage in two mini hands-on activities that require the following for each student pair:


Note: This can also be conducted with the older (and no longer sold) LEGO MINDSTORMS NXT set instead of EV3; see below for those supplies:

  • LEGO MINDSTORMS NXT robot, such as the NXT Base Set
  • computer, loaded with NXT 2.1 software

How Does the Touch Sensor Work? Presentation Outline (Slides 1-10)

  • Administer the pre-quiz by handing out paper copies; the quiz is also on slide 2. The answers are provided for the teacher on slide 3 for discussion after students have completed the quiz.
  • (slide 4) Describe what is meant by a sensor, emphasizing that the human hand has millions of highly sensitive nerve endings (touch sensors) that are able to detect several different types of stimulation. These include pressure, temperature and pain. When these specialized receptors are stimulated, they send signals through the nervous system to the brain, which interprets them.
  • To provide more information about the skin as a sensory organ, show students a one-minute YouTube video on "How the Body Works: The Sensory Cortex and Touch" (link provided on slide 5).
  • Ask students: How is the sense of touch transmitted from the hand to the brain? Write student responses on the board, but do not give them any help. Expect them to be able to get the idea of a sensing element, and then the transmission of the signal to the brain. Then use slide 6 to explain how our brains do it.
  • (slide 7) After a brief review, give students a few minutes to come up with the components of a "stimulus-sensor-coordinator-effector-response" pathway using the human touch sensor. After students have thought about it and written their answers, explain the concept using slides 8-10; slide 8 shows an image of the body's nervous system. The answer is on slide 17.
  • Before explaining the robot sensors listed in slide 10, ask students: How many and which sensors do you think have been replicated in robots? (Answer: eyes [color sensor, ultrasonic sensor], ears [sound sensor], skin [touch, temperature, pressure sensors]; smell [electronic nose] are being used in industry; taste [electronic tongue] are not very common and still being developed.) Briefly explain the various sensors provided with the EV3 taskbot: sound, touch, color and ultrasonic.

Touch Sensor Details and Mini-Activities Presentation Outline (Slides 11-19)

  • Hold up a LEGO touch sensor and show students its orange button. Ask students: What might happen when the button on the touch sensor is pressed? Write their answers on the classroom board.
  • (slides 11–13) Explain briefly how touch sensors are made and how they work. Help them to understand that it is similar to turning on a switch to light a lamp—moving the switch completes a circuit, permitting a current to go to the lamp to light it. Closing the loop on the touch sensor enables a current to be sent to the LEGO brick, which informs it that the button was pressed.
  • Give students a chance to use a touch sensor attached to a LEGO brick to see for themselves what happens when they touch the sensor's button, as directed on slide 13 (or do this as a teacher demo). The brick registers a "1" when the sensor is pressed and "0" otherwise. Also have students use the "Try Me" option on the brick.
  • To reinforce this further, have student pairs complete a simple mini-activity that is described on slide 14. Have groups use computers to program the brick to use touch sensors to play music, and then document their observations and explain how the program works step-by-step. This involves students programming the computer, and then running it with the music button in the Functions Palette. The answer is on slide 18 for the teacher.
  • Administer the post-quiz by handing out paper copies; the quiz is also on slide 15. The answers are provided on slide 16. Slide 19 lists some vocabulary words and definitions. This concludes the lesson. Next, conduct the associated activity, Music by Touch: Programming Robot Tactile Sensors to Play Sounds.

Associated Activities

  • Music by Touch: Programming Robot Tactile Sensors to Play Sounds - Students learn programming skills and logic design in parallel through a hands-on design challenge involving LEGO® MINDSTORMS® EV3 intelligent bricks, motors and touch sensors. They program robot computers to play sounds and rotate a wheel when a touch sensor is activated, and then produce different responses if a different touch sensor is pressed. Students see how the robot uses sensor input to make decisions to move appropriately.

Lesson Closure

Robots use the information received from sensors to make decisions about movement and actions in much the same manner as we do when our brains uses signals from our senses to decide how to control our muscles and bodily functions.

Engineers are always trying to improve sensors to be more like the senses in our bodies. Our skin measures many subtle physical quantities and a variety of robotic sensors have been designed to mimic human skin. In addition to simple touch sensors like we just experimented with, other sensors measure temperature and pressure, similar to what we sense through skin.

Have you noticed the similarities? Engineers are inspired by the extraordinary capabilities of the human body and brain and get many good ideas from how it functions, so I'm sure that you have noticed that the design of sensors and robots often have a lot of similarities to humans.


sensor: A device that converts one type of signal to another; for instance, the speedometer in a car collects physical data and calculates and displays the speed the car is moving.

stimulus: A thing or event that causes a reaction, such as a specific functional reaction in an organ or tissue.

tactile: Related to touch.

transducer: Another term for a sensor.


Pre-Lesson Assessment

Pre-Quiz: Administer the four-question Touch Sensor Pre/Post Quiz by handing out paper copies (also on slide 2). Students' answers reveal their base understanding of the topic of touch sensors, both human and robotic. Answers are provided on the Touch Sensor Pre/Post Quiz Answer Key (and on slide 3). Administer the same quiz at lesson end.

Post-Introduction Assessment

Mini-Activity: Have students complete a simple programming mini-activity (as explained on slide 14). Observe students while they work to assess whether they understand how the touch sensor conveys the information (whether the sensor has been pressed or not) to the LEGO computer (brick). Go from group to group and ask students to explain the activity, their progress and any solutions they have found. The mini-activity answer is provided for the teacher on slide 15 as a guide to assess student progress and understanding.

Lesson Summary Assessment

Post-Quiz: Administer the Touch Sensor Pre/Post Quiz again (also on slide 15), comparing students' answers with their pre-quiz answers to assess what they learned during the lesson. Quiz answers are provided in the Touch Sensor Pre/Post Quiz Answer Key (and slide 16).

Additional Multimedia Support

Show students the "How the Body Works: The Sensory Cortex and Touch" YouTube video about the skin as a sensory organ for the brain (1:07 minutes): https://www.youtube.com/watch?v=IC3YTJNu0Ec&feature=related

EV3 robots and sensors: https://www.lego.com/en-us/mindstorms/?domainredir=mindstorms.lego.com

What is a transducer? http://en.wikipedia.org/wiki/Transducer

What is a sensor? http://en.wikipedia.org/wiki/Sensors

List of sensors http://en.wikipedia.org/wiki/List_of_sensors

The Skin (structure, epidermis, dermis, general features) on MedIndia: http://www.medindia.net/know_ur_body/anatomy-of-skin.asp


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

Upper Elementary Lesson
How Does an Ultrasonic Sensor Work?

Students learn about how ultrasonic sensors work, reinforcing the connection between this sensor and how humans, bats and dolphins estimate distance. They learn the echolocation process—sound waves transmitted, bounced back and received, with the time difference used to calculate the distance of obj...

Upper Elementary Lesson
What Is a Program?

Using a few blindfolds and a simple taped floor maze exercise, students come to understand that computers rely completely upon instructions given in programs and thus programs must be comprehensive and thorough. Students create and test basic programs, first using just the LEGO intelligent brick, an...

Upper Elementary Lesson
What Is a Motor and How Does a Rotation Sensor Work?

Students learn about electric motors and rotational sensors. They learn that motors convert electrical energy to mechanical energy and typically include rotational sensors to enable distance measuring. Students create a basic program using the LEGO® MINDSTORMS® interface to control a motor to move a...

Upper Elementary Lesson
How Do You Make Loops and Switches?

Students learn how to program using loops and switches. Using the LEGO® MINDSTORMS® robots, sensors and software, student pairs perform three mini programming activities using loops and switches individually, and then combined.


© 2013 by Regents of the University of Colorado; original © 2013 Curators of the University of Missouri


Trisha Chaudhary, Pranit Samarth, Satish S. Nair

Supporting Program

GK-12 Program, Computational Neurobiology Center, College of Engineering, University of Missouri


This curriculum was developed under National Science Foundation GK-12 grant no. DGE 0440524. However, these contents do not necessarily represent the policies of the National Science Foundation, and you should not assume endorsement by the federal government.

Last modified: March 27, 2024

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