Ky 028 Digital Temperature Module For Arduino Avr Pic Diy Maker
Rs. 43.00 Rs. 52.00
- Product Code: SEN-TEMP
- SKU -
- Availability: In Stock
- Price in reward points: 1
- For Bulk Order 9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
SPECIFICATIONS: | |
IC | LM393 |
Power supply | 3 – 5V |
Shipment Weight | 0.004 kg |
Shipment Dimensions | 8 × 7 × 1 cm |
OVERVIEW:
-Power supply: 3 – 5V
-Good sensitivity
-The output format: Digital switching output (0 and 1)
-The comparator output signal is clean, good waveform, driving ability, more than 15mA.
-A fixed bolt holes for easy installation.
-Using a wide voltage LM393 comparator.
-₹ 79.00 (inc GST)
PACKAGE INCLUDES:
1 PCS x Ky 028 Digital Temperature Module
//SOURCE CODE TAKEN FROM BELOW LINK
//https://arduinomodules.info/ky-028-digital-temperature-sensor-module/
int led = 13; // define the LED pin
int digitalPin = 2; // KY-028 digital interface
int analogPin = A0; // KY-028 analog interface
int digitalVal; // digital readings
int analogVal; //analog readings
void setup()
{
pinMode(led, OUTPUT);
pinMode(digitalPin, INPUT);
//pinMode(analogPin, OUTPUT);
Serial.begin(9600);
}
void loop()
{
// Read the digital interface
digitalVal = digitalRead(digitalPin);
if(digitalVal == HIGH) // if temperature threshold reached
{
digitalWrite(led, HIGH); // turn ON Arduino's LED
}
else
{
digitalWrite(led, LOW); // turn OFF Arduino's LED
}
// Read the analog interface
analogVal = analogRead(analogPin);
Serial.println(analogVal); // print analog value to serial
delay(100);
}
15 days