LD2410 / LD2410B / LD2410C 人體存在感測器
- ESPHOME 零組件周邊, ESPRESSIF (ESP) 開發板, Home Assistant 智慧家居, 生物識別技術
LD2410C 24Ghz人體感應測距雷達傳感器模塊支持BLE/UART調整參數
原始價格:NT$290。NT$165目前價格:NT$165。 (未稅)產品速覽 - ESPHOME 零組件周邊, ESPRESSIF (ESP) 開發板, Home Assistant 智慧家居, 生物識別技術
海凌科人體存在感測器 LD2410B 毫米波雷達感應模組 支援光敏帶藍牙
原始價格:NT$250。NT$180目前價格:NT$180。 (未稅)產品速覽
配置變數
- uart_id(可選,ID ):如果要使用多個 UART 匯流排,請手動指定UART 元件的 ID 。
- id(可選,ID ):如果需要多個元件,請手動指定此LD2410 感測器組件的 ID 。
二元感測器
二進位ld2410感測器可讓您快速確定感測器報告的各種狀態。
1 2 3 4 5 6 7 8 9 10 | binary_sensor: - platform: ld2410 has_target: name: Presence has_moving_target: name: Moving Target has_still_target: name: Still Target out_pin_presence_status: name: Out pin presence status |
配置變數
- has_target(可選):如果為真,則偵測目標是否靜止或移動。所有選項均來自二進位感測器。
- has_moving_target(可選):如果為 true,則偵測到移動目標。所有選項均來自Binary Sensor。
- has_still_target(可選):如果為 true,則偵測到靜止目標。所有選項均來自Binary Sensor。
- out_pin_presence_status(選購):在工程模式下,指示 OUT 接腳的狀態;否則
false,OUT 接腳的指示取決於 燈光功能配置。可能需要更新到最新韌體才能使用此功能。所有選項均來自Binary Sensor。 - ld2410_id(可選,ID ):如果您使用多個元件,請手動指定LD2410 感測器元件的 ID 。
感應器
這些ld2410感測器可以報告其進行的各種測量結果。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | sensor: - platform: ld2410 light: name: Light moving_distance: name: Moving Distance still_distance: name: Still Distance moving_energy: name: Move Energy still_energy: name: Still Energy detection_distance: name: Detection Distance g0: move_energy: name: G0 move energy still_energy: name: G0 still energy g1: move_energy: name: G1 move energy still_energy: name: G1 still energy g2: move_energy: name: G2 move energy still_energy: name: G2 still energy g3: move_energy: name: G3 move energy still_energy: name: G3 still energy g4: move_energy: name: G4 move energy still_energy: name: G4 still energy g5: move_energy: name: G5 move energy still_energy: name: G5 still energy g6: move_energy: name: G6 move energy still_energy: name: G6 still energy g7: move_energy: name: G7 move energy still_energy: name: G7 still energy g8: move_energy: name: G8 move energy still_energy: name: G8 still energy |
配置變數
- light(可選,int):在工程模式下,表示光靈敏度;否則,表示靈敏度
unknown。取值範圍為00到2551。所有選項均來自Sensor。 - moving_distance(可選,int):偵測到的移動目標的距離(以公分為單位)。所有選項均來自Sensor。
- still_distance(可選,int):偵測到的靜止目標的距離(以公分為單位)。所有選項均來自Sensor。
- moving_energy(可選,int):移動目標的能量。取值範圍為 0
0到1001。所有選項均來自Sensor。 - still_energy(可選,int):靜止目標的能量。取值範圍為 0
0到1001。所有選項均來自Sensor。 - detection_distance(可選,int):目標距離(公分)。所有選項均來自Sensor。
- gX(可選):第 X 個門的能量(X => 0 到 8)。
- move_energy(可選,int):在工程模式下,移動能量否則,大門
unknown。值介於兩者之間0(100含)。所有選項均來自感測器。 - still_energy(可選,int):在工程模式下,靜止能量否則,大門
unknown。值介於兩者之間0(100含)。所有選項均來自感測器。
- move_energy(可選,int):在工程模式下,移動能量否則,大門
- ld2410_id(可選,ID ):如果您使用多個元件,請手動指定LD2410 感測器元件的 ID 。
進階設定
這些ld2410開關可讓您從前端啟用或停用感應器功能。
1 2 3 4 5 6 | switch: - platform: ld2410 engineering_mode: name: Engineering mode bluetooth: name: Control bluetooth |
配置變數
- engineering_mode(可選):啟用/停用工程模式。請注意,這會佔用更多資源,因此不建議在非必要情況下啟用。所有選項均來自Switch。
- 藍牙(選購):開啟/關閉藍牙轉接器。預設開啟
true。所有選項均來自Switch。 - ld2410_id(可選,ID ):如果您使用多個元件,請手動指定LD2410 感測器元件的 ID 。
數位
此數字可用於控制LD2410 感測器ld2410的配置。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | number: - platform: ld2410 timeout: name: Timeout light_threshold: name: Light threshold max_move_distance_gate: name: Max move distance gate max_still_distance_gate: name: Max still distance gate g0: move_threshold: name: G0 move threshold still_threshold: name: G0 still threshold g1: move_threshold: name: G1 move threshold still_threshold: name: G1 still threshold g2: move_threshold: name: G2 move threshold still_threshold: name: G2 still threshold g3: move_threshold: name: G3 move threshold still_threshold: name: G3 still threshold g4: move_threshold: name: G4 move threshold still_threshold: name: G4 still threshold g5: move_threshold: name: G5 move threshold still_threshold: name: G5 still threshold g6: move_threshold: name: G6 move threshold still_threshold: name: G6 still threshold g7: move_threshold: name: G7 move threshold still_threshold: name: G7 still threshold g8: move_threshold: name: G8 move threshold still_threshold: name: G8 still threshold |
配置變數
- timeout(可選,int):離開後保持存在狀態的時間(以秒為單位)。預設為Number
5s中的所有選項。 - light_threshold(可選,int):設定光照函數的光照閾值。取值範圍為 0
0到 1(包含 0 和2551)。預設為1280。所有選項均來自Number。 - max_move_distance_gate(可選,int):移動偵測的最大距離閘限。取值範圍為 0
2到 1(包含 0 和81)。預設為80。所有選項均來自Number。 - max_still_distance_gate(可選,int):靜止偵測的最大距離閘限。取值範圍為 0
2到 1(包含 0 和81)。預設為80。所有選項均來自Number。 - gX(可選):第 X 個閘的閾值(X => 0 到 8)。
- move_threshold(必需,int):運動偵測閘的閾值。高於此閾值(距離)時,將觸發移動偵測。取值範圍為 (含
0和100)。請參閱下方的預設值。所有選項均來自Number。 - still_threshold(必需,int):靜止偵測門的閾值。高於此閾值(距離)時,仍會觸發檢測。取值範圍為 0
0到1001。預設值見下文。所有選項均來自Number。
- move_threshold(必需,int):運動偵測閘的閾值。高於此閾值(距離)時,將觸發移動偵測。取值範圍為 (含
- ld2410_id(可選,ID ):如果您使用多個元件,請手動指定LD2410 感測器元件的 ID 。
門閾值的預設值
| 門 | 預設移動閾值 | 預設靜止閾值 |
|---|---|---|
| 0 | 50 | 0 |
| 1 | 50 | 0 |
| 2 | 40 | 40 |
| 3 | 30 | 40 |
| 4 | 20 | 30 |
| 5 | 15 | 30 |
| 6 | 15 | 20 |
| 7 | 15 | 20 |
| 8 | 15 | 20 |
按鈕
此ld2410按鈕可讓您對感測器執行操作。
1 2 3 4 5 6 7 8 | button: - platform: ld2410 factory_reset: name: Factory reset restart: name: Restart query_params: name: Query params |
配置變數
- factory_reset(可選):此指令用於將所有設定值還原為其原始值。所有選項均來自按鈕。
- 重啟(可選):重啟設備。所有選項均來自按鈕。
- query_params(可選):刷新裝置的所有感測器值。所有選項均來自按鈕。
- ld2410_id(可選,ID ):如果您使用多個元件,請手動指定LD2410 感測器元件的 ID 。
文字感測器
文字ld2410感測器允許報告感測器元數據。
1 2 3 4 5 6 | text_sensor: - platform: ld2410 version: name: Firmware version mac_address: name: MAC address |
配置變數
- 版本(可選):韌體版本。所有選項均來自文字感測器。
- mac_address(可選
unknown):藍牙 MAC 位址。藍牙關閉時將設定為 false 。所有選項均來自文字感測器。 - ld2410_id(可選,ID ):如果您使用多個元件,請手動指定LD2410 感測器元件的 ID 。
輸出引腳
如果將 LD2410 的OUT接腳連接到 GPIO 接腳,則可以設定GPIO 二進位感測器來監控感測器指示的存在狀態,如果啟用,還可以監控其燈光功能 的狀態 :
1 2 3 4 5 | binary_sensor: - platform: gpio pin: GPIOXX name: GPIO Out pin presence device_class: presence |
完整設定範例
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | esphome: name: ld2410_sensor platform: ESP32 board: esp32dev logger: uart: id: uart_bus tx_pin: GPIO17 rx_pin: GPIO16 baud_rate: 256000 ld2410: uart_id: uart_bus binary_sensor: - platform: ld2410 has_target: name: "Presence Detected" has_moving_target: name: "Moving Target Detected" has_still_target: name: "Still Target Detected" sensor: - platform: ld2410 moving_distance: name: "Moving Distance" still_distance: name: "Still Distance" moving_energy: name: "Moving Energy" still_energy: name: "Still Energy" detection_distance: name: "Detection Distance" text_sensor: - platform: ld2410 version: name: "LD2410 Firmware Version" mac_address: name: "LD2410 MAC Address" |





發佈留言
很抱歉,必須登入網站才能發佈留言。