News and Updates

Main About the Book Downloads News & Updates User Photos New Projects Support Links Discussion Forum


New Sample Code Posted
Jan 24, 2010

Sample code for the new Hobby-Boards UV Index Meter and Anemometer has been posted on the downloads page. This code provides a basic example of using the new devices. Both examples contain a Java file to add to your SimpleWeather project and an example of how to modify your SimpleWeather.java file to use the new methods. These are pre-release files and I've had little time to test the code, so beware! Updates will be posted periodically.

The UV Index code provides methods for reading the UV Index and temperature. Future versions will contain the methods to set and read the various settings.

The code for the ADS Anemometer provides methods for reading wind speed and direction. Since it uses the same 1-Wire interface board, the code can be adapted to the Vortex Anemometer by changing the wind speed scale factor and wind direction lookup table.

UV Meter

Hobby-Boards Announces 2 New 1-Wire Weather Stations
Apr 4, 2009

Hobby-Boards announced 2 new 1-Wire Anemometers/Wind Vanes this week. One is designed to for the professional weather enthusiast, while the second is more economically priced for the experimenter.

The professional model is based on the inspeed Vortex™ anemometer and E-Vane™ wind direction sensor. Hobby-Boards has combined this devices with a custom electronics package to provide a 1-Wire interface. Wind speed measurement range is 3 to over 125 MPH, Wind direction has greater than 1 degree resolution. The wind vane unit hall-effect devices to eliminate reed switches, providing long life. Power will be required on the 1-Wire bus. Pricing is expected to be around $225 US.

The experimenter version is priced under $100 US. It features sealed electronics, RJ45 connectors or screw terminal connections, and wind direction resolution of 22.5 degrees.

inspeed

New AAG Weather Instrument Now Available
Mar 13, 2009

Times change, and technology moves forward. Last week, AAG announced a new version of their Weather Instrument. The new WS603B has several improved features that provide better accuracy and reliability. Some of the new features include:

  • New waterproof enclosure
  • Built-in Light Sensor
  • Hall Effect wind direction and wind speed eliminates Reed Switches
  • Built-in Microcontroller Processes Light Level, Wind Speed, and Direction
  • Internal Red and Blue LEDS Illuminate the Body
  • Upgraded to use an RJ-45 Connector
  • Attached Cable

