For the complete documentation index, see llms.txt. This page is also available as Markdown.

UCM601 UHF RFID Reader Module SDK

UCM601 UHF RFID reader module SDK guide covering serial packets, EPC Gen2 inventory, tag access, RF configuration, errors, and code examples.

Use this guide to integrate the UCM601 single-antenna UHF RFID reader module or finished reader with an MCU, Linux or Windows computer, Android device, or other serial host.

The protocol is based on UCChip UHF Reader Serial Protocol V1.2.3. Commands shared with UCM602/UCM606/UCM608 are included for reference, but family-specific commands are not automatically supported by UCM601.

UCM601 limits: one antenna, RF output up to 20 dBm, command UART default 115200 bps, reader address 0x00, and factory frequency region FCC 902โ€“928 MHz. Confirm the legal UHF RFID band for the deployment country before enabling RF output.

Serial packet format

Field
Size
Description

Head

1 byte

Always 0xA0

Len

1 byte

Data length + 3; excludes Head and Len

Address

1 byte

Reader address; 0x00 is the common address

Cmd

1 byte

Command code

Data

0โ€“N bytes

Parameters or response payload

Checksum

1 byte

8-bit LRC over all preceding bytes

A complete valid frame has a byte sum of zero modulo 256:

checksum = (-sum(frame_without_checksum)) & 0xFF

Example: get firmware version (0x72) from address 0x00:

A0 03 00 72 EB

Minimal Python SDK

import serial

HEAD = 0xA0

def build_frame(command: int, data: bytes = b"", address: int = 0) -> bytes:
    frame = bytes((HEAD, len(data) + 3, address, command)) + data
    return frame + bytes(((-sum(frame)) & 0xFF,))

def read_frame(port: serial.Serial) -> tuple[int, int, bytes]:
    while port.read(1) != bytes((HEAD,)):
        pass
    length = port.read(1)[0]
    body = port.read(length)
    frame = bytes((HEAD, length)) + body
    if len(body) != length or sum(frame) & 0xFF:
        raise ValueError("Invalid UCM601 frame length or checksum")
    return body[0], body[1], body[2:-1]

with serial.Serial("/dev/ttyUSB0", 115200, timeout=1) as port:
    port.write(build_frame(0x72))
    address, command, data = read_frame(port)
    major, minor, model = data
    assert model == 0x01  # UCM601
    print(f"firmware={major}.{minor}")

Do not interpret every response as a one-byte status. Inventory and tag-access commands return structured records, and continuous inventory produces multiple frames.

  1. Open UART at 115200, 8 data bits, no parity, 1 stop bit, unless the product configuration says otherwise.

  2. Send 0x72; verify model byte 0x01 for UCM601.

  3. Read or set the frequency region with 0x79 / 0x78.

  4. Set antenna 1 with 0x74, payload 01.

  5. Set power with 0x76; never exceed decimal 20 (0x14) on UCM601.

  6. Select an RF link profile with 0x69 if required.

  7. Send 0x4A after changes that must survive power loss.

  8. Start inventory with 0x8B or 0x89; stop with 0x8C before tag access or reconfiguration.

Reader and RF commands

Cmd
Function
UCM601 notes

0x4A

Save parameters

Save once after grouped changes

0x4B

Restore defaults

No response

0x66

Temporary RF power

3โ€“20 dBm; not saved

0x69 / 0x6A

Set/get RF link profile

Set restarts reader and saves

0x70

Reset reader

Standard status response

0x71

Set UART baud rate

Takes effect immediately

0x72

Get firmware/model

UCM601 model is 0x01

0x73

Set reader address

0x00โ€“0xFF

0x74 / 0x75

Set/get antenna

Use antenna 0x01

0x76 / 0x77

Set/get RF power

Maximum 20 dBm

0x78 / 0x79

Set/get frequency region

Preset or custom

0x7A / 0x7B

Buzzer / temperature

Temperature has sign and magnitude

0xF3

Read UUID

Confirm firmware support

EPC Gen2 / ISO 18000-6C commands

Cmd
Function
Main request data

0x80

Inventory into buffer

Ant; use 01

0x81

Read tag

MemBank + WordAdd[4] + WordCnt[2] + Password[4]

0x82

Write tag

Password[4] + MemBank + WordAdd[4] + WordCnt[2] + data

0x83

Lock memory

Password[4] + MemBank + LockType

0x84

Kill tag

KillPassword[4]

0x85 / 0x86

Set/get EPC match

Limit ACCESS to a selected EPC

0x89

Real-time inventory

Reports tags without buffering

0x8A

Inventory and read data

Antenna, rounds, match mode

0x8B

Session/Target inventory

Recommended inventory command

0x8C

Stop inventory

No success response

0x8D / 0x8E

Set/get Select

Gen2 Select mask/action

0x90 / 0x91

Read buffer

0x91 clears after retrieval

0x92 / 0x93

Buffer count/clear

Distinct-tag count / reset

Memory banks: 0 = RESERVED, 1 = EPC, 2 = TID, 3 = USER. Addresses and counts are 16-bit words. EPC writes normally start at word 2, after CRC and PC.

Inventory example

The protocol returns 0x8B inventory reports under command 0x89. Handle repeated frames, partial serial reads, unsolicited 0xE1 overtemperature alarms, and intentional no-response commands.

Frequency regions

Region
Value
Nominal band

FCC

0x01

902โ€“928 MHz

ETSI

0x02

865โ€“868 MHz

CHN-1

0x03

840โ€“845 MHz

Custom

0x04

Explicit spacing/count/start frequency

CHN-2

0x05

920โ€“925 MHz

Custom payload: 04 + FreqSpace[2] + FreqQuantity[1] + StartFreq[3]. Spacing and big-endian start frequency are in kHz. Quantity 1 selects a fixed frequency.

Baud-rate IDs

ID
bps
ID
bps

00

1200

07

57600

01

2400

08

76800

02

4800

09

115200

03

9600

0A

128000

04

14400

0B

230400

05

19200

0C

256000

06

38400

0D

460800

Common status and errors

Code
Meaning
Code
Meaning

10

Success

11

Execution failed

12

Custom inventory complete

13

Antenna polling complete

22

Antenna disconnected

25

RF power setting error

31

Inventory error

32

Tag read error

33

Tag write error

34

Tag lock error

35

Tag kill error

36

No tag available

37

Inventory succeeded, access failed

38

No EPC buffer data

40

Access/password error

41

Invalid parameter

42

Word count too large

43

Memory bank out of range

46

Invalid address

47

Antenna out of range

48

Power out of range

49

Region out of range

4A

Baud rate out of range

4F

Invalid frequency range

53

RF chip not responding

54

Requested power not reached

60

Insufficient tag power

61

Insufficient permissions

62

Memory address out of range

63

Tag memory locked

64

Incorrect tag password

65

Authentication failed

The protocol also defines GB, SM7, heartbeat, TX timing, GPIO, firmware-upgrade, and multi-antenna commands. Treat them as optional until confirmed on the exact UCM601 firmware. A few source sections conflict on error-code meanings and packet fields; log the complete raw frame and firmware version when debugging.

Integration checklist

  • Buffer bytes and parse by Head + Len; one UART read may contain a partial frame or several frames.

  • Reject invalid length/LRC before interpreting data.

  • Select the response structure by command, not only the first data byte.

  • Stop continuous inventory before read/write/lock/kill operations.

  • Add timeouts for commands designed to return no response.

  • Limit Flash writes; use 0x66 for frequent temporary power changes.

  • Enforce local band rules and UCM601's 20 dBm ceiling.

  • Require confirmation for lock, kill, reset, and firmware upgrade.