# data[].attributes.attachment_link.title
2What is Engineering PPT Student Discussion Questions (1).docx

# data[].attributes.attachment_link.readable_text
Introduction

The LilyPad Temperature Sensor lets you detect temperature changes in the environment (or an object pressed against the sensor) on your wearable project.

The temperature sensor board will output specific voltage at set temperatures - 10mV for every degree Celsius (°C), with 0 degrees C set at 0.5V. The current flowing through the signal tab can be read by an analog tab on a LilyPad Arduino board and converted through a formula to degrees in Celsius or Fahrenheit. Follow along to learn how to convert the voltage from the sensor into usable temperature data in your project.

You will need to connect the sensor to a LilyPad Arduino or other microcontroller to read the output values and use in your code.

Required Materials

To follow along with the code examples, we recommend:

Suggested Reading

To add this sensor to a project, you should be comfortable sewing with conductive thread and uploading code to your LilyPad Arduino. Here are some tutorials to review before working with this sensor:

Attaching to a LilyPad Arduino

The LilyPad Temperature Sensor has three sew tabs - Power (+), Ground (-), and Signal (S). The signal tab will be connected to an analog tab (marked with an 'A') on a LilyPad Arduino.

LilyPad Arduino USB

To follow along with the code examples in this tutorial, connect the temperature sensor to a LilyPad Arduino as shown below. Use alligator clips to temporarily connect Signal to A3 on a LilyPad Arduino, (-) to (-) on the LilyPad, and the (+) to (A5). When you are finished prototyping, replace the alligator clips with conductive thread traces for permanent installation in your project.

To make our diagrams easier to follow, and to avoid any potential short circuits in our stitching, we'll be connecting the Power pin to A5, which we will then set to HIGH in our code. This will act as an additional power attachment.

LilyPad ProtoSnap Plus

After clipping the sensor to A9, move the slide switch to the OFF position to keep the switch from interfering with your input signal.

Other LilyPad Connection Notes:

If using the ProtoSnap - LilyPad Development Simple - attach to the metal tab at the top right of the board, this connects to A3. You can also set pin A5 to HIGH in your code to use it as an additional power tab, as the LilyPad Simple's tab is hard to access in the ProtoSnap format.

If using the the pre-wired temperature sensor on the ProtoSnap - LilyPad Development Board, it is attached to pin A1.

Interpreting Sensor Readings

The sensor produces an analog voltage representing the temperature near it. In order to get readings in degrees, we'll have to do some math. The voltage output from the sensor is linearly proportional to the Celsius temperature. Once you know the output voltage of the sensor, you can calculate the temperature with this equation:

To convert that reading to Fahrenheit, use this formula:

Next, we'll be use Serial Monitor to read the values coming from the sensor and insert the formulas in our code to display the temperature in both Celcius and Farenheit.

Note: Upload the following code to your LilyPad Arduino, making sure to select the correct LilyPad board from the drop down menu below. Choose LilyPad Arduino USB if using a LilyPad Arduino USB. The LilyPad Arduino Simple, LilyPad Arduino, and LilyPad Development Board, and Development Board Simple all use a LilyPad ATmega 328. Select LilyPad USB Plus if following along with the LilyPad ProtoSnap Plus.

Don't forget to select the Serial Port that your LilyPad is connected to.

If prototyping with a LilyPad Development Board, change sensorPin to A1.

