MW0582TR11 library

Does anyone know of an Arduino library for the MW0582TR11 microwave motion detector?

Just read it using a serial connection.

  • Baud rate: 512000
  • Interface: UART
  • It takes 5V-18V to power it
  • It provides output in 5V logic.

Thanks for the quick response, I hooked up the +5, gnd,RX to pin 2 and TX to pin 3. I used SoftwareSerial.h. I can see data on both RX and TX lines with my scope but the SoftwareSerial doesn't see anything. I tried to switch RX and TX with no difference.

#include <SoftwareSerial.h>
SoftwareSerial mySerial(3, 2); // RX, TX
void setup() {
// Open serial communications and wait for port to open:
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
//mySerial.println("Hello, world?");
void loop() { // run over and over
if (mySerial.available()) {
Serial.println("Got data");

Any ideas

Check your baud rates

They look like they're set correctly. The led on the module doesn't come on with the power?


Thanks, I missed a zero. Corrected that and still no response. The datasheet shows different settings that can be sent but doesn't show how. Still no led also.

Looks like there are some parts missing on the board, I've contacted Seed to resolve this. Thanks for your help.

Hope they swap it out for you.

I will update you!

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.