■ FIGURE 16
■ FIGURE 17
line cable to connect the surface-mount box to the DS9097
now and you are ready to test.
I have included a couple of programs for testing the
anemometers. The first program called WindSpeed2
(shown in Figure 16) will allow you to test each of the
anemometers presented in this article.
The first thing you will need to do is set the com port that
you have connected to the DS9097 adapter. Use the Com Port
■ Hobby Boards:
■ Fascinating Electronics:
■ Kronos Robotics:
■ AAG Electronica:
■ Force Field:
■ Tower Hobbies:
option in the Settings menu. Next you will need to set the
unique ROM registration number for the DS2423 connected to
your anemometer. To do this, select the Search ROMs option
in the Settings menu. The program will display all the ROM
registration numbers for each Dallas device on the 1-Wire
network. If no devices are displayed, you are not properly
connected to the network. You will have to go back and check
your connections, as well as your com settings. Once you have
valid devices displayed, select the eight hex ROM numbers
associated with the DS2423 and hit the SetRom button.
The program will begin collecting data from the
DS2423 sensor and displaying the result via the gauge.
Be sure to set the appropriate calibration factor for the
particular anemometer you are using.
The WindSpeed program is unique in the fact that it
constantly monitors the wind speed sensor and updates the
various indicators by looking at the amount of time that has
passed as it averages the various long-term and short-term
readings. This allows instantaneous displays of readings
down to .1 MPH.
I have included a complete mini AAG weather station
that monitors and displays all three sensors from an AAG
instrument shown in Figure 17. The download for these
applications can be found on the Kronos Robotics website
Also available and included at the site is the source
code and Pocket PC versions of the software.
Zeus has a complete low level 1-Wire library using
the DS9097 adapter. There are also several high-level
libraries for interfacing to various sensors directly. I have
also included some simple console-based programs to
demonstrate this interface.
Next month, I will delve into the 1-Wire interface in more
detail. We will look at additional environmental sensors, as well.
I have created a forum devoted to building weather
stations and home automation. I will be posting additional
projects, as well as update notices at