LRF22VB · 905 nm Single-Point LiDAR Sensor
LRF22VB 接树莓派:Python 串口读取
树莓派通过 /dev/serial0 以 460800 波特率读取 LRF22VB。PyPI 上的 erdi-lrf 包负责解帧;树莓派仓库另加了 CSV 记录、MQTT 发布和 systemd 服务。
开启串口
运行 sudo raspi-config → Interface Options → Serial Port:关闭登录 shell,开启串口硬件。接线 LRF22VB TX → GPIO15 (RXD),RX → GPIO14 (TXD),GND → GND。树莓派串口是 3.3 V;模块公开接口为 UART/IIC。
读一个距离
pip install erdi-lrf pyserial
python - <<'EOF'
from erdi_lrf import ErdiLRF
lrf = ErdiLRF('/dev/serial0', baud=460800, model='LRF22VB')
print(lrf.read_single()) # metres
EOF日志、MQTT 与系统服务
erdi-lrf-raspberry-pi-python 提供 CSV 记录器、MQTT 发布器、MAVLink 桥以及开机自启的 systemd 单元。
订购 LRF22VB
LRF22VB 公开的单台价格为 $12,在最大公开数量档降至每台 $8。价格含运费,直接在 erdilrf.com 下单。 技术问题与批量报价:tommy@erdimail.com。完整参数表、资料下载与下单:LRF22VB 型号页。
FAQ
LRF22VB 的最大测程是多少?
公开量程为 0.05–20 m (90% reflectivity); 0.05–10 m (10% reflectivity) (The two source values remain bound to their stated target reflectivity.)。量程数字只有连同测试目标和条件一起看才可比较,所以每个数值旁都列出了条件。
LRF22VB 用什么接口?
公开的通信接口为 UART/IIC。
LRF22VB 的激光波长是多少?
公开波长为 905 nm; 激光安全条目: Class 1。
LRF22VB 多少钱?
LRF22VB 公开的单台价格为 $12,在最大公开数量档降至每台 $8。价格含运费,直接在 erdilrf.com 下单。
Related guides
Model records
Open the model page for the full specification table, downloads, published price and ordering.