20
7.5
Dallas One-Wire
5.1
Search for a
One-Wire Device
Dec
Hex
ASCII
254 200 2
FE C8 02
SOT
v5.1
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
Bytes [14]
Dallas One-Wire identification packet as shown below.
Table 14: 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
ASCII
254 200 1
FE C8 01
STX
Flags Send Bits Receive Bits Data
Flags Send Bits Receive Bits Data
Flags Send Bits Receive Bits Data
v5.1
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
Byte
Flags for transaction, see below.
Send Bits
Byte
Number of bytes to be sent to the device.
Receive Bits
Byte
Number of bytes expected to be received from the device.
Data
Byte(s)
Data to be transmitted LSB to MSB.
Table 15: Dallas One-Wire Flags
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 16: Dallas One-Wire Errors
Code
Error Description
0
Success
1
Unknown Command
2
No Devices Found
3
Fatal Search Error
相关PDF资料
VK202-25-USB-E VF CHARACTER DISPLAY 20X2 USB
VK202-25-VPT VFD ALPHA/NUM DISPLAY 20X2
VK204-25-422 VF CHARACTER DISPLAY 20X4 RS422
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
相关代理商/技术参数
VK-170613 制造商:Messing Gegenmutter 功能描述:
VK-171502 制造商:Messing Gegenmutter 功能描述:
VK1AS001-MZZ00-000 制造商:Carling Technologies 功能描述:V-SERIES ROCKER SWITCH - Bulk
VK2/AO-1B 制造商:IMO Precision Controls Ltd 功能描述:PROXIMITY SWITCH M18 AC
VK2/AO-1B 制造商:IMO Precision Controls Ltd 功能描述:PROXIMITY SWITCH M18 AC
VK-20 制造商:Wieland Electric Inc 功能描述:ELECTRICAL, DUCT/RACEWAY (TRUNKING) 制造商:Wieland Electric Inc 功能描述:ELECTRICAL, DUCT/RACEWAY (TRUNKING); Raceway / Duct Color:Grey; External Height:21mm; Raceway / Duct Material:Polyamide; Series:Flexible Slot; External Width:23mm; Accessory Type:Wiring Duct; Body Material:Polyamide; Color:Gray ;RoHS Compliant: NA
VK200 10/3B 制造商:AMPERX 功能描述:
VK20009-3S WBC1.5/A-3S4 制造商:F-CUBE 功能描述: