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