mmWave Wars: one sensor (module) to rule them all

this bit. I was trying to use this repo, i found it is crashing on my esp32. I wonder if you may have found a solution?

I’m not running that code.

1 Like

right, but in the comments of your yaml, it says it is crashing esp32’s. is it still, or did you find a way for it to work?

Ah I follow now.

That comment was driven from trying the repo you linked, encountering problems and then re-writing a lot. You’ll notice the commented out return line in that same section.

I never went back to the same approach as the linked repo since the code in post 2 has been without incident on my end.

Ah, well thank you. The linked repo isn’t working for me. :sweat:

one more thing to try before i give up on uart.

thanks I dod’t notice the aliexpress link

Just took delivery this morning from Ali. Is there any way of telling if it’s the B version just by looking at it or do I need to power it up to find out

Thanks

Simple case for ESP32 dev board with LD2410: https://www.thingiverse.com/thing:5581945

2 Likes

Sweet! Thanks for sharing. How is the HD2410 mounted?

Do I understand it correctly, if I set up the LD2410 sensor according to my idea and then use another esp module where I just insert a simple configuration of the binary sensor, will it work with the settings I made on the test board?

Mine has just arrived. the Bluetooth version connects to an app. I wonder if HA can add this integration to access the Bluetooth directly, without need for an ESP32/8266

1 Like

Any clues on what type of mmWave sensor this is?


Leapmmw 5.8GHz Motion Detection: MD5G20


http://docs.leapmmw.com/传感器产品/模块/module.html

3 Likes

Ho I read it for the above HLK-LD2410 YAML:

Red: Is VCC: +5V
Black: Is GND: GND
Yellow: Is UART Rx → GPIO18 (TX from ESP)
Green: Is UART Tx → GPIO23 (RX from ESP)
Blue: Is OUT: GPIO5

3 Likes

great idea - would love to hear if someone manages this.

Does anyone have issues with programming the ld2410 ? I have everything wired up and using the code from crlogics, I can read sensor data (the binary one) and also see stats if I toggle that on in the webui, which leads me to believe the wiring is fine.
However when I adjust the detection distance it doesn’t seem to do anything I have sensing set to 6m, yet it’s only picking me up at about 50cm - 1m… If I reboot the ESP the detection distance changed back to 0.75m in the HA UI, is that supposed to happen?

Yes, the same problem that has gone so far that currently the sensor does not respond and remains in the off state. I’m afraid he got hurt in some way. I also use the LD1115H sensor and it works fine including the settings.

Hmm thanks, would be interesting to know if crlogic ever encountered anything like this as the write up doesn’t appear to suggest any problem configuring the module.
Hopefully it can be solved, I have 10 of these sat on my desk waiting to be setup :stuck_out_tongue_winking_eye:

Code works on my working LD2410. I also have another that doesn’t report via serial for my code or HLK’s app. Tiny headers are challenging if you are soldering.

Thanks, I assume when looking from HA the sliders for distance and other settings shouldn’t be resetting back to default after restarting the ESP? (mine go back to 0.75m max distance, 0.0 motion hold and 10.0 sensitivity)