Skip to main content

CircuitPython driver for Dallas 1-Wire temperature sensor.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Ruff

CircuitPython driver for Dallas 1-Wire temperature sensor.

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.

Usage Example

import board
from adafruit_onewire.bus import OneWireBus
from adafruit_ds18x20 import DS18X20

ow_bus = OneWireBus(board.D2)
ds18 = DS18X20(ow_bus, ow_bus.scan()[0])
ds18.temperature

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adafruit_circuitpython_ds18x20-1.4.8.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file adafruit_circuitpython_ds18x20-1.4.8.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.4.8.tar.gz
Algorithm Hash digest
SHA256 d77e99c3bee82cca602f219960950828c3d5c55e3e7e9289121c99ac9d7f9f47
MD5 384ea68c0a637164c02d33336675c1c6
BLAKE2b-256 647178a287e99d78bda67bcec1926be4cca8e70d8454ddc0d38942147786c67f

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_ds18x20-1.4.8-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 48d6b13622c9d71e67b4772dfb7182c8ffd2b64a6489ff3721ccf53394b33c97
MD5 b34872c5f7779bf6ec9a174dfc2c0173
BLAKE2b-256 97a0b5ddf314eb61ea2633c79e11bab2a6ff5db1b7118b4591f802d18fd5cafc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page