Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/o-murphy/infiray-lrf

Command sender for the InfiRay LR2000 / LR3000 Long Range Finder
https://github.com/o-murphy/infiray-lrf

embedded esp32 infiray iray long-range-finder lrf micropython pyserial python python3 raspberry-pi-pico serial

Last synced: 2 months ago
JSON representation

Command sender for the InfiRay LR2000 / LR3000 Long Range Finder

Awesome Lists containing this project

README

        

# InfiRay-LRF
## Command sender for the InfiRay LR2000 / LR3000 Long Range Finder
[![PyPI Version](https://img.shields.io/pypi/v/infiray-lrf?label=PyPI&logo=pypi)
![Python Version](https://img.shields.io/pypi/pyversions/infiray-lrf?logo=python)
![PyPI Format](https://img.shields.io/pypi/wheel/infiray-lrf?label=wheel)
![PyPI Implementation](https://img.shields.io/pypi/implementation/infiray-lrf)](https://pypi.org/project/infiray-lrf/)

## Table of content
* [Instalation](#instalation)
* [Run console](#run-console)
* [Commands list](#commands-list)
* [ESP32 based tester/emulator](esp32/install.md)

## Instalation

```shell
pip install infiray-lrf
```

## Usage

#### Run console
```shell
# enter infiray-inf UART console
python -m infiray-lrf
```

#### Commands list
```shell
# commands list:
q - quit
h - help

i - self inspection

s - single ranging
cf
- continious ranging (frequency 1~10Hz, timout - seconds)
C - nonstop continious ranging
b - stop ranging
freq
- set continious ranging frequency (1~10Hz)

glg - query minimum gating distance
ghg - query maximum gating distance
slg
- set minimum gating distance (10-20000m)
shg
- set maximum gating distance (10-20000m)

fpga - query FPGA software version number
mcu - query MCU software version number
hw - query hardware version number
sn - query SN number

total - count of times of light resput
count - count of times of light resput since LRF power up

setbaudrate
- set baudrate value (115200 / 57600 / 9600)
```