表 1-1 型号列表
型号 |
功能说明 |
MZY-ZB-1560+ZTP06-HA |
ZigBee HA 透传模块(带 PA),配置贴片天线 |
引脚号 |
功能名称 |
I/O |
描述(多行代表复用) |
|
1 |
VDD |
I |
电源输入(+3.3V) |
|
2 |
Nc. |
|
|
|
3 |
Nc. |
|
|
|
4 |
GND. |
|
地 |
|
5 |
FAC_RESET |
I |
加网按键描述,平时为低电平,上升沿触发,作为加网和 退网按键(短按加网,长按退网),浮空输入(需接 10K下拉电阻)。 |
|
6 |
Nc. |
|
|
|
7 |
Nc |
|
|
|
8 |
Status LED |
O |
状态 LED(绿色),用来单独指示联网状态,完全由无线 模块控制。(上电不亮,加网时快闪,加网成功后长亮 2秒后熄灭),状态灯为高电平点亮 |
|
9 |
Tx. |
O |
串口发 Tx(波特率默认为 57600) |
|
10 |
Rx. |
I |
串口收 Rx(波特率默认为 57600) |
|
11 |
Nc. |
|
(需接 10K 下拉电阻) |
|
12 |
Nc. |
|
(需接 10K 下拉电阻) |
|
13 |
GND. |
|
地 |
|
14 |
RESETn |
|
系统 RESET 信号,低电平有效 |
|
15 |
DC |
I |
DEBUG 口,悬空即可 |
|
16 |
DD |
I/O |
DEBUG 口,悬空即可 |
|
17 |
VDD |
|
电源输入(+3.3V) |
按下网关的‘允许入网’按键,让网关允许其他设备加入网关,给 FAC_RESET 脚一个短暂的高电平,若 Status LED 脚检测到有高低电平的变化,则表示模块正在执行入网操作,若入网成功,Status LED 脚会先持续 3s 的高电平,之后一直保持低电平。若一分钟后, 模块没有入网,Status LED 脚之后会一直保持低电平。如果要再执行入网操作,需重复上述步骤。
FB BF |
Length |
CmdCode |
Data |
Checksum |
帧头 |
命令长度 |
命令控制码 |
命令数据 |
校验和 |
2byte |
1byte |
1byte |
(Length-1)byte |
1byte |
波特率 |
命令帧 |
9600 |
FB BF 02 01 00 01 |
19200 |
FB BF 02 01 01 00 |
38400 |
FB BF 02 01 02 03 |
57600 |
FB BF 02 01 03 02 |
115200 |
FB BF 02 01 04 05 |
例如:
FB BF 03 06 64 02 60
FB BF 03 06 64 01 63
0x64 换算成十进制为 100,即版本号为 V1.0.0,02 表示的是 Router(即非低功耗) 版本的模块,01 表示的是 PowerSave(即低功耗)版本的模块。
注:
1、簇ID为0x0001表示本包数据为power configuration 电源配置相关的簇信息。(详细的簇ID请参见表3-6)。
2、电压值单位为100mv,20即32*100mv = 3.2v
3、属性ID 0x0020:后接数据是电池当前电压值
0x0035:后接数据位电压欠压报警信息
4、0x00:电压正常,0x01:电池欠压。
|
Device |
Device ID |
Lighting |
On/Off Light |
0x0100 |
Dimmable Light |
0x0101 |
|
Color Dimmable Ligh |
0x0102 |
|
On/Off Light Switch |
0x0103 |
|
Dimmer Switch |
0x0104 |
|
Color Dimmer Switch |
0x0105 |
|
Light Sensor |
0x0106 |
|
Occupancy Sensor |
0x0107 |
|
Reserved |
0x0108 – 0x1FF |
|
Closures |
Shade |
0x0200 |
Shade Controller |
0x0201 |
|
Window Covering Device |
0x0202 |
|
Window Covering Controller |
0x0203 |
|
Reserved |
0x0204 – 0x2FF |
|
HVAC |
Heating/Cooling Unit |
0x0300 |
Thermostat |
0x0301 |
|
Temperature Sensor |
0x0302 |
|
Pump |
0x0303 |
|
Pump Controller |
0x0304 |
|
Pressure Sensor |
0x0305 |
|
Flow Sensor |
0x0306 |
|
Mini Split AC |
0x0307 |
|
Reserved |
0x0308 - 0x3FF |
|
Intruder Alarm Systems |
IAS Control and Indicating Equipment |
0x0400 |
IAS Ancillary Control Equipmen |
0x0401 |
|
IAS Zone |
0x0402 |
|
IAS Warning Device |
0x0403 |
|
Reserved |
0x0404-0xFFFF |
Functional Domain |
Cluster Name |
Cluster ID Certifiable |
General |
Basic |
0x0000 |
General |
Power Configuration |
0x0001 |
General |
Device Temperature Configuration |
0x0002 |
General |
Identify |
0x0003 |
General |
Groups |
0x0004 |
General |
Scenes |
0x0005 |
General |
On/Off |
0x0006 |
General |
On/Off Switch Configuration |
0x0007 |
General |
Level Control |
0x0008 |
General |
Alarms |
0x0009 |
General |
Time |
0x000A |
General |
Binary Input (Basic) |
0x000F |
General |
Partition |
0x0016 |
General |
Power Profile |
0x001a |
General |
EN50523Appliance Control |
0x001b |
General |
Poll Control |
0x0020 |
Closures |
Shade Configuration |
0x0100 |
Closures |
Door Lock |
0x0101 |
Closures |
Window Covering |
0x0102 |
HVAC |
Pump Configuration and Control |
0x0200 |
HVAC |
Thermostat |
0x0201 |
HVAC |
Fan Control |
0x0202 |
HVAC |
Thermostat User Interface Configuration |
0x0204 |
Lighting |
Color Control |
0x0300 |
Measurement & Sensing |
Illuminance Measurement |
0x0400 |
Measurement & Sensing |
Illuminance Level Sensing |
0x0401 |
Measurement & Sensing |
Temperature Measurement |
0x0402 |
Measurement & Sensing |
Pressure Measurement |
0x0403 |
Measurement & Sensing |
Flow Measurement |
0x0404 |
Measurement & Sensing |
Relative Humidity Measurement |
0x0405 |
Measurement & Sensing |
Occupancy Sensing |
0x0406 |
Security and Safety |
IAS Zone |
0x0500 |
Security and Safety |
IAS ACE |
0x0501 |
Security and Safety |
IAS WD |
0x0502 |
Smart Energy |
Metering |
0x0702 |
Home Automation |
EN50523 Appliance Identification |
0x0b00 |
Home Automation |
Meter Identification |
0x0b01 |
Home Automation |
EN50523 Appliance events and Alert |
0x0b02 |
Home Automation |
Appliance statistics |
0x0b03 |
Home Automation |
Electricity Measurement |
0x0b04 |
Home Automation |
Diagnostics |
0x0b05 |
Type Class |
Data Type ID |
Data Type |
Length Of Data(Octets) |
Invalid Number |
Analog / Discrete |
|
Unsigned integer |
0x20 |
Unsigned 8-bit integer |
1 |
0xff |
A |
|
0x21 |
Unsigned 16-bit integer |
2 |
0xffff |
|
||
0x22 |
Unsigned 24-bit integer |
3 |
0xffffff |
|
||
0x23 |
Unsigned 32-bit integer |
4 |
0xffffffff |
|
||
0x24 |
Unsigned 40-bit integer |
5 |
0xffffffffff |
|
||
0x25 |
Unsigned 48-bit integer |
6 |
0xffffffffffff |
|
||
0x26 |
Unsigned 56-bit integer |
7 |
0xffffffffffffff |
|
||
0x27 |
Unsigned 64-bit integer |
8 |
0xffffffffffffffff |
|
||
Signed integer |
0x28 |
Signed 8-bit integer |
1 |
0x80 |
A |
|
0x29 |
Signed 16-bit integer |
2 |
0x8000 |
|
||
0x2a |
Signed 24-bit integer |
3 |
0x800000 |
|
||
0x2b |
Signed 32-bit integer |
4 |
0x80000000 |
|
||
0x2c |
Signed 40-bit integer |
5 |
0x8000000000 |
|
||
0x2d |
Signed 48-bit integer |
6 |
0x8000000000 00 |
|
||
0x2e |
Signed 56-bit integer |
7 |
0x8000000000 0000 |
|
||
0x2f |
Signed 64-bit integer |
8 |
0x8000000000 000000 |
|
||
Enumeration |
0x30
|
8-bit enumeration
|
1
|
0xff
|
D |
|
0x31 |
16-bit enumeration |
2 |
0xffff |
|
||
0x32 –0x37 |
Reserved |
- |
- |
|
||
Floating point |
0x38 |
Semi-precision |
2 |
Not a Number |
A |
|
0x39
|
Single precision |
4
|
Not a Number
|
|
||
0x3a |
Double precision |
8 |
Not a Number |
|
||
0x3b –0x3f |
Reserved |
- |
- |
|
||
String |
0x40 |
Reserved |
- |
- |
D |
|
0x41
|
Octet string
r |
Defined in first octet |
0xff in first octet
|
|
||
0x42 |
Characte string |
Defined in first octet |
0xff in first octet |
|
||
0x43
|
Long octet string
|
Defined in first two octets |
0xffff in first two octets |
|
||
0x44
|
Long character string |
Defined in first two octets |
0xffff in first Two octets |
|
||
0x45 –0x47 |
Reserved |
- |
- |
|
||
Ordered sequence |
0x48
|
Array
|
2 + sum of lengths of contents |
0xffff in first 2 octets
|
D |
|
0x49 -0x4b |
Reserved |
- |
- |
|
||
0x4c
|
Structure
|
2 + sum of lengths of contents
|
0xffff in first 2 octets
|
|
||
0x4d -0x4f |
Reserved |
- |
- |
|
||
Collection |
0x50
|
Set
|
Sum of lengths of contents |
Number of elements returned as 0xffff |
D |
|
0x51
|
Bag
|
Sum of lengths of contents |
Number of elements returned as 0xffff |
|
||
0x52 -0x57 |
Reserved |
- |
- |
|
||
Reserved Time |
0x58 –0xdf |
- |
- |
- |
- |
|
0xe0 |
Time of day |
4 |
0xffffffff |
A |
||
0xe1 |
Date |
4 |
0xffffffff |
|
||
0xe2 |
UTCTime |
4 |
0xffffffff |
|
||
0xe3 –0xe7 |
Reserved |
- |
- |
|
||
Identifier |
0xe8 |
Cluster ID |
2 |
0xffff |
D |
|
0xe9 |
Attribute ID |
2 |
0xffff |
|
||
0xea |
BACnet OID |
4 |
0xffffffff |
|
||
0xeb –0xef |
Reserved |
- |
- |
|
||
Miscellaneous |
0xf0 |
IEEE address |
8 |
0xffffffffffffffff |
D |
|
0xf1
|
128-bit security -key |
16
|
-
|
|
||
0xf2 –0xfe |
Reserved |
- |
- |
|
||
Unknown |
0xff |
Unknown |
0 |
- |
- |
创建人 | admin |
工作小组 | MIOC物联网开放平台 |
文档编辑权限 | 创建者私有 |
文档阅读权限 | 来自分类 |
分类阅读权限 | 所有人 |
分类编辑权限 | 所有人 |
分类审核权限 | 无 |
修改日期 | 修改人 | 备注 |
2018-10-12 15:23:57[当前版本] | admin | 修正 |
2018-10-11 18:02:23 | admin | CREAT |