Your browser does not support script
NAVIGATION
Home Search Disclaimer Login/Register
Updated : 16/10/2016

One-Wire Setup

To use 1-wire devices, you need a physical adaptor to connect your computer to the 1-wire network. You can use a USB to 1-wire adaptor (DS9490R), or a serial to 1-wire adaptor (DS9097U): You also need to install the (free) TMEX 1-wire device drivers from Maxim.

One-Wire Setup procedure for DS9490R Adaptor

If you use a DS9490 physical adaptor to connect your computer to the 1-wire network you will need to install the (free) TMEX 1-wire device drivers from Maxim.

Download the latest one-wire driver package from: Maxim

As with all USB devices, it's best to install the drivers before you plug in the hardware. The package changes from time to time so I haven't documented it in detail. If you are offered the choice, you donít need the 1-Wire API for .NET, or the OWCOM API. If the installer asks you to plug in the hardware, do so, and follow the instructions given. If not, plug in your hardware afterwards and allow Windows to configure the new device.

One-Wire Setup procedure for DS9097U Adaptor

The DS9097U physical adaptor is a serial port adaptor. If you have a serial port on you machine then all you need to do is plug it in and allow Windows to configure the new device. Then install the (free) TMEX 1-wire device drivers from Maxim.

Download the latest one-wire driver package from: Maxim

One-Wire Setup procedure for AAG Interface

The AAG interface provides the optical isolation to prevent transient spikes being returned to the computer. This interface uses a DS9097 adaptor and requires the USB to UART drivers from Silicon Labs.

Schemmatic

Installing the required drivers

  1. Change the User Account Settings to None (Control Panel > Action Centre>Change User Account Settings > Move slider to Never Notify).
  2. Restart the computer to enable the new account settings.
  3. Do not plug the interface into the USB just yet.
  4. Run file CP210X_VCP_WIN2k_XP_S2k3.exe ( http://www.silabs.com/support/pages/support.aspx?ProductFamily=USB+to+UART ). This will first copy the files to the C: drive in a folder SiLabs\MCU.
  5. Once the files have been copied you will have the opportunity to launch the installer. Do so.
  6. Get ready to plug in the interface. When the interface is plugged in the new hardware is detected and a COM port created (I know its strange that the interface is plugged into a USB slot but the communication is via COM but just go with the flow for now).
  7. Plug the interface in. Once the installation is completed you will briefly see a message indicated the number of the COM port created. If you have no other COM ports then the new port will generally be COM3. If you miss this do not worry you can check the COM port in the next step.
  8. Checking which COM port was assigned to SiLab. Right click on My Computer and select manage. Go to Device Manager and then Ports (COM&LPT). There, you should see a port 'Silicon Labs CP210X USB to UART Bridge' followed by the port number eg (COM3).
  9. Now we need to install the one-wire drivers. Choose the correct drivers e.g.
    1. install_1_wire_drivers_x86_v403beta.msi is for 32 bit systems, or
    2. install_1_wire_drivers_x64_v403beta.msi is for 64 bit systems

    Download the latest one-wire driver package from: Maxim

    Warning: Do not install the COM object if you do not have the Microsoft Java Virtual Machine (now unsupported by Microsoft) installed on your system. To avoid installing the COM object, de-select it when prompted during the installation process.

  10. That's the installation complete except do not forget to go back and re-set the User Account Settings back to the level you normally use.
All well and good so far, we have all the necessary drivers installed and the one-wire network is connected but how do we know it is working? Well the best way is to install the OneWireViewer, you are going to need it anyway, unless you are very lucky.

Installing OneWireViewer.

Right Click on Each File Link and Save Locally

  1. OneWireViewer.jar
  2. OneWireAPI.jar

Get Java Runtime

  1. From this page: http://java.sun.com/javase/downloads/index.jsp Click the 'Download' button under the heading "Java Runtime Environment (JRE) 6"
  2. Accept license at the top of the page
  3. Select 'Windows Offline Installation, Multi-language (jre-6-windows-i586-p.exe 12.56 MB)' and download the install file
You now have all of the files needed for installation of the OneWireViewer on a PC without Internet connection. The files can be saved to a CD.

Installation

  1. Create the folder C:\owv
  2. Run the Java™ installation: jre-6-windows-i586-p.exe
  3. Copy *.jar files to the folder c:\owv

Two Methods for Running the OneWireViewer

   Creating a Shortcut to Run the OneWireViewer
  1. Create a shortcut on your Desktop
  2. C:\Windows\System32\java.exe -classpath C:\OWV\java -cp "OneWireViewer.jar;OneWireAPI.jar" OneWireViewer
  3. In the command line, paste the following:java -classpath C:\owv\java -cp "OneWireViewer.jar;OneWireAPI.jar" OneWireViewer
  4. Type in the name: OneWireViewer
  5. Then click the Finish button
  6. To run the OneWireViewer, double click the shortcut named OneWireViewer
   Running from the Command Line
  1. Type the following in the owv directory:
    c:\owv>java -classpath OneWireViewer.jar;OneWireAPI.jar;. OneWireViewer

From here on it is very simple:-

  • Run the OneWireViewer.
  • For the AAG interface select the {DS909U-DS9480} and select the appropriate COM port identified during the driver installation above.
  • If everything is running OK all the devices on your OneWire Network should be identified in the left-hand panel.
  • Select a device and use the right hand panel tabs to see the output.
  • Guest
    1141 Page Hits