a few of my favorite sensors
DISCLAIMER & USAGE The content of this presentation is for informational purposes only and is intended only for students attending Louisiana Tech University. The author of this information does not make any claims as to the validity or accuracy of the information or methods presented. Any procedures demonstrated here are potentially dangerous and could result in injury or damage. Louisiana Tech University and the State of Louisiana, their officers, employees, agents or volunteers, are not liable or responsible for any injuries, illness, damage or losses which may result from your using the materials or ideas, or from your performing the experiments or procedures depicted in this presentation. If you do not agree, then do not view this content. The copyright label, the Louisiana Tech logo, and the “living with the lab” identifier should not be removed from this presentation. You may modify this work for your own purposes as long as attribution is clearly provided.
accelerometer Sparkfun SEN-09269 $14.95 retail ADXL335 accelerometer 3-axis ±3g power using 3.3V supply analog output of acceleration DATA SHEET: https://www.sparkfun.com/datasheets/Components/SMD/adxl335.pdf
Cantherm MF52 series thermistor void setup() { Serial.begin(9600); } void loop() { int t=analogRead(3); // read temperature Serial.println(t); // print temperature } Cantherm MF52 series thermistor digikey part #: 317-1258-ND resistance = 10kΩ at 25˚C 10kΩ 5V analog pin 3 (measures voltage across 10kΩ resistor) variation of 0 to 1023 analog value with temperature as temperature increases, the electrical resistance of the thermistor decreases this causes a decrease in voltage across the thermistor this causes an increase in voltage across the 10kΩ resistor this causes the 0 to 1023 output of the analog pin to increase with increasing temperature
photoresistor resistance changes with light level cost $0.89 void setup() { Serial.begin(9600); } void loop() { int p=analogRead(4); // read light level Serial.println(p); // print light level } photoresistor resistance changes with light level cost $0.89 Luna Optoelectronics PDV-P8103 16-33kohm 5V analog input 4 photoresistor 10kW