2-Wire Thermal Device Evaluation Kit
Kit Instructions and Operating Procedures
Features:
Full-Featured Evaluation Kit for Dallas Semiconductor 2-wire thermal sensors. The demonstration software 2-Wire Thermal Kit.exe works through the DS9123O USB communication adapter. Sockets for thermal sensors are not provided. Compatible with all Windows98, Windows2000, WindowsXP, and newer Operating Systems. Complete read/write access to all registers within all Dallas Semiconductor 2-wire thermal devices. Measures temperatures from the full range of the devices -55C to +125C. Fahrenheit equivalent is 67F to +257F. Celsius and Fahrenheit temperature reading and charting is provided for all supported devices.
Kit Contents:
1. 2. 3. Demo Software on the CDROM containing the 2-Wire Thermal Kit Setup.exe Installer. PD010105, PD022305, or PD022405 PIC based USB to 2-wire adapter with breakout board and cable. Demo Kit Documentation Provided on CDROM for each software program.
To use the kit, you will also need:
1. An available USB Port to connect the DS9123O communication adapter. 2. A +2.7 to +5 volt regulated power supply to power the thermal sensor
Hardware:
Connect the GND, SDA, and SDL signals from the breakout board to the appropriate pins on the sample unit. The thermal sensor must also be powered by an external supply to operate.
COM Port Selections:
The user can change the USB/serial port selection at any time by changing the communication port type/number on the Select Preferences form (see Figure 1). The Select Preferences form resides under the Preferences menu on the main demonstration screen. Figure 1. COM Port Preferences
Revision 2.1 3/7/2005
Dallas Semiconductor
PDF created with pdfFactory trial version
Tech Support 972-371-4448 Page 1of 13 www.pdffactory.com
Web site:www.maxim-ic.com
Using the Evaluation Kit
Once the interface is connected to the USB port, you may then turn on the +3v to +5v regulated power supply to power the board. Next, run the 2-Wire Thermal Kit.exe executable to view the demo selection screen shown in Figure 2. Figure 2. 2-Wire Thermal Kit Select Screen
Click on the radio button for the device type you want to demonstrate and then click on the OK button. The splash screen in Figure 3 will then appear if the DS9123O module is connected to the USB port. The evaluation board does not need to be present to run the software. However, upon loading the software some device registers are initialized; therefore, it is recommended that the evaluation board be present and powered upon software startup. Power for the DS9123O module is obtained via the USB port. If the DS9123O module is not present, the software will not load. If problems occur during the program start- up, check the DS9123O to make sure it is properly connected. Remove and reconnect if necessary. Figure 3. Splash Screen
Revision 2.1 3/7/2005
Dallas Semiconductor
PDF created with pdfFactory trial version
Tech Support 972-371-4448 Page 2of 13 www.pdffactory.com
Web site:www.maxim-ic.com
The Demonstration Tab
Upon successful loading of the software, the Demonstration screen as shown in Figure 4 will appear. The screen is a tabbed user interface. All functions of the device may be accessed through this screen. Alternate device demonstrations may be selected using the Sensor menu on the main form shown in Figure 4. Figure 4. The Demonstration Screen
On initialization the software selects the first 2-wire address which returns an Acknowledge. The 2-wire address may be changed at any time by selecting the Address menu. If the 2-wire address selected in the Address menu does not match the address of the sample unit, the device will no longer respond to commands sent to it. The Demonstration Screen is divided into three main areas. The Thermometer frame in the upper left portion simply displays the current contents of the temperature register in degrees C, Degrees F and hexadecimal. Figure 5. Temperature Display
Revision 2.1 3/7/2005
Dallas Semiconductor
PDF created with pdfFactory trial version
Tech Support 972-371-4448 Page 3of 13 www.pdffactory.com
Web site:www.maxim-ic.com
Figure 6. Conversion Control
Below the temperature display are located the controls that configure the conversion mode. Select one of the Resolution options to Select 9, 10, 11 or 12 bit conversion results. Select one of the Conversion mode options to configure the device for either continuous or single conversions. When the Start Conversions command is selected the device will perform a single temperature conversion if 1-Shot is selected. If Continuous is selected the device will start continuously converting temperature and the caption of the command will change to Stop Conversions, indicating that it will now terminate continuous temperature conversions. The DS75/1775 and DS1631A are designed to power up converting continuously, and the controls will indicate this. The DS1621 and DS1629 can only be configured for 9 bit resolution, so the selections controls for 10, 11, and 12-bit resolution are disabled. The extended resolution conversion mode which reads a counter and slope register is available on the DS1621 and DS1629. This conversion mode is not supported on the Demonstration screen, but is supported in the Registers screen as will be discussed in a later section.
Temperature Sensor Alarms
The Thermostat display is located on the right hand side of the demonstration screen and is shown in Figure 7. The Temperature High and Temperature low Flags are set and monitored in the Configuration Register. By writing to the TH and TL Registers, the user may set the High and Low thermostat thresholds. The user may either enter a new value in the text box or use the up/down arrows to increment or decrement the values. The values will change to the Windows background color when changed to indicate they do not match the value contained in the device registers. When the Set button is selected, the values in the text boxes will be written to the TH and TL device registers and the values in the box will change back to a black text color as visual verification that the registers have been written. The values in the TH Register and TL register boxes may be entered and displayed in either Centigrade or Fahrenheit units as selected by the C or F option buttons to the right of the text boxes. Selecting the appropriate Tout Polarity option configures the polarity of the device Tout output. You can toggle the device pin by changing the selected polarity. The status of the thermal alarm flag bits in the Configuration register is shown at the bottom portion of the screen. These flags are set whenever a temperature conversion result is higher than the TH Register value or lower than the TL Register value and will remain set until cleared by writing a zero to these bits. Selecting the Clear Flags button causes a zero to be written to both the THF and TLF bits in the Configuration Register.
Revision 2.1 3/7/2005
Dallas Semiconductor
Tech Support 972-371-4448
Web site:www.maxim-ic.com
Page 4of 13 PDF created with pdfFactory trial version www.pdffactory.com
Figure 7. Thermostat Display
Figure 8. DS75 / DS1775 Thermostat Display
The DS75 and DS1775 thermal alarms operate differently from those of the DS1621, DS1721, DS1631, DS1631A and DS1731. Therefore when the DS75/DS1775 demonstration is selected, the Thermostat Display in Figure 8 will be shown. The Thermal Alarm Flags are gone and in their place are controls allowing the user to configure the Thermostat to operate in comparator or interrupt mode and to select the number of temperature faults which are allowed to occur before the T O.S. pin goes active. The DS1624 does not have a thermostatic function, so when its demonstration is selected, the EEPROM display in Figure 9 will be shown. In addition the Conversion Resolution selection will be disabled because the DS1624 always converts at a fixed 13-bit resolution. The EEPROM display allows the user to Read or Write a single page of EEPROM cells. Each of 32 memory pages, numbered 0 to 31, are selected by entering the page number in the Page text box or using the up/down control to increment or decrement the page number. Selecting the Read command will read the eight bytes in the selected page. The contents of the Data (hex) boxes may then be changed and the Write command selected to alter the contents of the selected memory page. Single byte EEPROM memory writes are not supported on the Demonstration screen, but may be performed on the Registers Tab as discussed in a later section of this document. There is an additional command titled Read 256 Byte Array. When selected the entire 256-Byte memory will be read and displayed in the form shown in Figure 10.
Revision 2.1 3/7/2005 Dallas Semiconductor Tech Support 972-371-4448 Page 5of 13 www.pdffactory.com Web site:www.maxim-ic.com
PDF created with pdfFactory trial version
Figure 9. DS1624 EEPROM Display
Once the 256 byte array is displayed, the text may be selected, then cut and pasted into another document to save the results. Figure 10. DS1624 256-Byte EEPROM Display
Revision 2.1 3/7/2005
Dallas Semiconductor
PDF created with pdfFactory trial version
Tech Support 972-371-4448 Page 6of 13 www.pdffactory.com
Web site:www.maxim-ic.com
The DS1629 differs from the other 2- wire sensor ICs in that it has a Real Time Clock function and the Alarm output can be configured to respond to a Thermal alarm, a clock alarm, both or neither. The Alarm flags in the status register are also read only and are cleared by reading a Clock or Alarm Register in the case of the Clock Alarm Flag or when the temperature measured falls below the TL register limit in the case of the Thermal Alarm Flag. Therefore, the Clear Flags Command is gone and the Alarm screen shows both Thermostat and RTC functions and adds a selection button to disable the ALRM output pin from responding. The DS1629 Alarm screens are shown in Figures 11 and 12. Note the selection button in the upper left used to toggle between the Thermostat and Clock/Oscillator control interface. Command buttons are also provided on the RTC Alarms screen to write the Clock and Alarm registers, select the Clock and Alarm format, 12 hour or 24 hour, and to start and stop the clock. The OSC output is also configured from this screen. Note that the Alarm register can only be set up to 7 days ahead of the current RTC time/date. If a date further in the future is requested, it will be adjusted to be within 7 days of the current time and date.
Figure 11. DS1629 Thermal Alarms
Revision 2.1 3/7/2005
Dallas Semiconductor
PDF created with pdfFactory trial version
Tech Support 972-371-4448 Page 7of 13 www.pdffactory.com
Web site:www.maxim-ic.com
Figure 12. DS1629 RTC Alarms
The Access RTC / SRAM command brings up a satellite form which displays the RTC status and allows Read and Write access the DS1629 32-byte SRAM memory. This form is shown in Figure 13 and 14. The Status indicator at the bottom of Figure 14 will change from Busy to Ready when a 32-byte Read or Write is completed. Figure 13. RTC Status Display
Revision 2.1 3/7/2005
Dallas Semiconductor
PDF created with pdfFactory trial version
Tech Support 972-371-4448 Page 8of 13 www.pdffactory.com
Web site:www.maxim-ic.com
Figure 14. SRAM Access
The Registers Tab
If the Registers tab is selected, the display will change to show the various device registers. There is a sub tab for each device register. For each device register, command buttons are available to read the register and also to write to it if applicable. The 2-Wire Communication terminal window on the right side of the form shows the 2-wire communication sequence being transmitted and received to read from or write to the selected register. There is a Clear command below the terminal window to erase its contents. There are also three global command buttons at the bottom of the form which are not related to a specific device register, but their 2- wire communication sequence will still be printed in the terminal window when the command buttons are activated. The left command button sends the device command to initiate temperature conversions. The middle button sends the device to terminate temperature conversions. Sending this command has no effect unless a device is operating in continuous conversion mode. Figure 15. The Registers Tab
Revision 2.1 3/7/2005
Dallas Semiconductor
PDF created with pdfFactory trial version
Tech Support 972-371-4448 Page 9of 13 www.pdffactory.com
Web site:www.maxim-ic.com
Temperature Register Tab
The Temperature Register Tab displays the contents of the temperature register in C, F and in hexadecimal. The Read command updates reads the device Temperature register and updates the display. The TH and TL Register Tabs The TH and TL Register tabs provide read and write access to the thermostat set point registers. The register contents are displayed as with the Temperature Register tab in C, F and in hexadecimal. The Read command updates reads the device register and updates the display. Figure 16. TH Register Tab
The Write command writes the value of the text box that contains the cursor to the device. This allows the user to enter the value to be written in C, F or hexadecimal according to the users preference. An error message will be displayed if an invalid value is entered. The TH Register Tab is shown in Figure 16. The TL Register Tab is identical in appearance and functionality.
Configuration Register Tab
The Configuration Register tab accesses the Configuration / Status Register of the 2-wire thermal sensor. Entering a zero or one in any of the text boxes corresponding to a configuration or write accessible status bit will change the register contents when the Write command is selected. Entering any value other than 1 will result in writing a 0 to that bit location. Figure 17. Configuration Register Tab
Figure 17 shows the Configuration Register Display for the DS1631. Refer to the device data sheets for detailed descriptions of the Configuration / Status register of the DS1631 and other device types.
Revision 2.1 3/7/2005
Dallas Semiconductor
PDF created with pdfFactory trial version
Tech Support 972-371-4448 Page 10of 13 www.pdffactory.com
Web site:www.maxim-ic.com
The DS162x Extended Resolution Tab
When running the DS1621 or DS1629 demonstration, an additional register tab will appear as shown in Figure 18. This tab demonstrates the extended resolution temperature mode of these two device types, which support a direct readout resolution from the device temperature register of 9-bit only.
Figure 18. Extended Resolution
As can be seen in the 2-Wire Communication Terminal window, three registers must be read to retrieve the extended resolution temperature result. Commands A8h and A9h read the contents of internal Count Remain and Count per degree C registers. The contents of these two registers are not valid while a temperature conversion is in progress because the Count Remain and Count per degree C registers are not double buffered. Therefore, prior to selecting the Extended Resolution Tab, 1SHOT mode operation should be configured. This may be accomplished either by selecting the 1-Shot option button on the Demonstration tab or by writing the Configuration Register to set the 1SHOT bit in the Config Register Tab. Successive extended resolution temperatures may then be read by alternately selecting the Start Convert T and Read command buttons. When running the DS1629 Demonstration, two additional displays are available for the Clock and Alarm registers as shown in Figure 19. The Clock Register display is on the same Tab as the Extended Resolution display and the Alarm register display is on the same tab as the Temperature Register Display. A command button for toggling between the two displays becomes visible when the DS1629 Demonstration is selected. The Clock and alarm register Displays allow the registers to be read. Byte data can be entered into the data boxes and will be written to the device when the Write Clock Register or Write Alarm Register command is selected. Caution: The software allows any byte data to be written to the device Clock or Alarm registers. This can result in unpredictable operation of the Real Time Clock. Please read the DS1629 data sheet carefully to determine the effect of writing a particular data byte to a location in the Clock or Alarm register.
Revision 2.1 3/7/2005
Dallas Semiconductor
Tech Support 972-371-4448
Web site:www.maxim-ic.com
Page 11of 13 PDF created with pdfFactory trial version www.pdffactory.com
Figure 19. Clock Register Display
The Data Log Tab
The Third Main Tab is the Data Log tab that brings up two additional screens. The Temperature sub tab brings up a temperature-logging screen, which shows a graphical plot of temperature over time. The horizontal scale increases from 10 data points to 100 data points, after which older data points will be dropped from the display as new ones are added, resulting in a scrolling temperature history of the last one hundred measurements. The Log to File sub tab displays a text data log, which is also written to a PC file at the path name specified in the form. The temperature is normally logged at the devices configured conversion resolution. An exception to this occurs if running the DS1621 or DS1629 demo and the DS162x Extended Resolution Registers sub tab is selected when the Data Log Tab is clicked. In this case the extended Resolution temperature result will be logged as shown in Figure 22. A command button is available to start and stop the logging process and a drop down selection is available when logging is stopped to allow the time period between data points to be changed. These controls apply to both the Temperature and Log to File screens. The Clear Graph command button clears all data from the temperature plot only. Figure 20. Temperature Plot
Revision 2.1 3/7/2005
Dallas Semiconductor
PDF created with pdfFactory trial version
Tech Support 972-371-4448 Page 12of 13 www.pdffactory.com
Web site:www.maxim-ic.com
Figure 21. Log to File
Figure 22. Extended Resolution Log to File
Revision 2.1 3/7/2005
Dallas Semiconductor
PDF created with pdfFactory trial version
Tech Support 972-371-4448 Page 13of 13 www.pdffactory.com
Web site:www.maxim-ic.com