
This application note has been written to aid customers who would like to build their own circuit to facilitate communications between a PC and 2-wire devices, and to show them how to generate their own custom software specific to their application. In the past, this has meant living with both the graphical user interface (GUI) Dallas Semiconductor has written for the product they are using, and the DS9123 serial port adapter, which is a slow method of communicating with 2-wire devices. However, one trend that seems to be becoming more prevalent in the last couple of years is customers are using the evaluation kits to communicate with the parts during prototyping stages of the design. Generally, when customers provide feedback related to Dallas Semiconductor's evaluation kits, they indicate they are using them as a way to evaluate Dallas Semiconductor IC's without having to exert their efforts writing software to exercise the parts during the process. The schematic, firmware, and software can be downloaded from Dallas Semiconductor's FTP site. The reference design includes a complete schematic, firmware, and a low level C++ serial port code to jump-start any application that would like to incorporate 2-wire devices. In addition to providing general insight on designing hardware, firmware and software to enable PCs to communicate with ICs, a complete PIC microprocessor reference design is presented to show how PC applications can be built around 2-wire devices. This application note discusses how to build an inexpensive microprocessor circuit to allow a PC to communicate with a 2-wire device using its serial port. It is presented as a reference for customers wanting to build their own interface and is not presented as a finished product. The application note contains block diagrams and links to the Dallas FTP site where software and firmware examples may be downloaded to implement the application note. This allows manipulation of the 2-wire device for evaluation (during prototype) or for use during some testing procedures. An inexpensive processor can be used as an interface between a PC's RS-232 port and any Maxim or Dallas 2-wire device.
