Ultrasonic Sensor Library for Raspberry Pi Pico - DIYables_Pico_Ultrasonic_Sensor
This MicroPython library is designed for Raspberry Pi Pico to make it easy to use with ultrasonic sensor. It is easy to use for not only beginners but also experienced users...
It is created by DIYables to work with DIYables Ultrasonic Sensor, but also work with products from other brands. Please consider purchasing products from DIYables Store on Amazon to support our work.
Features
- Works with any Raspberry Pi Pico board.
- Supports the noise filter (filtering noise from enviroment, ultrasonic interference...)
- Supports detection threshold. If distance > threshold, the library will not consider any object detected.
Available Functions
- init(trig_pin, echo_pin)
- set_detection_threshold(distance)
- enable_filter(num_samples=20)
- disable_filter()
- loop()
- get_distance()
Available Examples
- main.py
Tutorials
References
Release files for DIYables-Pico-Ultrasonic-Sensor 0.1.1
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_pico_ultrasonic_sensor-0.1.1.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DIYables_Pico_Ultrasonic_Sensor-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / diyables_pico_ultrasonic_sensor-0.1.1.tar.gz
| Download URL | diyables_pico_ultrasonic_sensor-0.1.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2eb79c657bc06b3663c19f81cb50caece2f62efa27872462fd341e13123dc9f1
|
|
BLAKE2b-256 checksum How to use checksums |
32446d091b709e15468dde08f62c7cf3da537253a104e7784e0b5363eccf4d05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / DIYables_Pico_Ultrasonic_Sensor-0.1.1-py3-none-any.whl
| Download URL | DIYables_Pico_Ultrasonic_Sensor-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9979969cb2119f9e84a6c87a328adec7f764c2cb50fc431559678644545b804b
|
|
BLAKE2b-256 checksum How to use checksums |
74f06475b3d4ff6f5c42eabcc504acc8d2672a562c0d2840118ed6e7d2f1e7a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|