Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Ruff

Thermistors are resistors that predictably change resistance with temperature. This driver uses an analog reading and math to determine the temperature. They are commonly used as a low cost way to measure temperature.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install adafruit-circuitpython-thermistor

To install system-wide (this may be required in some cases):

sudo pip3 install adafruit-circuitpython-thermistor

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-thermistor

Usage Example

The hardest part of using the driver is its initialization. Here is an example for the thermistor on the Circuit Playground and Circuit Playground Express. Its a 10k series resistor, 10k nominal resistance, 25 celsius nominal temperature and 3950 B coefficient.

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Metadata

Release files for adafruit-circuitpython-thermistor 3.4.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adafruit-circuitpython-thermistor 3.4.18
File Size Uploaded
adafruit_circuitpython_thermistor-3.4.18.tar.gz 23.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adafruit-circuitpython-thermistor 3.4.18
File Interpreter ABI Platform
adafruit_circuitpython_thermistor-3.4.18-py3-none-any.whl Python 3 none any Details

Total release size: 28.5 kB

Release files / adafruit_circuitpython_thermistor-3.4.18.tar.gz

Download URL adafruit_circuitpython_thermistor-3.4.18.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1b04c2f8fa9c6aec8766f116cd05a316bb610bbd9279cbfa3c9e605f9f155c02
BLAKE2b-256 checksum
How to use checksums
5f2ab5173c83bcc9f7e06f65c30e23d85b49de0e8ba606befac594447f8ceb1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / adafruit_circuitpython_thermistor-3.4.18-py3-none-any.whl

Download URL adafruit_circuitpython_thermistor-3.4.18-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ce455f3f21d7469d91b46ee67e58c7f1ce8b144431463d5056cc56fd057df83
BLAKE2b-256 checksum
How to use checksums
8a6100e902afc60d435bbc94c7ccf9fa07f24b224ba652ce1b63756c2a84d7dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

3.4.18 This release

2 release files

3.4.17

2 release files

3.4.16

2 release files

3.4.15

2 release files

3.4.14

2 release files

3.4.13

2 release files

3.4.11

2 release files

3.4.9

2 release files

3.4.8

2 release files

3.4.7

2 release files

3.4.6

2 release files

3.4.5

2 release files

3.4.4

1 release file

3.4.3

1 release file

3.4.2

1 release file

3.4.1

1 release file

3.4.0

1 release file

3.3.8

1 release file

3.3.7

1 release file

3.3.6

1 release file

3.3.5

1 release file

3.3.4

1 release file

3.3.3

1 release file

3.3.2

1 release file

3.3.1

1 release file

3.3.0

1 release file

3.2.4

1 release file

3.2.3

1 release file

3.2.2

1 release file

3.2.1

1 release file

3.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page