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.6.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.4.6.tar.gz
Algorithm Hash digest
SHA256 090896161b7005099ffe846af084ff4206fc5c3682679f16ebb40226b6ee3037
MD5 a25063ca1b1659489632aa6da8e78ab5
BLAKE2b-256 e388b151477f150d1c52fb45286895f969b04076cc12ecc5cfac081eed0fd610

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9facf48f2e9983f90a1ed82176016c5afe3d78f0d89d4f46e2f3daef4d5223b4
MD5 d2a7a58d3cb9060d79a8105c5b552d46
BLAKE2b-256 d6d30e338cb81bf89bd508dcbeb9455569e2f79f455ffa749c442757a69f72ff

See more details on using hashes here.

Supported by

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