GithubHelp home page GithubHelp logo

kabongsteve / ld2411s-esphome Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chreece/ld2411s-esphome

0.0 0.0 0.0 8.84 MB

HiLink LD2411S 24GHz mmwave Static and Motion Sensor. ESPHome Integration

License: GNU General Public License v3.0

C++ 100.00%

ld2411s-esphome's Introduction

LD2411S

HiLink LD2411S 24GHz mmwave Static and Motion Sensor. ESPHome Integration

LD2411S

Installation

  • Copy the .yaml and the .h files in your ESPHome config.
  • Set wifi_ssid, wifi_password, encryption_key, ota_update and fallback_pass in your secrets.yaml from ESPHome.
  • Change the ESP board settings and uart_tx_pin, uart_rx_pin to match your setup
  • Compile and upload

Wiring

LD2411S ESP
Vin 5V
GND GND
TX RX
RX TX

Entities Exposed

  • Distance (in cm from target)
  • Motion (true if target moves)
  • Presence (true if target present)
  • Bluetooth (turn on-off the bluetooth module)
  • Min Motion Distance (Minimum distance to recognise moving targets, adjustable range: 30-735cm)
  • Max Motion Distance (Maximum distance to recognise moving targets, adjustable range: 30-735cm. 600cm is the actual maximum value)
  • Min Presence Distance (Minimum distance to recognise static (micromotion) targets, adjustable range: 30-425cm )
  • Max Presence Distance (Maximum distance to recognise static (micromotion) targets, adjustable range: 30-425cm. 350cm is the actual maximum value)
  • Unoccuppied Time (Delay in seconds from occupied to unoccupied, adjustable range: 0-6553 seconds)
  • Set Parameter (Button to set the new values for Motion, Presence recognition and Unoccupied Time)
  • Reboot Module (Reboot only the LD2411S)
  • Factory Reset (Return to default LD2411S settings)
  • Restart MCU (Restart the ESP)

Description

The sensor recognises motion and presence of targets which are in between the distance values given. To change the values, edit the number entities and hit Set Parameter. It includes a Bluetooth module, and it's compatible with the HLKRadarTool app. OTA updates available also via Bluetooth.

ld2411s-esphome's People

Contributors

chreece avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.