Refer to the layout diagram for clarification of parts placement. All references to up, down, left, and right assume that you are looking at the PCB with the silkscreen TAPR logo on the right-hand side of the board. Unless noted otherwise, all components are mounted on the top of the PC board.
Push-On Shunts
After installing the shunts, you will run the various 1-Wire utilities on your PC to verify correct operation. If you have not already done so, you will need to download and extract them before proceeding.
Install push-on shunts at the following positions.

Ok Procedure 1W PU Ser
Continue with the test setup below.
|
|
Procedure |
| Connect a standard DB9 M-F serial cable from a COM port on your PC to the board. | |
When instructed, run the 1-Wire tstfind utility from the command line. For Linux,
the command is (note the leading dot!):./tstfind /dev/ttySnwhere n is the serial port you are using. For Windows, enter tstfind COMnwhere n is the COM port you are using. Use this command format for all the utilities in the following tests. |
If you are not going to use the X1W-1 with AAG's anemometer, skip the following steps and continue with installing the remaining shunts below.
Ok Procedure REMOVE the small jumper supplied by AAG from the anemometer. If you fail to do this, the 5V supply will be shorted out. Connect the AAG anemometer to the X1W-1 using a four-wire cable. Warning! the coiled cable shipped with anemometer is only two conductor. You must use a four conductor cable. Apply power and run tstfind as described above. Verify that the following devices are found:
Press CTRL-C to stop tstfind.
- Counter (SN ends in 1D)
- Temperature (SN ends in 10)
- A/D (SN ends in 20)
Remove power and disconnect the AAG anemometer.
If you failed to get these results, double-check connections and in particular the setting of P1.
Install push-on shunts at the remaining positions.

Ok Procedure Tmp G/E (only if installled) Htr Asp Bar
Verify 1-Wire Operations
Ok Procedure Apply power to the X1W-1. Run tstfind as described above. It should find and list the serial numbers for five devices. The last two digits of the serial number indicate the type of device. See the table below. Note that there are two PIOs. Press CTRL-C to stop tstfind.
Table of 1-Wire Devices that can be found.
Digits Device Type 10 Temperature (DS18S20) 26 A/D (DS2438) 05 PIO (DS2405) 1D Counter (DS2423)
If tstfind fails to list all five devices, check jumpers, solder connections, component orientation, etc. until you find the problem before proceeding.
In the following, invoke the utilities in the same manner as the tstfind utility above. For example, the following command lines would be used to run the first utility, temp:
Linux: ./temp /dev/ttyS1 Windows: temp COM2
Don't forget!
If you removed power after using tstfind, re-apply it now.
Temperature (DS18S20)
Preparation: none
While the program is running: no action required
|
|
Utility | Results |
|
|
temp | temp should repeatedly list the serial number and the temperature. |
A/D (DS2438)
This one may seem a bit strange. The gethumd utility will be used to test the DS2438 A/D converter. The converter is used in the barometric pressure sensor circuitry. However, there is no utility available that will simply check the DS2438. The DS2438 was used in the original Dallas Semiconductor 1-Wire Humidity and the is reason for gethumd's existence. It works quite well here to check the operation of the DS2438.
Preparation: none
While the program is running: no action required
|
|
Utility | Results |
|
|
gethumd | gethumd will list the humidity, temp, volt supply and volt output. The supply voltage should be around 5 volts. The humidity reading can be anything. The sensor voltage output can be anything between 1 and 7 volts at this point. |
Counter (DS2423)
Preparation:
Ok Procedure Remove power from the board, if you have not already done so. Connect a 9V battery to the battery connector. Connect the rain gauge to the board at J1. Locate the extra 100 ohm resistor to use in the procedure that follows. Apply power to the board.
While the program is running: occasionally tip the bucket in the rain gauge.
Likewise, use the 100 ohm resistor to periodically make the connection between the center pin and ground on the RCA
phono jack (EMP detector input). As a convenience, the corner mounting hole is ground for the jack.
|
|
Utility | Results |
|
|
counter | counter should list the serial number and both counter contents. Verify that the counters change when you tip the bucket and make the connection with the 100 ohm resistor. Note that only the last two columns will change. |
PIO (DS2405)
Preparation:
While the program is running: no action
|
|
Utility | Results |
| swtsngl | swtsngl will systematically exercise the PIO through all it's modes and then quit (you won't have to use CTRL-C on this utility). You should observe that the multimeter shows a change of states at least once. This happens very quickly, so be observant. You may wish to repeat running the utility several times to verify correct operation. |
|
|
Procedure |
Move the multimeter to the upper terminal of P11, 'Asp' and repeat the above test.
|
|
| Remove power from the board and disconnect all test leads. |
Congratulations! This completes the testing phase. Mounting your board in an enclosure is next.