This contains info about several temperature sensors:
- KY-013 Temperature (analog)
- KY-028 Temperature (analog and digital)
- KY-015 Temperature and Humidity (digital)
- KY-015 Temperature and Pressure (analog)
The value-temperature formula used in this sensor code might need to be calibrated.
To do that, just use the example code and read the real values, relating them to the temperature witha a thermometer.
The pins for the extension board, where (sensor: board
) - following the example code:
- -: G
- (middle pin): V
- S: A0
The value-temperature formula used in this sensor code might need to be calibrated.
To do that, just use the example code and read the real values, relating them to the temperature witha a thermometer.
The pins for the extension board, where (sensor: board
) - following the example code:
- -: G
- +: V
- A0: A0
- D0: D27
There is a library build for this sensor. It already contains an example of use. Get it here:
You can also try this code without the library (not recommended):
ky015.py(ky015/ky015.py)
- -: G
- (middle pin): V
- S: D14