Simple circuit of digital temperature module and integrated LED connecting to digital 13 interface to make temperature indicator light.Use number 13 interface to connect the integrated LED, connect digital temperature sensor to number 3 interface. When the digital temperature sensor senses key signal, the LED is on, otherwise, it’s out.Sample code:Int Led = 13;/ / define LED interfaceInt buttonpin = 3;/ / define the digital temperature sensor interfaceInt val./ / define digital variable valVoid setup (){PinMode (Led, the OUTPUT);/ / define the LED for the output interfacePinMode (buttonpin, INPUT);/ / define the digital temperature sensor for the output interface}Void loop (){Val = digitalRead (buttonpin);/ / to assign the value of digital interface 3 read valIf (val = = HIGH) / / when digital temperature sensor detection signal, LED flashing{DigitalWrite (Led, HIGH);}The else{DigitalWrite (Led, LOW);
Specifications :
1. using the NTC thermistor sensor , good sensitivity
- 2. the comparator output signal clean waveform is good , driving ability, than 15mA.
- 3. adjust the temperature distribution bit detection threshold
- 4. Working voltage 3.3V-5V
- 5. the output format : Digital switching output (0 and 1)
- 6. with bolt holes for easy installation
- 7. a small board PCB size : 3.2cm x 1.4cm
- 8. using a wide voltage LM393 comparator
1xKY-028 Digital Thermistor Temperature Sensor Module
Reviews
There are no reviews yet