DLP-2232PB DLP Design Inc, DLP-2232PB Datasheet - Page 10
![Interface Modules & Development Tools 50P-DIP USB-FIFO Module](/photos/15/89/158944/dlp2232pb_sml.jpg)
DLP-2232PB
Manufacturer Part Number
DLP-2232PB
Description
Interface Modules & Development Tools 50P-DIP USB-FIFO Module
Manufacturer
DLP Design Inc
Datasheet
1.DLP-2232PB.pdf
(15 pages)
Specifications of DLP-2232PB
Interface Type
USB
Data Bus Width
8 bit
Operating Supply Voltage
5 V
Product
Interface Modules
For Use With/related Products
16F877A
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
0xAC – DS18S20 Start Convert
Parameters:
Function:
Example:
0xAD – DS18S20 Read Data
Parameters:
Returns:
Function:
Example:
V1.1
Returns:
Port Pin – Selects the microcontroller port pin on the 16F877A to be used for
communication with the DS18S20 temperature sensor.
1 Byte: A single byte indicating the result of trying to reset the temperature
sensor.
Sensor status definitions:
This function will select a port pin for communicating with a DS18S20
temperature sensor and start a temperature conversion. In addition to power and
ground connections, a 1.5K to 4.7K pull-up resistor must be connected between
VCC and the data pin of the DS18S20 for proper communication. The
conversion time for the DS18S20 is specified for a maximum of 750 milliseconds.
0x2, 0xAC, 0x30, 0x9E – Starts a temperature conversion on 16F877A port pin
B0.
Port Pin – Selects the microcontroller port pin on the 16F877A to be used for
communication with the DS18S20 temperature sensor.
9 Bytes: The contents of the scratchpad memory in the DS18S20.
This function will select a port pin for communicating with a DS18S20
temperature sensor and request the current contents of the DS18S20’s
scratchpad memory. A conversion (command 0xAC) must have been previously
requested for the data to be current. Additionally, host software must wait at
least 750 milliseconds for the conversion to complete before reading the 9 bytes
of data. In addition to power and ground, a 1.5K to 4.7K pull-up resistor must be
connected between VCC and the data pin of the DS18S20 for proper
communications. (For an example of how to calculate .1°C resolution
temperature data from the 9 bytes of return data, refer to the example Windows
source code.)
0x2, 0xAD, 0x30, 0x9F – Requests 9 byte temperature data from 16F877A port
pin B0.
Page 10 of
99: Sensor ready
8: Short circuit detected
2: No sensor detected
10
July 2004