The simple circuit of digital temperature module and integrated LED connecting to digital 13 interfaces to make temperature indicator light. Use number 13 interface to connect the integrated LED, connect a digital temperature sensor to the number 3 interface. When the digital temperature sensor senses key signal, the LED is on, otherwise, it’s out.
Features:
Using the NTC thermistor sensor,
Good sensitivity
the comparator output signal clean waveform is good, driving ability than 15mA.
the output format: Digital switching output (0 and 1)
Power supply : 3 – 5V
Package Includes:
1 x Digital Temperature Module For Arduino AVR PIC DIY Maker
Pin Connections Table 1
Board Sensor Pin Connection KY-028 VCC/GND/A0/D0 3.3-5V / GND / board analog pin / board digital pin
KY-028 Digital Temperature Module - Arduino Uno
KY-028 Digital Temperature Module - Arduino Nano
KY-028 Digital Temperature Module - Arduino Mega
KY-028 Digital Temperature Module - ESP32
KY-028 Digital Temperature Module - ESP8266
KY-028 Digital Temperature Module - STM32
KY-028 Digital Temperature Module - Raspberry Pi Pico
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin A0, digital threshold pin 2 on Arduino Uno
6 #define TEMP_A_PIN A0
7 #define TEMP_D_PIN 2
8
9 void setup () {
10 Serial.begin (115200 );
11 pinMode (TEMP_D_PIN, INPUT );
12 }
13
14 void loop () {
15 int raw = analogRead(TEMP_A_PIN);
16 float voltage = raw * 5.0 / 1023.0 ;
17 bool overThreshold = digitalRead(TEMP_D_PIN) == LOW ; // trips when the onboard potentiometer threshold is crossed
18
19 Serial.print ("Raw: "); Serial.print (raw);
20 Serial.print (" Voltage: "); Serial.print (voltage);
21 Serial.println (overThreshold ? " -> Threshold tripped" : "");
22
23 delay (300 );
24 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin A0, digital threshold pin 2 on Arduino Nano
6 #define TEMP_A_PIN A0
7 #define TEMP_D_PIN 2
8
9 void setup () {
10 Serial.begin (115200 );
11 pinMode (TEMP_D_PIN, INPUT );
12 }
13
14 void loop () {
15 int raw = analogRead(TEMP_A_PIN);
16 float voltage = raw * 5.0 / 1023.0 ;
17 bool overThreshold = digitalRead(TEMP_D_PIN) == LOW ; // trips when the onboard potentiometer threshold is crossed
18
19 Serial.print ("Raw: "); Serial.print (raw);
20 Serial.print (" Voltage: "); Serial.print (voltage);
21 Serial.println (overThreshold ? " -> Threshold tripped" : "");
22
23 delay (300 );
24 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin A0, digital threshold pin 2 on Arduino Mega
6 #define TEMP_A_PIN A0
7 #define TEMP_D_PIN 2
8
9 void setup () {
10 Serial.begin (115200 );
11 pinMode (TEMP_D_PIN, INPUT );
12 }
13
14 void loop () {
15 int raw = analogRead(TEMP_A_PIN);
16 float voltage = raw * 5.0 / 1023.0 ;
17 bool overThreshold = digitalRead(TEMP_D_PIN) == LOW ; // trips when the onboard potentiometer threshold is crossed
18
19 Serial.print ("Raw: "); Serial.print (raw);
20 Serial.print (" Voltage: "); Serial.print (voltage);
21 Serial.println (overThreshold ? " -> Threshold tripped" : "");
22
23 delay (300 );
24 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin 34 , digital threshold pin 4 on ESP32
6 #define TEMP_A_PIN 34
7 #define TEMP_D_PIN 4
8
9 void setup () {
10 Serial.begin (115200 );
11 pinMode (TEMP_D_PIN, INPUT );
12 }
13
14 void loop () {
15 int raw = analogRead(TEMP_A_PIN);
16 float voltage = raw * 3.3 / 4095.0 ;
17 bool overThreshold = digitalRead(TEMP_D_PIN) == LOW ; // trips when the onboard potentiometer threshold is crossed
18
19 Serial.print ("Raw: "); Serial.print (raw);
20 Serial.print (" Voltage: "); Serial.print (voltage);
21 Serial.println (overThreshold ? " -> Threshold tripped" : "");
22
23 delay (300 );
24 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin A0, digital threshold pin D4 on ESP8266
6 #define TEMP_A_PIN A0
7 #define TEMP_D_PIN D4
8
9 void setup () {
10 Serial.begin (115200 );
11 pinMode (TEMP_D_PIN, INPUT );
12 }
13
14 void loop () {
15 int raw = analogRead(TEMP_A_PIN);
16 float voltage = raw * 3.3 / 1023.0 ;
17 bool overThreshold = digitalRead(TEMP_D_PIN) == LOW ; // trips when the onboard potentiometer threshold is crossed
18
19 Serial.print ("Raw: "); Serial.print (raw);
20 Serial.print (" Voltage: "); Serial.print (voltage);
21 Serial.println (overThreshold ? " -> Threshold tripped" : "");
22
23 delay (300 );
24 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin PA0, digital threshold pin PB4 on STM32
6 #define TEMP_A_PIN PA0
7 #define TEMP_D_PIN PB4
8
9 void setup () {
10 Serial.begin (115200 );
11 pinMode (TEMP_D_PIN, INPUT );
12 }
13
14 void loop () {
15 int raw = analogRead(TEMP_A_PIN);
16 float voltage = raw * 3.3 / 4095.0 ;
17 bool overThreshold = digitalRead(TEMP_D_PIN) == LOW ; // trips when the onboard potentiometer threshold is crossed
18
19 Serial.print ("Raw: "); Serial.print (raw);
20 Serial.print (" Voltage: "); Serial.print (voltage);
21 Serial.println (overThreshold ? " -> Threshold tripped" : "");
22
23 delay (300 );
24 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin 26 , digital threshold pin 2 on Raspberry Pi Pico
6 #define TEMP_A_PIN 26
7 #define TEMP_D_PIN 2
8
9 void setup () {
10 Serial.begin (115200 );
11 pinMode (TEMP_D_PIN, INPUT );
12 }
13
14 void loop () {
15 int raw = analogRead(TEMP_A_PIN);
16 float voltage = raw * 3.3 / 4095.0 ;
17 bool overThreshold = digitalRead(TEMP_D_PIN) == LOW ; // trips when the onboard potentiometer threshold is crossed
18
19 Serial.print ("Raw: "); Serial.print (raw);
20 Serial.print (" Voltage: "); Serial.print (voltage);
21 Serial.println (overThreshold ? " -> Threshold tripped" : "");
22
23 delay (300 );
24 }
Project Notes: Thermistor module with both a raw analog output and a comparator digital threshold output.
نظرة عامة ومواصفات المنتج — بالعربية KY-028 Digital Temperature Module متوفر الآن في متجر إكوسترا للإلكترونيات، ضمن قسم Sensors وTemperature & Humidity Sensor، بسعر 45,00 EGP. كود المنتج لدينا: EK855. المنتج متوفر في المخزون وجاهز للشحن الفوري لكل محافظات مصر مع إمكانية الدفع عند الاستلام.
أهم المواصفات الفنية:
Ic: LM393Power Supply: 3 – 5VSensor: NTC ThermistorOutput: Digital switching (0 and 1)Output Current: >15mAMounting: Fixed boltالوزن: 16 gهذا المنتج مناسب لمشاريع الأردوينو (Arduino) و ESP32 و Raspberry Pi، ومشاريع الروبوتات وإنترنت الأشياء والتعليم الهندسي. جميع القطع مفحوصة قبل الشحن.
تصفّح المزيد من Sensors في إكوسترا.