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
Circuit A conductive path for the flow of current or electricity.
Power The current or flow of electric charge and voltage.
Microcontroller An integrated circuit containing a microprocessor with memory and associated circuits.
Variables A value that can change depending on conditions or information passed to the program. A storage location with a symbolic name used to keep track of a value that can change while a program is running (similar concept to using X and Y in an algebraic equation). Variables are not only numbers; they can also hold text, including whole sentences (strings) or logical values (true or false).
Input Device A hardware device that sends data to a computer, allowing interaction and control.
Output Device A piece of hardware that converts information into a form humans can sense and understand.