GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing pypi.org — lrf-uart-decoder lrf-uart-decoder 1.0.1Decode and auto-detect laser rangefinder / single-point LiDAR UART frames: Benewake TFmini/TF-Luna/TF02/TF03, LightWare, JRT, Nooploop TOFSense, DFRobot SEN0366, ERDI. CLI + library, checksum checking, baud scan. pip install lrf-uart-decoder LiDAR / laser rangefinder UART decoderFind out what your laser rangefinder or single-point LiDAR is saying on its serial port: paste a hex dump or plug the module in, and this tool detects the protocol and baud rate, decodes every frame to metres and flags checksum errors. Open it in the browser, no install: https://erditech.github.io/lrf-uart-protocol-decoder/ (WebSerial in desktop Chrome / Edge; paste mode works in any browser) Supported modules
Every profile is built from the vendor's public manual or product page. Frame tables, checksum rules, invalid-reading codes and source links are in docs/PROTOCOLS.md. Missing a module? Open an issue with a hex capture and a link to its manual. 30-second startBrowser. Open the live page, paste bytes from any serial terminal and press Detect & decode. With a USB-UART adapter attached, press Scan baud rates: the page listens at 9600 ... 921600 bps and picks the rate and protocol that explain the most bytes. Tick the request box for modules that only answer when asked (ERDI LR series, JRT, DFRobot SEN0366, TOFSense in query mode). Python. pip install "lrf-uart-decoder[serial]"
lrf-decoder "AA 00 00 22 00 03 00 00 05 F6 00 45 65" # auto-detects jrt-aa -> 1.526 m
lrf-decoder --hex-file dump.txt # text hex dump from any terminal
lrf-decoder --file capture.bin --profile benewake-tf-luna
lrf-decoder --port COM5 --scan --probe # find baud + protocol on a live port
lrf-decoder --port /dev/ttyUSB0 --profile benewake-tfmini-s --json
lrf-decoder --list # every profile with its source
from lrf_decoder import Decoder, detect, parse_hex
data = parse_hex("59 59 79 00 00 02 F0 08 25")
print(detect(data)[0]["family"]) # benewake-9
dec = Decoder("benewake-tfmini-s")
for frame in dec.push(data): # feed serial chunks as they arrive
print(frame["distance_m"], frame["strength"], frame["temp_c"], frame["ok"])
JavaScript (browser or Node, no dependencies): What it does
Testsnode --test tests/ # Node 20+
pip install pytest . && python -m pytest -q python
Both suites read the same golden vectors from tests/vectors.json; each vector says whether its bytes are printed in the cited manual or assembled from the manual's field table. Contributing a protocolAdd a parser and a Related projects
Maintained by ERDI TECH LTD (erdilrf.com), makers of 905 / 1535 nm laser rangefinder modules. Benewake, LightWare, JRT, Nooploop and DFRobot are trademarks of their owners; this project is not affiliated with them. Support / 打赏If this project saved you time, you can buy the author a coffee in crypto. Thank you! 如果这个项目帮到了你,欢迎用加密货币打赏支持,谢谢!
Please send only the listed asset on the listed network — other tokens or networks may be lost. 请按表中对应的网络转对应的币种,转错币种或网络可能无法找回。 LicenseMIT, see LICENSE. Project linksKey datesPyPI dataData sourced directly from PyPI's database.
1 maintainerPyPI dataData sourced directly from PyPI's database.
CreditsAuthor: ERDI TECH LTD RequiresPython >=3.8 Provides Extra
Tags
Classifiers
MetadataProject linksKey datesPyPI dataData sourced directly from PyPI's database.
1 maintainerPyPI dataData sourced directly from PyPI's database.
CreditsAuthor: ERDI TECH LTD RequiresPython >=3.8 Provides Extra
Tags
Classifiers
Release files for lrf-uart-decoder 1.0.1For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation. Source distribution (sdist)
Built distribution (wheel)
Total release size: 35.0 kB Release files / lrf_uart_decoder-1.0.1.tar.gz
Release files / lrf_uart_decoder-1.0.1-py3-none-any.whl
Security for lrf-uart-decoder 1.0.1ProvenanceProvenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats. No provenance foundNone of the files in this release were uploaded with provenance metadata. A note on package securityPyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package. To learn more about protecting yourself from malicious actors, visit our package security documentation. Release history Release notifications | RSS feed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |