Reading and Writing UWB Anchor Data with Commands
This article explains how to read and set coordinates on GrowSpace UWB anchors with serial commands.
This article explains how to read and set coordinates on GrowSpace UWB anchors with serial commands.
Accurate coordinates are a very important factor in the accuracy of a UWB indoor positioning system.
(For use in Tera Term or another serial terminal environment)
Applies to
- GrowSpace UWB fixed anchors (GR-ANC-3001, Q1 series)
- Environments where commands can be entered over a serial port (Windows PC + Tera Term, etc.)
Purpose of the anchor commands
A UWB anchor calculates tag positions based on the 3D coordinates (x, y, z) of where it is installed.
You therefore need to enter each anchor's coordinates accurately and check the values currently set.
This guide focuses on two commands:
apg: read the current coordinatesaps x y z: set coordinates
Basic commands
See the link below for the basic commands shared by tags, listeners and anchors.
Anchor command summary
| Command | Function |
|---|---|
apg | Read the anchor coordinates currently entered |
aps x y z | Set new coordinates manually (unit: mm) |
Example:
aps -2500 3600 1200→ x: -2.5m, y: 3.6m, z: 1.2m
Anchor command details
✅ apg – read the current anchor coordinates
- Example input
apg
\* Example output
apg: x:-2500 y:3600 z:1200 qf:100
\* Output fields
| Field | Meaning |
|---|---|
| x, y, z | The 3D coordinates currently set (unit: mm) |
| qf | Quality Factor, default 100 |
Use the
apgcommand to check the coordinate values currently entered in the anchor.
Always check that the installed position is reflected accurately.
✅ aps x y z – set the anchor position manually
- Example input
aps -2500 3600 1200
\* Meaning
\* X = -2.5m
\* Y = 3.6m
\* Z = 1.2m
\* Example output
aps: ok
The
apscommand lets you set the x, y and z coordinates manually, and they are saved as soon as you enter them.
They take effect without a separate save command, so check withapgright after setting them that the values were applied correctly.
Notes
- All coordinates must be entered in millimeters (mm), and decimals are not allowed.
- Example: 2.5m →
2500/ 0.0m →0 - Negative coordinates are also allowed. This is useful when the reference point of the space is not (0,0).
- The Z coordinate must also be entered. Values between 1200 and 3000mm are generally recommended.
- Once the anchor coordinates are set, also check whether the device has been designated as the reference anchor (Initiator).
See the Web Console or gateway setup guide