MaxusDev / MWTool

A debug tool for developers to visualize the raw data of Maxustech mw series radar.
12 stars 9 forks source link

MWTool for mw series radar

This repo is a debug tool for developers to visualize the raw data of Maxustech mw series radar. MW series radar is a highly integrated signle chip motion sensor.

Interested users are welcome to join this slack group for further support.

Introduction

The MW0582TR11 is a highly integrated single chip 5.8GHz microwave motion sensor developed by Maxustech. The MW0582TR11 simplifies the implementation of non-contact detection applications and is an ideal solution for smart lighting, surveillance, automation and any self-monitored radar system.

The module achieves broad sensing coverage given the well-designed 1Tx, 1Rx transceiver antenna and robust performance in anti-interference with built-in PLL. Simple programming model changes can enable a wide variety of sensor implementation (Short, Mid, Long) with the possibility of dynamic reconfiguration for implementing a multimode sensor.

Working Principle

MW0582TR11 is based on doppler principle. It emits 5.8GHz radio signal and collects the echo. Mixing is already done by the device and the raw data is sampled at the rate of 625Hz. If there's no motion, the raw data will stay around a constant number. However, if there's motion detected, the raw data will start to fluctuate. Users can set a threshold at the raw data for simple detection application.

Usage

Python (Only tested on v3.7.4)

Dependencies:

  • Matplotlib
  • Numpy
  • Tkinter
python mw0582_gui.py

Xnip2019-12-05_19-17-28.png

Note:

Node

Dependencies:

  • serialport

Other serial tools

Recommended serial tools include:

Debug commands

Radiated power, receive gain and detection threshold have a complicated relationship and should be set probably according to your situation to ensure proper functioning of the device.