Learn how to reflect mood using temperature measurements.
Head back to Earth to help our scientists create a temperature-sensing suit! Ask students: “Where do you think detecting temperature is important? Other than emojis, what response could you code?”
Students will be able to connect and configure a temperature sensor to a microcontroller using a breadboard and appropriate wiring.
Students will be able to create a function to measure temperature and return corresponding emojis based on temperature ranges.
Students will be able to test and modify their temperature sensor program to display temperature readings and corresponding emojis and personalize the program by setting different temperature ranges and emojis.
Career Connections
Robotics Engineer: Salary $104,600/yr
Automotive Engineer: Salary $95,300/yr
Civil Engineer: Salary $88,050/yr
Electro-Mechanical and Mechtronics Technicians: Salary $60,570/yr
Have an different version? Look for more information on the Support Page.
Troubleshooting Tips
Is the Temperature Sensor failing to detect temperature changes?
Ensure that you’ve plugged the wires into the right GPIO. Look at the Digital View to see which pin you’re affecting.
Use simple changes in temperature, such as the side of a cup of hot or ice water. DO NOT place the temperature sensor in liquid!
How does the Temperature Sensor detect temperature changes?
Temperature Sensors are composed of two metals that generate an electrical voltage or resistance when a temperature change occurs by measuring the voltage across the diode terminals.
Our customer support specialists are on hand to ensure your implementation of Piper runs seamlessly. View Support Docs or Contact Support
EXPANDED RESOURCES
Term Glossary
Engineer Someone who designs, builds, or fixes things to solve problems.
Sensor A device that produces an output signal to sense a physical phenomenon.
Conditional Statement A coding instruction used to compare values and express and make decisions, like an if-then statement.
List A sequence of several values grouped under a single name in code. A group of items or components. A tool used to store multiple pieces of information at once.