30
5.
Dallas One-Wire
5.1.
Search for a One-Wire
Device
Dec
Hex
254 200 2
FE C8 02
Sends a search query to each of the up to 32 devices on the one wire bus. Any connected device will respond with
an identification packet.
Response
14 bytes, identification packet as shown below
Table 23: Dallas One-Wire Packet Information
Offset
Length
Value
Description
0
2
9002
Preamble
2
1
138
Another device packet will follow OR
10
Last device packet
3
1
49
Packet Type
4
1
0
Error Code (0 indicates success)
5
8
Device Address
13
1
0
CRC8 address check (0 indicates validity)
5.2.
Dallas One-Wire
Transaction
Dec
Hex
254 200 1
FE C8 01
Flags Send Bits Receive Bits Data
Flags Send Bits Receive Bits Data
Performs a single Dallas 1-Wire transaction. Consult your device documentation for information regarding device
specific protocols. If an error is encountered, a corresponding value will be returned by the device.
Flags
1 byte, flags for transaction, see below
Send Bits
1 byte, number of bytes to be sent to the device
Receive Bits
1 byte, number of bytes expected to be received from the device
Data
Variable, data to be transmitted LSB to MSB
Table 24: Dallas One-Wire Flag Table
Bit
Flag Description
7
6
Unused
5
4
0 (Future Compatibility)
3
Add CRC8 to transaction
2
0 (Future Compatibility)
1
Read CRC8 from transaction
0
Reset Bus prior to transaction
Table 25: Dallas One-Wire Error Table
Code
Error Description
0
Success
1
Unknown Command
2
No Devices Found
3
Fatal Search Error
相关PDF资料
VK204-25-VPT VFD ALPHA/NUM DISPLAY 20X4
VLM-532-42-SCA LASER MODULE 532NM 1-5MW DOT
VLM-532-46-LCA LASER MODULE 532NM 1-5MW LINE
VLM-635-14-SPA LASER MODULE 635NM 1-5MW DOT
VLM-635-15-LPA LASER MODULE 635NM 1-5MW DOT
VLM-650-00 LASER MODULE 650NM 1-5MW DOT
VLM-650-07-LPT LASER MODULE 650NM 1-5MW DOT
VLM-650-08-LPA LASER MODULE 650NM 1-5MW DOT
相关代理商/技术参数
VK204-25-422-E 功能描述:真空荧光显示器 - VFD 20x4Grn Txt Blk B/G No B/L Ext. Temp RoHS:否 制造商:Noritake 产品:Graphic Display Modules 字符计数 x 行: 模块大小 - 宽x高x厚:230 mm x 78 mm x 15 mm 观察区域 - 宽x高:166.25 mm x 41.45 mm 接口: 电压额定值:5 V 工作温度范围:- 40 C to + 85 C 封装:
VK204-25-422-V 功能描述:真空荧光显示器 - VFD 20x4 Grn Txt Blk B/G No B/L Ext. Volt RoHS:否 制造商:Noritake 产品:Graphic Display Modules 字符计数 x 行: 模块大小 - 宽x高x厚:230 mm x 78 mm x 15 mm 观察区域 - 宽x高:166.25 mm x 41.45 mm 接口: 电压额定值:5 V 工作温度范围:- 40 C to + 85 C 封装:
VK204-25-422-VPT 功能描述:真空荧光显示器 - VFD 20x4 Grn Txt Blk B/G No B/L Volt Reg RoHS:否 制造商:Noritake 产品:Graphic Display Modules 字符计数 x 行: 模块大小 - 宽x高x厚:230 mm x 78 mm x 15 mm 观察区域 - 宽x高:166.25 mm x 41.45 mm 接口: 电压额定值:5 V 工作温度范围:- 40 C to + 85 C 封装:
VK204-25-422-VPT-E 制造商:Matrix Orbital 功能描述:20x4 VFD,RS422,25key Wide Volt, Ext Temp
VK204-25-E 功能描述:真空荧光显示器 - VFD 20X4 DISPLAY RoHS:否 制造商:Noritake 产品:Graphic Display Modules 字符计数 x 行: 模块大小 - 宽x高x厚:230 mm x 78 mm x 15 mm 观察区域 - 宽x高:166.25 mm x 41.45 mm 接口: 电压额定值:5 V 工作温度范围:- 40 C to + 85 C 封装:
VK204-25-USB 功能描述:真空荧光显示器 - VFD Vacuum Florescent Blue/Green Text RoHS:否 制造商:Noritake 产品:Graphic Display Modules 字符计数 x 行: 模块大小 - 宽x高x厚:230 mm x 78 mm x 15 mm 观察区域 - 宽x高:166.25 mm x 41.45 mm 接口: 电压额定值:5 V 工作温度范围:- 40 C to + 85 C 封装:
VK204-25-USB-E 功能描述:真空荧光显示器 - VFD VFD 20x4 USB Ext Temp RoHS:否 制造商:Noritake 产品:Graphic Display Modules 字符计数 x 行: 模块大小 - 宽x高x厚:230 mm x 78 mm x 15 mm 观察区域 - 宽x高:166.25 mm x 41.45 mm 接口: 电压额定值:5 V 工作温度范围:- 40 C to + 85 C 封装:
VK204-25-V 功能描述:真空荧光显示器 - VFD Vacuum Florescent Blue/Green Text RoHS:否 制造商:Noritake 产品:Graphic Display Modules 字符计数 x 行: 模块大小 - 宽x高x厚:230 mm x 78 mm x 15 mm 观察区域 - 宽x高:166.25 mm x 41.45 mm 接口: 电压额定值:5 V 工作温度范围:- 40 C to + 85 C 封装: