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
Release files for DIYables-MicroPython-DS18X20 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| diyables_micropython_ds18x20-0.1.0.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DIYables_MicroPython_DS18X20-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / diyables_micropython_ds18x20-0.1.0.tar.gz
| Download URL | diyables_micropython_ds18x20-0.1.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab5341476a9f01a3fb0538b7db43354773d66acc31d9422ddd0c28cc0b69e274
|
|
BLAKE2b-256 checksum How to use checksums |
1094e214cf18f6b126569657c1892a1da196232d584b5c24cc2aa6d852ceb6d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / DIYables_MicroPython_DS18X20-0.1.0-py3-none-any.whl
| Download URL | DIYables_MicroPython_DS18X20-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6201c673500458c93923c9f92eb6cf9e5fe20b27be6917e953fb3f9138c8c012
|
|
BLAKE2b-256 checksum How to use checksums |
f72a28a3e727f004f3253ef3de44d15eb3427ac000009e7240fbd7479e923947
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|