What does this mean for you?
The WS603B is now shipping from AAG. Current price is $98 plus shipping.
The existing 1-Wire software presented in this book is NOT compatible with the new WS603B. Updated software is in work and will be posted to the downloads page in the future. If you are just getting started, you can skip Chapter 6 until the updated software is available.
Since the new version contains a microcontroller, +12 V power is required for operation. This will require some modification to your 1-Wire bus to supply power. If you are using (or plan to use CAT 5 cable, an existing unused pair can be used.
NOTE: The pin-out of the RJ-45 connector on the WS603B is not compatible with the Hobby-Boards RJ-45 pin-out. DO NOT connect this unit to a Hobby-Boards product using a straight-thru cable.
For more info, visit AAG at aag.com.mx.

Wind Instrument

RxTx for Mac OS X Leopard Now Available
Aug 16, 2008

The RxTx installer for Mac OS X 10.5 Leopard has been added to the Mac Users download package. Included is both the RxTx installer for Tiger (1.4) and Leopard (10.5).


Note from the Author
Nov 11, 2007

Its been a while since I posted any news, so I thought I give you a quick update. I've been very active in my "day" job and other activities, so I haven't had much time to work on weather projects. That did change recently: Rabbit Semiconductor has a temporary price reduction on the WiFi-enabled Rabbit 4000 development board. I couldn't resist!
One of my desires is to go completely wireless. I've tried various methods, including the Maxstream Zigbee RS-232 modem with various degrees of success. The Rabbit WiFi board, along with a solar panel and a battery looks to be promising. The only item you'll need inside is a WiFi router. I've ported the Dallas/Maxim public domain 1-Wire C library to work on the Rabbit 4000 (see below). So far I have a simple version of the 1-Wire weather software and a web server running on the Rabbit. I'm now trying to wedge in the Weather Underground code, but I'm having memory limitations. I'll post the code here when I get it working.

If you haven't had a chance to check out the discussion forum, there are now several hundred posts. Go take a look.
Tim


Rabbit 4000 1-Wire Library Beta
Nov 11, 2007

A beta version of Dallas/Maxim's 1-Wire Public Domain C library ported to run on a Rabbit 4000 is now available. The code is written to run on a Rabbit 4000 development board with standard RS-232 ports. There is no documentation yet, so it isn't for beginners. As noted above, I'm using it on the Rabbit 4000 WiFi development board for a truly wireless weather station. The 1-Wire is connected using a standard DS9097U serial to 1-Wire adapter connected to serial port C on the dev board. The RS-232 handshake lines (RTS & DTR a.k.a Serial port D) supply the power on the stock serial cable. The library takes up quite a bit of memory, but provides a full set of 1-Wire commands.

Download the library and example code as part of the Rabbit Weather Server package, It contains examples for the DS18S20, DS2423, DS2438, and DS2450 Here


Bug Fix for ETWS Posted
June 22, 2007

An update to ETWS has been posted in the downloads section. Version 1.0.7 fixed a couple of bugs, but most importantly, now has separate versions for Mac and Windows. Trying to combine the two created several issues with getting it to run properly on both platforms, so I went ahead and split them.


New Discussion Forum is Now Online!
June 9, 2007

The Weather Toys Discussion Forum is now online. There are forum for hardware, software, book updates, and general 1-Wire Weather topics. Got an idea for a new 1-Wire sensor? Post it here. Got a question about SimpleWeather? Ask it here. This discussion forum is for all 1-Wire weather enthusiasts, whether you've read Weather Toys or not.

As part of the change, the Weather Toys Blog has now been renamed News. The software updates and book corrections have been move to the forum so they're easier to find and you can post your comments. The News page will now contain information updates about the world of 1-Wire Weather along with Weather Toys information.


1-Wire Hub Example Code
March 9, 2007
Many of you have requested information on using a 1-Wire Hub with the Weather Toys projects. I have finally had some time to put together a simple example of using a hub with SimpleWeather. Also included is a modified OneWireLister that can find your 1-Wire devices connected to a hub. Download the file HubExample.zip in the Downloads section. For more information, see the ReadMe.txt file in the download.

Wiring Warning
February 25, 2007
While working on a weather project, I happened to notice that the Radio Shack twisted pair cable was manufactured incorrectly. The RS 279-460 cable (referred to as the "short-length cable" on page 63) should have the red-green and yellow-black pairs twisted. The cable I recently purchased had the red-black and green-yellow pairs twisted. You can still use the cable, but you'll have to either use the red-black or green-yellow pair for your 1-Wire bus. The cable pictured on the right is correct.

Mac OS X USB Adapter
February 23, 2007
Maxim has not distributed a driver for the DS9490 USB Adapter for Mac OS X. Maxim Engineer Scott Hughes has developed his own solution using the libusb open source library. You can get Scott's code at globalreset.org. Click on the Mac OS X link. You'll need to install libusb and then modify your SimpleWeather code to use his Java library.
PLEASE NOTE that at this time I can't offer any support for the Mac using the USB driver. My installation seems to cause the USB bus to freeze requiring a reboot. If your installation works or you have any suggestions, please let me know.

Java 6 Update
February 15, 2007
Sun has released Java version 6. Early tests indicate that both SimpleWeather and ETWS are compatible with Java 6. As a result of the update, Sun has changed their web site, and most of the book's links to the website are no longer valid. Both the JDK and Documentation can be currently found at http://java.sun.com/javase/downloads/index.jsp. You'll also find a link to the older versions of Java.
On this website's Downloads page you will find both the Java JDK Version 5 and the documentation. Unless you need a newer version of Java, I suggest you start out with these so your project will match the book.

Weather Underground RapidFire
December 16, 2006
The Weather Underground recently released it's RapidFire weather service. It supports posting data to WU as fast as every 5 seconds, and you can embed a really cool Flash-based "widget" in your web page to display the data. The protocol to post the data is nearly identical to the one used in Chapter 13. If you're interested in playing with this, you can find the info needed to modify SimpleWeather at http://wiki.wunderground.com/index.php/PWS_-_Upload_Protocol
Here's a sample web site using RapidFire: http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KORSWEET1

Using the USB Adapter
December 16, 2006
Several readers have requested an update on using the USB adapter. Dallas/Maxim now provides a driver for Windows 2000 & XP. Here's how to use it with SimpleWeather:
  • Installing the Drivers:
    1. Download the 1-Wire Driver Version 4.0 package from http://www.maxim-ic.com/products/ibutton/software/tmex/index.cfm
    2. Make sure the 1-Wire USB Adapter is unplugged
    3. Start the installer
    4. De-select the two custom options and click Next and follow the on-screen instructions
    5. When prompted, install the 1-Wire USB Adapter and let Windows find the driver
    6. Select the DS9490 in the Port Selection dialog at port USB1
    7. Click OK
  • Verify Installation:
    1. Click Start -> Programs -> 1-Wire Drivers -> OneWireViewer.htm
    2. Follow the instructions to run the OneWireViewer
    3. If OneWireViewer works OK, your drivers are loaded successfully
  • Modifying SimpleWeather
    1. Change ONE_WIRE_SERIAL_PORT = "USB1"
    2. Change ADAPTER_TYPE = "(DS9490)"
SimpleWeather should compile and run with the new adapter. I'm not sure why, but the DS9490 needed the parens around the name.

UPDATE 1/6/07: I've received emails that that many of you can't detect the DS9490 after following these instructions. After many frustrating hours, it seems that "some" XP installations need curly braces for the adapter name in step 2 of modifying SimpleWeather instead of parentheses.

Bonus Code now Includes the TAI8570
September 29, 2006
The Bonus Code download now includes sample code to incorporate AAG’s TAI8570 Pressure Sensor in SimpleWeather. If you have the TAI8570, you can now use it along with the Weather Toys book.

DS18B20 vs DS18S20
September 29, 2006
Seems like I got some of the part numbers mixed up. The standard 1-Wire temperature sensor is the DS18S20, not the DS18B20 as mentioned (inconsistently) in Chapters 3 and 5. The ‘B20 has selectable resolution (9 to 12 bits) and includes a thermostat function. It also costs a bit more. The ‘S20 is what is used in the WS-1 and Hobby-Boards modules. Both parts will work fine, but there are some minors changes to the code:
  • The DS18B20 is Family Code 28
  • The 1-Wire container should be OneWireContainer28
  • The RESOLUTION_MAXIMUM class field isn’t supported, instead use RESOLUTION_12_BIT.
  • Since they each use a different container class, the ‘B20s can’t be mixed with ‘S20s using the same class.
The sample code for the solar sensor (located in the bonus code folder) provides an drop-in replacement class for use with the DS18B20.