uploaded 2 months ago
LD2412 Presense detector driver

readme

# HLK-LD2412 mmWave Radar Presense Detector UART driver

This repository contains an ESP-IDF driver for a LD242 Presense detector connected over UART.

## Using the component

Run the following command in your ESP-IDF project to install this component:
```bash
idf.py add-dependency "jacque99/ld2412"
```

## Example

To run the provided example, create it as follows:
The LD2412 sends target distance periodically, to make it human readable display_time_task() shows one of 6 datas. 

```bash
idf.py create-project-from-example "jacque99/ld2412:ld2412-example"
```

Then build as usual:
```bash
cd ld2412-example
idf.py build
```

And flash it to the board:
```bash
idf.py -p PORT flash monitor
```

The example uses GPIOs 4 and 5 for UART RX and TX, respectively.

## Wiring

ESP32 | LD2412
3.3V <-> VCC
GND  <-> GND
TX   <-> RX
RX   <-> TX

## License

This component is provided under Apache 2.0 license, see [LICENSE](LICENSE.md) file for details.

## Contributing

Please check [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.

Links

Supports all targets

Maintainer

  • Lhagva <jantsan.d@gmail.com>

License: Apache-2.0

To add this component to your project, run:

idf.py add-dependency "jacque99/ld2412^0.0.1"

or download archive

Stats

  • Archive size
    Archive size: 11.85 KB
  • Downloaded in total
    Downloaded in total 0 times
  • Downloaded this version
    This version: 0 times

Badge

jacque99/ld2412 version: 0.0.1
|