On May 26th 2011, new rules governing the use of cookies by websites came into force in Europe. This means that you are to be given the chance to actively agree (opt-in) to accept cookies on your device.

Some cookies are necessary for this site to work properly and will be stored temporarily on your computer and disappear when you close your browser. Cookies are also used so that you will have a better experience as a visitor to this website. Not allowing cookies may prevent you from using certain parts of this website.

Therefore we would like to place cookies on your device in order for this website to function in the way that we intended.

I can't enable my 1-Wire adapter. What's wrong?

If you're running the 1-Wire server on Linux, the most common issue is the lack of privileges. For most 1-Wire adapters, the server needs root privileges. If this is not the case, the server can't access the 1-Wire adapter when it's enabled.

Example running the server as root:

$ sudo /opt/owsas/bin/owsas -v

If your adapter is a DS9490 or other USB-based device, make sure it's inserted properly into the USB receptacle. A bad contact often leads to a disabled adapter. Also, on Windows, check the USB drivers using the Zadig tool or Device Manager. We recommend to install libusbK for these adapters, altough WinUSB may work properly as well.


I press "Explore" in the Control Panel, open and edit a configuration file, but then I can't save the changes. What's wrong?

This may happen if you installed the software on Windows Vista or later, and checked option "Install for everyone using this computer" during installation. The software was installed in "Program Files" (32-bit Windows) or "Program Files (x64)" (64-bit Windows) which implies only a user with Administrator rights may change files. Please have a look at the folder location in the explorer that pops up after you press the "Explore" button.

If you're logged in as a user with limited access rights, you won't be able to overwrite files located beneath the program files folder. Your editor may say "Access denied" or switch to "save as...".

Solutions:

  • Open your editor as Administrator. Open and edit the configuration file, and save the changes.
  • Log in as a user with administrative rights.
  • Install the software with option "Install just for me" checked. The software will be installed under your user folder.
  • Install the software in a folder outside the program files folder, for example c:\owsas\ .
  • Move all configuration files outside the program files folder, for example in a folder like c:\owsas\ and specify the path in the command line of the 1-Wire programs.

I want to hook up a DS18B20 to the GPIO header of my RPi and read the temperature. Can I do this with the 1-Wire server?

Yes, you can, starting with v1.1.0 of the software.

First, connect the DS18B20 to the GPIO pins. Don't forget the 4.7K pull-up resistor between Vcc and 1-Wire DATA. We're not going to repeat schematic and explanation here, if you search the Internet for "raspberry ds18b20", plenty of good information will show up.

The 1-Wire server relies on W1 to access the temperature sensor. Driver w1-gpio must be loaded. Again, plenty of good information is available on the Internet.

The 1-Wire server must be told to use W1. You can do this in the GUI (settings page -> W1 Subsystem -> check "Enabled" -> click "SET"). A 1-Wire adapter will show up in the 1-Wire topology page. Next, enumerate the adapter after which the temperature sensor appears. Now you can click "FORCED SENSE" to sample the temperature.

RPi2 GPIO DS18B20 1-Wire Server GUI