Smart Home Automation Forum
Connect LD2420 Presence detection sensor to A8 controller. - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A8 (https://www.kincony.com/forum/forumdisplay.php?fid=23)
+--- Thread: Connect LD2420 Presence detection sensor to A8 controller. (/showthread.php?tid=7394)



Connect LD2420 Presence detection sensor to A8 controller. - vijjav - 01-15-2025

Hi,

I want to connect my LD2420 presence detection sensor to A8 board. Please share me the pinout details.

LD2420 has RX, OT1, GND and 3v Pins

LD2420 24Ghz mmWave Radar Sensor — ESPHome


RE: Connect LD2420 Presence detection sensor to A8 controller. - admin - 01-15-2025

you can try to use S1, S2 for RXD, TXD


RE: Connect LD2420 Presence detection sensor to A8 controller. - vijjav - 01-15-2025

Thank you,

And S1 and S2 already connected to Temperature sensors.

Can I use S3 and S4? And what is its GPIO pin numbers?

Is it GPIO 32 and 33? but it is for Analog input.

https://www.kincony.com/images/user-guide/manual/KC868-A8-part2-images/a8-01.png


RE: Connect LD2420 Presence detection sensor to A8 controller. - admin - 01-15-2025

S3 and S4 can't use for RXD, TXD. ONLY use for INPUT signal.


RE: Connect LD2420 Presence detection sensor to A8 controller. - vijjav - 01-16-2025

It is working with S3 and S4. Thanks.

Here is my sample ESPHome config.
------------------------------
captive_portal:
binary_sensor:
## LD2420 Sensor
- platform: ld2420
has_target:
name: Presence

sensor:
## LD 2420
- platform: ld2420
moving_distance:
name : Moving Distance

uart:
id: ld2420_radar
tx_pin: 33 #S4 KC868-A8
rx_pin: 32 #S3 KC868-A8
baud_rate: 115200
parity: NONE
stop_bits: 1

ld2420:

text_sensor:
- platform: ld2420
fw_version:
name: LD2420 Firmware

select:
- platform: ld2420
operating_mode:
name: Operating Mode

number:
- platform: ld2420
presence_timeout:
name: Detection Presence Timeout
min_gate_distance:
name: Detection Gate Minimum
max_gate_distance:
name: Detection Gate Maximum
# See "Number" section below for detail
gate_select:
name: Select Gate to Set
still_threshold:
name: Set Still Threshold Value
move_threshold:
name: Set Move Threshold Value

button:
- platform: ld2420
apply_config:
name: Apply Config
factory_reset:
name: Factory Reset
restart_module:
name: Restart Module
revert_config:
name: Undo Edits


RE: Connect LD2420 Presence detection sensor to A8 controller. - admin - 01-17-2025

ok,good