Sensor Digital

Digital Temperature Sensor Module

A KY-028 digital temperature module uses a thermistor plus comparator so code can read both analog temperature trend and threshold state.

Part images

KY-028 Module Photo. Module Photo for the KY-028 Digital Temperature Sensor Module. Image source: Joy-IT SensorKit KY-028 module documentation
KY-028 Pinout / Module Diagram. Pinout / Module Diagram for the KY-028 Digital Temperature Sensor Module. Image source: Joy-IT SensorKit KY-028 module documentation
KY-028 Arduino Wiring Diagram. Arduino Wiring Diagram for the KY-028 Digital Temperature Sensor Module. Image source: Joy-IT SensorKit KY-028 module documentation
KY-028 Raspberry Pi Wiring Diagram. Raspberry Pi Wiring Diagram for the KY-028 Digital Temperature Sensor Module. Image source: Joy-IT SensorKit KY-028 module documentation

What it is

A KY-028 digital temperature module uses a thermistor plus comparator so code can read both analog temperature trend and threshold state.

How students use it

Students use it for heat/cool alarms, threshold tuning, analog reading, and comparator experiments.

Pins and power

AO, DO, VCC, and GND on common KY-028 thermistor comparator boards.

Use module power and output levels that are safe for Pico GPIO.

AO provides analog temperature trend; DO changes when the onboard threshold is crossed.

Voltage and safety

Keep outputs at or below Pico-safe voltage.

Do not place the module on hot objects that can melt plastic, damage wiring, or burn skin.

Module internals

Main component: NTC thermistor with comparator module.

Thermistor, comparator, trimmer, LEDs, resistors, PCB, and header.

Datasheet notes

It is not a calibrated thermometer unless students calibrate it carefully.

Common libraries

Use machine.ADC for AO and machine.Pin for DO.

Common mistakes

Expecting exact Celsius values without calibration, touching hot parts, and confusing analog trend with digital threshold.