DLP-245PA DLP Design Inc, DLP-245PA Datasheet - Page 9
![Interface Modules & Development Tools USB/Micro Dev Board](/photos/26/87/268784/dlp245pa_sml.jpg)
DLP-245PA
Manufacturer Part Number
DLP-245PA
Description
Interface Modules & Development Tools USB/Micro Dev Board
Manufacturer
DLP Design Inc
Datasheet
1.DLP-245PA.pdf
(14 pages)
Specifications of DLP-245PA
Interface Type
USB
Data Bus Width
8 bit
Operating Supply Voltage
5 V
Product
Interface Modules
For Use With/related Products
16F872
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
0xAB – EEPROM Write
Parameters:
Returns:
Function:
Example:
0xAC – DS18S20 Start Convert
Parameters:
Function:
Example:
Returns:
Address – Selects the zero-based address of the location in the 16F872’s
internal EEPROM for writing.
Data – Data to be written to the EEPROM.
Undefined.
This function will write the selected location in the 16F872’s internal EEPROM.
0x3, 0xAA, 0x2, 0xFE, 0x55 – Writes a value of 0xFE to EEPROM Address 2.
Port Pin – Selects the microcontroller port pin on the 16F872 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 16F872 port pin B0.
9
99: Sensor ready
8: Short circuit detected
2: No sensor detected