Although I did same like the code, nothing worked. I downloaded the library at the github and installed it in arduino IDE. And the example DETECTION_TARGET is worked corretly. I have no idea about why this example is not working. Is there any way to solve this problem?
yes I bought your product, Grove - Doppler Radar (BGT24LTR11) - 24GHz Transceiver. And I have two questions.
I tried MODE example and I made mode(=BGT.getMode() ) to be printed on the serial monitor. When I set mode 1 it was showed on the serial monitor correctly, but when I set mode 2, 0 is printed as you can see in the picture below. Maybe this has something to do with the problem I’m running into?
And I found BGT.getIQADC returned 0. So I tried to find the reason and modified the library to return “length_h”, "length_ l"and “length”. You can see the result of it in the picture below.
The value of “length” was being returned as 0 or 1 or 2. I think that’s why BGT.getIQADC returned 0 because it didn’t run the for loop. I wonder if I’m right. And what’s the solution?