Instructions

IDUINO for maker’s life
www.openplatform.cc 33
void loop ()
{
val = digitalRead (buttonpin) ;//digital interface will be assigned a value
of 3 to read val
if (val == HIGH) //When the metal touch sensor detects a signal, LED flashes
{
digitalWrite (Led, HIGH);
}
else
{
digitalWrite (Led, LOW);
}
}
********Code End********
Module10: Digital Temperature Sensor(SE017)
1Introduction
This module has both analog signal output pin and digital signal output pin, which is
different from analog temperature sensor(module33) and other temperature sensor
module.
A thermistor is a type of resistor whose resistance is dependent on temperature, more
so than in standard resistors. The word is a portmanteau of thermal and resistor.
Thermistors are widely used as inrush current limiter, temperature sensors (NTC type