Skip to main content

MicroPython Library for DS18X20, created by DIYables

Project description

MicroPython DS18X20 Library - DIYables_MicroPython_DS18X20

This MicroPython library is designed for any hardware plaform that supports MicroPython such as Raspberry Pi Pico, ESP32, Micro:bit... to make it easy to use with DS18B20 Temperature Sensor. It is easy to use for not only beginners but also experienced users...

For some devices, the MicroPython firmware does not include support for the DS18X20 module, so this library was created to provide compatibility for these devices. It is created by DIYables to work with DIYables DS18B20 Temperature Sensor, but also work with DS18X20 products from other brands. Please consider purchasing products from DIYables Store on Amazon to support our works.

Features

  • Works with any hardware plaform that supports MicroPython such as Raspberry Pi Pico, ESP32, Micro:bit...

Product Link

Available Functions

  • __init__(onewire)
  • scan()
  • def convert_temp()
  • read_temp(address)
  • def wait_for_conversion()

Available Examples

  • main.py

Tutorials

Note that for some devices, the MicroPython firmware already includes support for the DS18X20 module, so you may not need to use this custom library. For example:

References

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

diyables_micropython_ds18x20-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file diyables_micropython_ds18x20-0.1.0.tar.gz.

File metadata

File hashes

Hashes for diyables_micropython_ds18x20-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ab5341476a9f01a3fb0538b7db43354773d66acc31d9422ddd0c28cc0b69e274
MD5 6d7e1952a8d240e4f70cd8e771daa273
BLAKE2b-256 1094e214cf18f6b126569657c1892a1da196232d584b5c24cc2aa6d852ceb6d3

See more details on using hashes here.

File details

Details for the file DIYables_MicroPython_DS18X20-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for DIYables_MicroPython_DS18X20-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6201c673500458c93923c9f92eb6cf9e5fe20b27be6917e953fb3f9138c8c012
MD5 0a5b17db0501295f57744362331ef963
BLAKE2b-256 f72a28a3e727f004f3253ef3de44d15eb3427ac000009e7240fbd7479e923947

See more details on using hashes here.

Supported by

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