OWIN - BASIC Stamp Command Reference
Page 202
•
BASIC Stamp Programming Manual 2.0b
•
www.parallaxinc.com
Command
Value (in Hex)
Action
Read ROM
$33
Reads the 64-bit ID of the 1-wire device. This command
can only be used if there is a single 1-wire device on the
line.
Match ROM
$55
This command, followed by a 64-bit ID, allows the BASIC
Stamp to address a specific 1-wire device.
Skip ROM
$CC
Address a 1-wire device without its 64-bit ID. This
command can only be used if there is a single 1-wire
device on the line.
Search ROM
$F0
Reads the 64-bit IDs of all the 1-wire devices on the line. A
process of elimination is used to distinguish each unique
device.
The third part, the Memory Function Command, allows the BASIC Stamp
to address specific memory locations, or features, of the 1-wire device.
Refer to the 1-wire device's data sheet for a list of the available Memory
Function Commands.
Finally, the Transaction/Data section is used to read or write data to the
1-wire device. The OWIN command will read data at this point in the
transaction. A read is accomplished by generating a brief low-pulse and
sampling the line within 15
µ
s of the falling edge of the pulse. This is
called a "Read Slot." Figure 5.19 shows typical Read Slots performed by
the BASIC Stamp. See the OWOUT command for information on Write
Slots.
BASIC Stamp’s
Read “0” Slot
Apx. 72 s
µ
Recovery Period
Apx 8 s
µ
+5 (vdd)
0 (vss)
BASIC Stamp’s
Read “1” Slot
Apx. 72 s
µ
driven by BASIC Stamp
time when BASIC Stamp samples line (apx 1 - 10 s)
µ
Apx 4 s
µ
Apx 4 s
µ
driven by 1-wire device or pulled-up by 5 k resister
Ω
Table 5.47: 1-wire ROM Function
Commands.
Figure 5.19: Example Read Slot.
Содержание BASIC Stamp 1
Страница 1: ...BASIC Stamp Programming Manual Version 2 0c...
Страница 30: ...Introduction to the BASIC Stamps Page 28 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 34: ...Quick Start Guide Page 32 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 90: ...BUTTON BASIC Stamp Command Reference Page 88 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 118: ...END BASIC Stamp Command Reference Page 116 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 128: ...FREQOUT BASIC Stamp Command Reference Page 126 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 196: ...NAP BASIC Stamp Command Reference Page 194 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 206: ...OWIN BASIC Stamp Command Reference Page 204 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 214: ...OWOUT BASIC Stamp Command Reference Page 212 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 216: ...PAUSE BASIC Stamp Command Reference Page 214 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 226: ...POLLMODE BASIC Stamp Command Reference Page 224 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 232: ...POLLOUT BASIC Stamp Command Reference Page 230 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 236: ...POLLRUN BASIC Stamp Command Reference Page 234 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 240: ...POLLWAIT BASIC Stamp Command Reference Page 238 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 262: ...RCTIME BASIC Stamp Command Reference Page 260 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 274: ...RUN BASIC Stamp Command Reference Page 272 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 310: ...SEROUT BASIC Stamp Command Reference Page 308 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 324: ...STOP BASIC Stamp Command Reference Page 322 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 340: ...ASCII Chart Page 338 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 342: ...Reserved Words Page 340 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 346: ...Conversion Formatters Page 344 BASIC Stamp Programming Manual 2 0b www parallaxinc com...