/LD2450

Primary LanguageC++Apache License 2.0Apache-2.0

This repo will no longer be maintained since there is a PR for native support in esphome and a better library till the PR to be merged

ESPHome LD2450 mmWave Radar Sensor Custom Component

https://aliexpress.com/item/1005005584857890.html

Modified the yaml from tsunglung for ESP32 to use the internal pull up resistors Added Presence Sensor and Number of detected targets

Installation

Set wifi_ssid and wifi_password in your esphome's secrets.yaml first

  1. Place ld2450_uart.h into the custom_components of your esphome configuration folder
  2. Create new device with the esphome-ld2450.yaml from this repository

Wiring

ESP32 LD2450
5V <-> VCC
GND <-> GND
GPIO22 <-> RX
GPIO21 <-> TX

Dashboard Card

image

From HACS download the auto-entities, layout-card and Ploty Graph Card (all Frontend integrations) Copy the code from dashboard_example.yaml into a new empty card in Home Assistant to grab all the LD2450 targets and present them in seperate cards (for title, the area of the device is used)

Notice

  1. Need to upgrade to firmware 2.04.23101915 - Bluetooth OTA available through HLKRadarTool app