language:c /* LilyPad Temperature Sensor Example SparkFun Electronics https://www.sparkfun.com/products/8777 This code reads the input of the temperature sensor, converts it to Farenheit and Celsius and prints to the Serial Monitor. Temperature sensor connections: * S tab to A3 * + tab to A5 (or +) * - tab to - Follow the tutorial at: https://learn.sparkfun.com/tutorials/lilypad-temperature-sensor-hookup-guide This code is released under the MIT License (http://opensource.org/licenses/MIT) ******************************************************************************/ // Connect the S tab of the Temperature Sensor to A3 // If using the LilyPad ProtoSnap Plus, change to A9 int sensorPin = A3; void setup() { // Set the temperature sensor pin as an INPUT: pinMode(sensorPin, INPUT); // Set pin A5 to use as a power pin for the light sensor // If using the LilyPad Development Board or the + tab for power, comment out these lines of code pinMode(A5, OUTPUT); digitalWrite(A5, HIGH); // Initialize Serial, set the baud rate to 9600 bps. Serial.begin(9600); } void loop() { // Variable to store raw temperature long rawTemp; // Variable to store voltage calculation float voltage; // Variable to store Fahrenheit value float fahrenheit; // Variable to store Celsius value float celsius; // Read the raw 0-1023 value of temperature into a variable. rawTemp = analogRead(sensorPin); // Calculate the voltage, based on that value. // Multiply by maximum voltage (3.3V) and divide by maximum ADC value (1023). // If you plan on using this with a LilyPad Simple Arduino on USB power, change to 4.2 voltage = rawTemp * (3.3 / 1023.0); Serial.print("Voltage: "); // Print voltage reading to serial monitor Serial.println(voltage); // Calculate the celsius temperature, based on that voltage.. celsius = (voltage - 0.5) * 100; Serial.print("Celsius: "); // Print celcius temp to serial monitor Serial.println(celsius); // Use a common equation to convert celsius to Fahrenheit. F = C*9/5 + 32. fahrenheit = (celsius * 9.0 / 5.0) + 32.0; Serial.print("Fahrenheit: "); // Print Fahrenheit temp to serial monitor Serial.println(fahrenheit); // Print a blank line Serial.println(); // Wait 1 second between readings delay(1000); }

After uploading the code to your LilyPad Arduino, click the magnifying glass icon at the top right of your Arduino window to open the Serial Monitor window. You should begin seeing some values from the sensor. Try placing your finger over the sensor to see the readings change.

Be careful not to place anything wet on the sensor circuit when trying to get readings from cold items, it could damage the circuit.

Using Values to Trigger Behaviors

Next, we'll use some of the readings we gathered to trigger an action or behavior when the temperature is above or below a set threshold.

This example uses the built-in LED attached to pin 13 on the LilyPad Arduino.

language:c /* LilyPad Temperature Trigger Example SparkFun Electronics https://www.sparkfun.com/products/8777 This code reads the input of the temperature sensor and compares it to a set variable named 'threshold'. If temperature is above the thermalAlert threshold, the built-in LED on the LilyPad Arduino will turn on. If the temperature falls below the threshold, the LED will turn off. Temperature sensor connections: * S tab to A3 * + tab to A5 (or +) * - tab to - Follow the tutorial at: https://learn.sparkfun.com/tutorials/lilypad-temperature-sensor-hookup-guide This example is based on Thermal Alert! example in the Digital Sandbox: https://learn.sparkfun.com/tutorials/digital-sandbox-arduino-companion/12-thermal-alert This code is released under the MIT License (http://opensource.org/licenses/MIT) ******************************************************************************/ // Connect the S tab of the Temperature Sensor to A3 // If using the LilyPad ProtoSnap Plus, change to A9 int sensorPin = A3; int alertLED = 13; // Set temperature threshold variable to check against. If the temperature reading is above // this number in degrees Fahrenheit, the LED will turn on int threshold = 80; // 80 degrees Fahrenheit void setup() { // Set the temperature sensor pin as an INPUT: pinMode(sensorPin, INPUT); // Set pin A5 to use as a power pin for the light sensor // If using the LilyPad Development Board or the + tab for power, comment out these lines of code pinMode(A5, OUTPUT); digitalWrite(A5, HIGH); // Make the built-in LED an OUTPUT pinMode(alertLED, OUTPUT); // Initialize Serial, set the baud rate to 9600 bps. Serial.begin(9600); } void loop() { // Variable to store raw temperature long rawTemp; // Variable to store voltage calculation float voltage; // Variable to store Fahrenheit value float fahrenheit; // Variable to store Celsius value float celsius; // Read the raw 0-1023 value of temperature into a variable. rawTemp = analogRead(sensorPin); // Calculate the voltage, based on that value. // Multiply by maximum voltage (3.3V) and divide by maximum ADC value (1023). // If you plan on using this with a LilyPad Simple Arduino on USB power, change to 4.2 voltage = rawTemp * (3.3 / 1023.0); Serial.print("Voltage: "); // Print voltage reading to serial monitor Serial.println(voltage); // Calculate the celsius temperature, based on that voltage.. celsius = (voltage - 0.5) * 100; Serial.print("Celsius: "); // Print celcius temp to serial monitor Serial.println(celsius); // Use a common equation to convert celsius to Fahrenheit. F = C*9/5 + 32. fahrenheit = (celsius * 9.0 / 5.0) + 32.0; Serial.print("Fahrenheit: "); // Print Fahrenheit temp to serial monitor Serial.println(fahrenheit); // Print a blank line Serial.println(); // Check the temperature, and turn on the LEDs associated with the hot or cold thresholds if (fahrenheit >= threshold) // If the temperature rises above the threshold: { digitalWrite(alertLED, HIGH); // Turn the LED on Serial.println("Thermal alert!"); } else { digitalWrite(alertLED, LOW); //Turn the LED off } // Wait 1 second between readings delay(1000); }

