LRF1200A1 · 905 nm Laser Rangefinder Module
LRF1200A1 Arduino 库与示例程序
erdi-lrf-drivers 里的 Arduino 库解析 LRF1200A1 的帧(8 B / 2 B,115200 波特率),返回以 m 为单位的距离。请用硬件串口;这个速率下 SoftwareSerial 不可靠。
接线
LRF1200A1 TX → Arduino RX1,RX → TX1,GND → GND,供电 3.3 V ± 0.1 V (one older section says 3.3–5 V; confirm before wiring)。接口电平:UART, 3.3 V TTL;接 5 V 板子前先确认电平。
示例程序
#include <ErdiLRF.h>
ERDI_LRF1200A1 lrf(Serial1); // LRF1200A1
void setup() {
Serial.begin(115200);
Serial1.begin(115200);
lrf.begin();
}
void loop() {
if (lrf.readSingle()) {
Serial.println(lrf.distanceMeters());
}
delay(100);
}库与开发板
订购 LRF1200A1
LRF1200A1 公开的单台价格为 $90,在最大公开数量档降至每台 $35。价格含运费,直接在 erdilrf.com 下单。 技术问题与批量报价:tommy@erdimail.com。完整参数表、资料下载与下单:LRF1200A1 型号页。
FAQ
LRF1200A1 的最大测程是多少?
公开量程为 5–1,200 m (Building target; the source table gives ≥5–1200 m.)。量程数字只有连同测试目标和条件一起看才可比较,所以每个数值旁都列出了条件。
LRF1200A1 用什么接口?
公开的通信接口为 UART, 3.3 V TTL。
LRF1200A1 的激光波长是多少?
公开波长为 905 nm; 激光安全条目: Class 1 (source panel inconsistent; confirm)。
LRF1200A1 多少钱?
LRF1200A1 公开的单台价格为 $90,在最大公开数量档降至每台 $35。价格含运费,直接在 erdilrf.com 下单。
Related guides
Model records
Open the model page for the full specification table, downloads, published price and ordering.