User guide
midon design
1WSwitch User Guide Version 1.02 Page 7 of 28
4. Using 1WSwitch
Connect up a straight-through serial cable between 1WSwitch's J4 connector and
your PC. Open up HyperTerminal (or equivalent terminal emulator program) on
your PC. Configure it to 9600 BPS, No parity, 8 bits, 1 start bit and NO hardware
handshaking (very important!). Power up the 1WSwitch and configure the unit for
the devices that you have connected.
The start-up sequence will look like this:
1WSwitch v1.01 2008-10-12
MidonDesign.com 2245
Reset type: C2
Poll interval = 255 minutes
Serial # Display = On
Time Display = On
OnBoard ADC Display = On
Enable INP = On
Debug = On
SUN 00:00:00
>
We recommend that you next use the ERA command for first time use, to erase
the EEPROM. This will remove any previous information that may have been
stored in the EEPROM. Next use the INI command to register any 1-Wire
devices connected to the 1-Wire bus. If you get any error messages, it is most
likely a result of a bad connection to the devices. Verify them. Typically, a "OW
bus error" message indicates that a sensor has been installed in reverse, or that
there is a short on the bus.
Note: an ERA command is not
required every time that an INI command is
issued. It should only be required for first time use.
If you believe that 1WSwitch has not found all 1-Wire devices, re-issue the INI
command.
Now program the configuration by using the SET command. Just type SET and
the program will prompt you for the required settings; polling interval, display
settings, and finally the real time clock setting.
>set
Poll interval = 01
Serial # Display = on
Time Display = off
OnBoard ADC Display = on