Skip to main content

Menu

Digital Temperature Sensor Arduino Compatible

ARD2-2228
Arduino Compatible ARD2 Digital Temperature Sensor

$3.95

QTYPrice
1 $3.95

Description

This module can detect ambient temperature and tell whether it is higher or lower than a user-defined value. This value can be set by adjusting the board's potentiometer. This module also features an analog output so that the current ambient temperature can be ascertained.

Test Code

int Led = 13; // define LED Interface
int buttonpin = 3; // define the digital temperature sensor interface
int val; // define numeric variables val

void setup () {
pinMode(Led, OUTPUT); // define LED as output interface
pinMode(buttonpin, INPUT); // define digital temperature sensor output interface
}

void loop () {
val = digitalRead(buttonpin); // digital interface will be assigned a value of 3 to read val

// when the digital temperature sensor detects a signal, LED flashes
if (val == HIGH) {
digitalWrite(Led, HIGH);
}
else {
digitalWrite(Led, LOW);
}
}

Features

  • Detect ambient temperature with digital output
  • Applications include gardening & home alarm systems

Specifications

Colour

Red

Material

PCB

Resources

You Might Also Like

All prices are in Australian Dollars and include GST. GST will be removed from your order if you are ordering from outside Australia.
Products may differ from pictured.
All trademarks and trade names are the properties of their respective owners. Wiltronics disclaims any proprietary interest in trademarks and trade names other than its own.

Digital Temperature Sensor Arduino Compatible

ARD2-2228

$3.95

We use cookies to ensure you have the best experience on our site. If you continue to use this site you consent to the use of these cookies. OK

Find out more in our Privacy Policy