Renstec / LD2410

Arduino Library to read out and parameterize a HiLink-LD2410 radar sensor.
GNU Lesser General Public License v2.1
15 stars 4 forks source link

New feature in new FW #1

Closed Kabron287 closed 1 year ago

Kabron287 commented 1 year ago

Hello, wonderful lib and example!

Now. new FW is available with ambient light sensor activated. https://www.pgyer.com/Lq8p?spm=a2g2w.detail.0.1.6b3b1e4cammVlk

Would you be kind to add light sensor support. Thanks in advance, Vladimir Screenshot_2023-02-12-12-15-10-680_com example hlkradartool

Renstec commented 1 year ago

Thank you for liking the library.

At the moment I can't find an English datasheet with the current communication protocol for the light sensor. So I close this issue for now, but if I find a datasheet I will of course implement the light sensor.

Thanks a lot

Kabron287 commented 1 year ago

Hi there again. I found where ambient intensity transferred. It is the 34th byte in the data field.

Data

Kabron287 commented 1 year ago

Sorry, actually it is 31th byte. I do not realize what are the other changes in data arrangement, but if I highlight sensor with modulated beam, byte 31 changed correspondingly.

Renstec commented 1 year ago

Hello Kabron287,

I wanted to let you know that I do not support the LD2410/B/C module in my library. I apologize for any inconvenience this may cause you.

Please note that I do not have the necessary hardware to test the B/C module and ensure its compatibility with my library.

It's worth noting that the Light Sensor is only supported on the LD2410/B/C, while my library only supports the Serial Protocol for the LD2410 module.

If you wish to implement the light sensor, you can find the partly data-sheet for the module on GitHub at the following link: https://github.com/esphome/feature-requests/issues/2156.

If you have any further questions or concerns, please don't hesitate to reach out to me.

Best regards, Renstec