
184 Make: Wearable Electronics
else if (micReading < minReading){
minReading = micReading;
// save the minimum reading
}
}
// find the amplitude
amplitude = (maxReading - minReading);
Serial.println(amplitude);
}
TEMPERATURE
Clothing provides warmth and protection. It makes
sense that responsive clothing might want to react to
temperature. Temperature sensors can be used to sense
both environmental conditions and body warmth. Many
temperature sensors are available, from analog to digital to
high temperature to waterproof to noncontact. They are also
sometimes combined with sensors for barometric pressure,
humidity, and altitude.
Each of these units ...