OWOUT - BASIC Stamp Command Reference
Page 210
•
BASIC Stamp Programming Manual 2.0b
•
www.parallaxinc.com
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 OWOUT command will write data at this point in the
transaction. A write is accomplished by generating a low-pulse of a
varying width to indicate a 0 or a 1. This is called a "Write Slot" and must
be at least 60
µ
s wide. Figure 5.23 shows typical Write Slots performed by
the BASIC Stamp. See the OWIN command for information on Read Slots.
The Demo Program uses a Dallas Semiconductor DS1820 Digital
Thermometer device connected as follows. Note that the 4.7 k
Ω
pull-up
resister is required for proper operation.
Figure 5.24: DS1820 Circuit.
NOTE: The 4.7 k
Ω
resister is
required for proper operation.
Vss
Vdd
P0
DS1820
(PR35)
4.7 k
Ω
DQ
1 2 3
Figure 5.23: Example Write Slots.
BASIC Stamp’s
Write “0” Slot
Apx. 72 s
µ
Recovery Period
Apx 8 s
µ
+5 (vdd)
0 (vss)
BASIC Stamp’s
Write “1” Slot
Apx. 72 s
µ
Apx 8 s
µ
driven by BASIC Stamp
time when 1-wire device samples line (apx 15 - 45 s)
µ
Содержание 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...