Doppler Radar Motion Sensor MW2401TR11 - data output protocol info?

Hi,
I am trying the arduino sample code at below link:

I would like to under what’s the meaning of begin_code, state_code, gear_code, delay_code, and check_code. Do you have the datasheet to explain the protocol of data output?

Also, can this senor output the distance info? Or how can we calculate the moving object distance?

Regards,
Elisa.

Sorry, the link above is wrong.This is the correct Wiki link.I hope this Wiki can help you.

Hello,
That is the same link I have read. I don’t see any difference.


Also, I found the analog output value keep at [768-776 ] no matter there is a moving object in front or not. I am using arduino mega board, connection as attached image. Below is my sketch:

int MW_out = A0;

void setup() {
Serial.begin(9600);
Serial1.begin(115200);
delay(2000);
Serial.println(“start”);
}

void loop() {
Serial.print(analogRead(MW_out));
delay(2000);
}

May I know what went wrong? Also may I have below info:

  1. data output protocol information
  2. distance calculation info

Thank you very much.
Elisa.

Hi,
Is anyone familiar with MW2401TR11, can please help?

Regards,
Elisa.


@elisasylee I so sorry, that’s different URL.

Hi Baozhu,
Thanks your reply. Finally, I found the pdf file from ur link. I have few questions as below:

  1. To adjust the sensing distance, we need to change the register value or by SDK? May I have the SDK sample code or registry map?

  2. From the pdf, it mentioned the antenna should be oriented towards the target sensing area. May I know where is the antenna in below image? Is it the red circle area? By the way, my sensor looks slightly different from your reference image.
    fr_3693_size880

  3. The output pin (0 ~ 3.3V) is connected to analog pin 0 (0~ 5v) in arduino. Do we need to map the analog value from 3.3 v to 5v in the sketch in order to get the correct readings?

  4. I am confused with the relationship between OUT value and serial data.
    Does it mean that we can see the movement from analog waveform, at the same time, we can also capture the same movement info from TX/RX?

Thank you very much.
Elisa.

Hi @elisasylee
Sorry for the SDK isn’t open-source, Only have the MW2401 serial port HEX communication protocol.
It can be controlled by the serial port tool plus the above command.
The antenna is in the below picture part. There is no need to map the analog value from 3.3 v to 5v in the sketch. Out value is an analog value and is print to the serial monitor. Yes, all the begin_code,state_code,gear_code,delay_code value are obtain through RX/TX.
1

Hi Jiacheng,
Thanks your reply. From the protocol document, it stated how to adjust the sensitivity (jog gear code). How about the sensing distance? I couldn’t find it.

Also, what is the OUT value represents? Frequency speed? Spectral data?

Thank you very much.
Elisa.

Hi. I have just tried one of these. I think it is a “doppler” module which should just output a high (3.3V) signal with motion, and 0 without. The serial value should tell the direction or motion, there is no distance info. I cannot get any response to motion, it just gives a 3.3V output all the time and gear value 175 or stationary. Anyone else get it to respond to motion? The Seeed video seems to be another unit than what I just purchased. The default gear seems to be 3; can you change this by a serial write in case its in saturation?