In this code, we use an if() statement to compare the value of threshold to the converted analog readings from the temperature sensor stored in the fahrenheit variable. If the temperature is too hot (higher than the threshold's set value), then the LED will turn on. If the value is lower than the threshold, the LED will turn off.

If are having trouble getting temperatures that trigger the LED, check the output of the Serial Monitor to see if there's a better value for threshold than what is set in the example code.

Project Examples

After prototyping and testing a project with the temperature sensor you can replace the connections with conductive thread in your project. Follow this guide for an introduction to connecting LilyPad pieces with conductive thread:

Need some inspiration for your next project? Check out some of the projects below from the community.

Breathe 3.0 Scarf by Hilary Hayes

Hilary used a LilyPad Arduino, temperature sensor, conductive thread, bright white LEDs, purple wool yarn to create a scarf that illuminates with the wearer's breath.

Photo courtesy of Fashioning Technology

Hands-on-Warm by Maria Julia Guimaraes

The Hands-on-Warm project uses a LilyPad Arduino, LilyPad Temperature Sensor, and heating pad to warm the hands of people who experience extreme cold sensitivity.

Resources and Going Further

For more information about the LilyPad Temperature Sensor, check out the resources below:

Here are some resources for planning a project with the temperature sensor:

# data[].attributes.attachment_link.description
The LilyPad Temperature Sensor lets you detect temperature changes in the environment (or an object pressed against the sensor) on your wearable project. The temperature sensor board will output specific voltage at set temperatures - 10mV for every degree Celsius (°C), with 0 degrees C set at 0.5V.

# data[].attributes.headline
Student working on projects for class and competito

# data[].attributes.subject
Student working on projects for class and competito

# data[].attributes.attachment_link.title
Seating Assignments for 6th Period Elective.docx

# data[].attributes.attachment_link.readable_text
Auditory

If you are an auditory learner, you learn by hearing and listening. You understand and remember things you have heard. You store information by the way it sounds, and you have an easier time understanding spoken instructions than written ones. You often learn by reading out loud because you have to hear it or speak it in order to know it.

As an auditory learner, you probably hum or talk to yourself or others if you become bored. People may think you are not paying attention, even though you may be hearing and understanding everything being said.

Here are some things that auditory learners like you can do to learn better.

Sit where you can hear.

Have your hearing checked on a regular basis.

Use flashcards to learn new words; read them out loud.

Read stories, assignments, or directions out loud.

Record yourself spelling words and then listen to the recording.

Have test questions read to you out loud.

Study new material by reading it out loud.

Remember that you need to hear things, not just see things, in order to learn well.

Visual

If you are a visual learner, you learn by reading or seeing pictures. You understand and remember things by sight. You can picture what you are learning in your head, and you learn best by using methods that are primarily visual. You like to see what you are learning.

As a visual learner, you are usually neat and clean. You often close your eyes to visualize or remember something, and you will find something to watch if you become bored. You may have difficulty with spoken directions and may be easily distracted by sounds. You are attracted to color and to spoken language (like stories) that is rich in imagery.

Here are some things that visual learners like you can do to learn better:

Sit near the front of the classroom. (It won't mean you're the teacher's pet!)

Have your eyesight checked on a regular basis.

Use flashcards to learn new words.

Try to visualize things that you hear or things that are read to you.

Write down key words, ideas, or instructions.

Draw pictures to help explain new concepts and then explain the pictures.

Color code things.

Avoid distractions during study times.

Remember that you need to see things, not just hear things, to learn well.

Tactile

If you are a tactile learner, you learn by touching and doing. You understand and remember things through physical movement. You are a "hands-on" learner who prefers to touch, move, build, or draw what you learn, and you tend to learn better when some type of physical activity is involved. You need to be active and take frequent breaks, you often speak with your hands and with gestures, and you may have difficulty sitting still.

As a tactile learner, you like to take things apart and put things together, and you tend to find reasons to tinker or move around when you become bored. You may be very well coordinated and have good athletic ability. You can easily remember things that were done but may have difficulty remembering what you saw or heard in the process. You often communicate by touching, and you appreciate physically expressed forms of encouragement, such as a pat on the back.

Here are some things that tactile learners like you can do to learn better:

Participate in activities that involve touching, building, moving, or drawing.

Do lots of hands-on activities like completing art projects, taking walks, or acting out stories.

It's OK to chew gum, walk around, or rock in a chair while reading or studying.

Use flashcards and arrange them in groups to show relationships between ideas.

Trace words with your finger to learn spelling (finger spelling).

Take frequent breaks during reading or studying periods (frequent, but not long).

It's OK to tap a pencil, shake your foot, or hold on to something while learning.

Use a computer to reinforce learning through the sense of touch.

Remember that you learn best by doing, not just by reading, seeing, or hearing.

# data[].attributes.attachment_link.title
What's Your Learning Style? 20 Questions

# data[].attributes.attachment_link.description
Auditory If you are an auditory learner, you learn by hearing and listening. You understand and remember things you have heard. You store information by the way it sounds, and you have an easier time understanding spoken instructions than written ones.

# data[].attributes.attachment_link.title
What is engineering PowerPoint March 2014 (3).ppt.pptx

# data[].attributes.attachment_link.title
13Exploration of One Health Website (1).docx

# data[].attributes.body
CO2

# data[].attributes.body
CO2

# data[].attributes.body
Co2 2

# data[].attributes.body
Aj

# data[].attributes.body
Steph3

# data[].attributes.body
Steph2

# data[].attributes.body
Steph1

# data[].attributes.body
post a picture of your engineer here nd basic information

# data[].attributes.attachment_link.description
Four Academy sessions are offered throughout the year. Fall and Spring sessions meet Saturday mornings from 8:45 a.m. to 1:00 p.m. Summer and Algebra sessions meet for one week in June and one week in July from 7:45 a.m. to 12:15 p.m.

# data[].attributes.body
Nanotechnology Magazine

# data[].attributes.attachment_link.readable_text
Issue #1 was the "pilot" issue for Nanooze in Print. No hard copies are available. It is only 4 pages.

View and Print Issue #1 nanooze_edition_01

Topics include:

What is nanotechnology?

How big is a nanometer?

Nanobots, the Reality!

Better Tennis Rackets (and other cool things) through Nanotechnology.

# data[].attributes.attachment_link.description
Issue #1 was the "pilot" issue for Nanooze in Print. No hard copies are available. It is only 4 pages. View and Print Issue #1 nanooze_edition_01 Topics include: What is nanotechnology? How big is a nanometer? Nanobots, the Reality! Better Tennis Rackets (and other cool things) through Nanotechnology.

# data[].attributes.body
1. What is One Health Article

# data[].attributes.headline
1/31/18  Student Survey for Grouping, Two Truths & a Lie, Fire Drill

# data[].attributes.subject
1/31/18  Student Survey for Grouping, Two Truths & a Lie, Fire Drill

# data[].attributes.body
Safety Review & Safety Test

# data[].attributes.body
1/26/18

# data[].attributes.body
February 15, 2018 – Deadline to register teams for the 2017 Wearable Device Challenge

March 29, 2018 – Deadline to submit all materials from competing teams & register students

April 17, 2018 – Wearable Device Challenge held at Talley Union, NC State University

# data[].attributes.body
Issued 1/25/18

# data[].attributes.body
Issued 1/25/18

# data[].attributes.headline
Parent Communicatio  Sheet & Log-in Info

# data[].attributes.subject
Parent Communicatio  Sheet & Log-in Info

# data[].attributes.body
Pretest

# data[].attributes.body
April 17, 2018 NCSU

# data[].attributes.attachment_link.readable_text
The Challenge

Design a device for use by a human, animal, or both to address an issue at the intersection of human, animal, & environmental health

April 17, 2018

NC State University

What is the Wearable Device Challenge?

The Wearable Device Challenge integrates the One Health Initiative concepts and the Grand Challenges of Engineering to create a competition where students will be tasked with designing a wearable device to monitor the health of a human or animal based on environmental factors and/or disease transmission. The One Health Initiative is a collaborative initiative which focuses on the health of humans, animals, and the environment. Through studying these connections we can better understand animal to human interactions, prevention of disease transmission, and correlations between the environment, animal and human health. The Grand Challenges of Engineering focus on fourteen areas of engineering that pose the greatest global challenges, encouraging international collaboration to solve each challenge. One of the fourteen topics of the Grand Challenges of Engineering is advanced health informatics.

For the competition students will use the engineering design process to design their wearable device to solve a global health challenge. High school students will be required to design a working prototype of their device along with an ad campaign and poster. Middle school students will be required to design a prototype of their device along with an ad campaign and poster.

What is ASSIST?

ASSIST creates self-powered, wearable health and environmental monitoring systems. ASSIST stands for "Advanced Self-Powered Systems of Integrated Sensors and Technologies". ASSIST is an Engineering Research Center financed by the National Science Foundation and headquartered at NC State University. Education and outreach are an integral part of the Center's mission and vision. The Wearable Device Challenge aims to disseminate the core of ASSIST work to the K-12 community and build the pipeline for young scientists and engineers who will be prepared to continue the important work of identifying and solving the Grand Challenges of Engineering for the future.

Competition Overview

Guidelines

The teams from participating schools will upload their designs and all supporting materials to Google for preliminary judging. Judges will consist of a team of graduate research assistants, professors from NC State University, and industry personnel. The competition is organized and sponsored by the ASSIST Center at NC State University. Students must create a working prototype (high school) or model (middle school) of their device, a poster showing the engineering design process used to create their device, and an ad campaign informing the public of their device.

Teachers will have access to the ASSIST Center's library of supplies. In these webpages about the Wearable Device Challenge, teachers will find lesson plans that will help them to implement the Wearable Device Challenge, including lesson plans on the engineering design process, sensor and energy harvesting technology, platforms and programming. All of the lesson plans are aligned with North Carolina teaching standards.

Students will use the engineering design process to create a wearable device that monitors health and is aligned with the One Health Initiative. Students will design their wearable device students using platforms such as Arduino Unos, Lilypads, Littlebits circuit set, or TI Sensortag. Students must be able to articulate how future iterations of their design can be self-powered. High school students will be tasked with designing a working prototype while middle students will be required to design a 3D model (bonus points will be given to middle school teams that have a working prototype).

# data[].attributes.attachment_link.description
The Wearable Device Challenge integrates the One Health Initiative concepts and the Grand Challenges of Engineering to create a competition where students will be tasked with designing a wearable device to monitor the health of a human or animal based on environmental factors and/or disease transmission.

# data[].attributes.body
Get signed: Student Information Sheet, Safety Contract Syllabus

# data[].attributes.body
Issued 1/25/18

# data[].attributes.attachment_link.title
Exit Ticket:: Describe how one safety rule would look in action in our classroom.

# data[].attributes.attachment_link.title
Meet Google Drive - One place for all your files

# data[].attributes.attachment_link.description
Google Drive is a free way to keep your files backed up and easy to reach from any phone, tablet, or computer. Start with 15GB of Google storage - free.

# data[].attributes.body
Create a wearable device that works to monitor the health of humans, animals or the environment in a team setting.  In the process, you will learn about the work of engineers, the Engineering Design Process, Engineering Fields and Careers, soldering, Sketchup,  introduction to 3-D Printing,  collaboration with others and yourself. One Class Team & 1 Club Team will compete in the Wearable Device Challenge April 17, 2018.