Open mgiesen opened 1 month ago
I don't get the firmware version out of the sensor. Anyone know what to do?
Code:
#define HUMAN_PRESENCE_RX 17 #define HUMAN_PRESENCE_TX 18 ld2410 radar; void setup() { delay(100); Serial.begin(115200); delay(500); Serial2.begin(256000, SERIAL_8N1, HUMAN_PRESENCE_TX, HUMAN_PRESENCE_RX); delay(500); radar.debug(Serial); radar.begin(Serial2); Serial.println(); } void loop() { if (radar.read()) { if (radar.presenceDetected()) { Serial.println("True"); } else { Serial.println("False"); } } delay(1000); }
Output:
ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x1 (POWERON),boot:0xb (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3808,len:0x4bc load:0x403c9700,len:0xbd8 load:0x403cc700,len:0x2a0c entry 0x403c98d0 ld2410 started LD2410 firmware: no response Cmnd : FD FC FB FA 08 00 FF 01 00 00 01 00 40 00 04 03 02 01 ACK frame payload: 8 bytes ACK for entering configuration mode: OKFalse True True True True True False
I don't get the firmware version out of the sensor. Anyone know what to do?
Code:
Output: