pdf-icon

Unit UWB

SKU:U100

Description

UWB is a Unit which integrates the UWB(Ultra Wide Band) communication protocol which uses nanosecond pulses to locate objects and define position and orientation. The design uses the Ai-ThinkerBU01 Transceiver module which is based on Decawave's DW1000 design. The internal STM32 chip with its integrated ranging algorithm,is capable of 10cm positioning accuracy and also supports AT command control. Applications include: Indoor wireless tracking/range finding of assets,which works by triangulating the position of the base station/s and tag (the base station resolves the position information and outputs it to the tag).

The firmware currently carried by this Unit only supports the transmission of ranging information, and does not currently support the transmission of custom information. When in use, it supports the configuration of 4 base station devices (using different IDs), and only a single tag device is allowed to operate at the same time.

Product Features

  • Positioning Accuracy :10cm
  • Internal STM32 Integrated ranging algorithm
  • AT Command control
  • Serial communication (baud rate: 115200)
  • Simple Usage,No need for RF Calibration
  • IEEE 802.15.4-2011 UWB Standard
  • Support two-way ranging and TDOA
  • Development Platform: Arduino, UIFlow(Blockly, Python)
  • 2x LEGO™ Technic friction pin holes

Includes

  • 1x UWB Unit
  • 1x HY2.0-4P Port

Applications

  • Indoor tracking
  • Accurate range finding

Specification

Resources Parameter
Data transfer rate 110 kbit/s, 850 kbit/s and 6.8 Mbit/s
frequency band 6 frequency bands: from 3.5 GHz to 6.5 GHz
Transmit power -14 dBm/-10 dBm
Transmit power density <-41.3dBm / MHz
Support data packet size 1023 bytes
Transmit power density <-41.3dBm / MHz
Modulation method BPM (two-phase modulation) and BPSK (binary phase modulation)
FDMA 6 channels
Net Weight 7g
Gross weight 19g
Product Size 48*24*8mm
Packaging Size 136*92*10mm

EasyLoader

EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification. Please install the corresponding driver according to the device type. M5Core host Please click here to view the CP210X driver installation tutorial, M5StickC/V/T/ATOM series can be used without driver)

Download Windows Version Easyloader Download MacOS Version Easyloader

PinMap

  • Serial communication (baud rate: 115200)
M5Core U2RXD(GPIO16) U2TXD(GPIO17) 5V GND
UWB Unit TXD RXD 5V GND

Schematic

Example

Arduino

UIFlow

How to use Blockly uwb on the UIFlow 1.0 graphical programming platform and related API instructions

Video

AT command set

Note:
Send a carriage return and line feed \r\n at the end of each command

Setting AT commands

AT+switchdis=value

  • Command description: Switch to control whether to range or not, valid only in tag mode
  • Response:
    • When value is equal to 0, turn off the range and return ok.
    • When value equals to 1, turn on the range and return ok.

AT+interval=value

  • Command description: Set distance measurement interval
  • Response: OK
Note:
The range is 5-50 meters, the setting is how many times to get the data and then start outputting the distance, the larger the value the slower the refresh speed;

AT+version?

  • Command description: Get manufacturer, module series and version number
  • Response: "AIT-BU01-DB V000 T2020-4-17 OK"

AT+RST

  • Command description: Reset Module
  • Response: OK

AT+anchor_tag=model,ID

  • Command description: Set the mode and ID of the device
  • Parameters:
    • Model 1 is to select anchor mode, 0 is to select tag mode
    • ID sets the ID of the base station and tag
  • Response: OK
//Base station mode
AT+anchor_tag=1,0
+anchor_tag=OK

AT+RST
+RST=OK
//Labeling mode
AT+RST
+RST=OK

AT+anchor_tag=0
+anchor_tag=OK

AT+interval=5
+interval=OK

AT+switchdis=1
+switchdis=OK

//Return distance measurement results
//....