Here DS1923 is used as an example to demonstrate how to use the OneWireViewer to change the password. OneWireViewer automatically enables different tabs depending on the selected 1-Wire device. Compared to the DS1922, the DS1923 has an extra Real-Time Humidity tab; otherwise, the tabs are the same.
When a new device is connected to PC, all the tabs can be selected. You may choose to go to the Mission tab to set up new tasks, or go to the Memory tab to view the status of memory.
Please click the Password tab, where 4 rows under "Info" section and 3 buttons under "Config" section are shown. Below are some explanations on their meanings:
- Info:
- Has Read-Only Password: True if the device has been set with a read-only password. For brand-new devices, this field will always be False.
- Has Full-Access Password: True if the device has been set with a full-access password. For brand-new devices, this field will always be False.
- Is Software Read-Only Password Set: True if the user has provided read-only password in OneWireViewer.
- Is Software Full-Access Password Set: True if the user has provided full-access password in OneWireView.
- Config:
- Set Software Passwords: This button sets the password for using the OneWireViewer software to set up devices.
- Set Device Paswords: This button can be used to configure passwords for DS1923 devices if they are brand new. If passwords have already been set to devices, you need to enter the existing password using Set Software Passwords button first.
- Enable/Disable Passwords on Devices: self-explanatory.
-
To set up the password using the Password tab, please be aware that both the Read-Only Password and the Full-Access Password are 8 bytes. Each byte must be seperated by space. Note that once the passwords are set, make sure to switch to the Memory tab, choose Scrachpad with CRC and Password, and clear the password in Page 0 (See the two screen captures below). Because reading registers doesn't require passwords, and setting the passwords must go through the register to the device, not clearing the register will leak your password!
Once the password has been set, OneWireViewer now already knows the device password, and the device can thus be operated with the software. But since the software does not save the password, once OneWireViewer retarts, neither Memory nor Mission tabs can be visited without knowing the password (See the two screen captures below). When the password is not known, the only information that can be read are serial number and register. All other functions cannot be used. Please make sure that the password is always remembered correctly. The password of the device cannot be reset externally by any means. This means, once the password is forgotten, the device can no longer be used.