The DS9490 1-Wire USB Adapter (in blue), the Humidity/Temperature sensor and case, a RJ-45 coupler, and a special RJ-12 to RJ45 cable to interface between the sensor and USB adapter.Here's a few photos of the inside of the Humidity/Temperature sensor.


init:
deps-jar:
compile:
run:
Starting SimpleWeather 1.0
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
Found Adapter: {DS9490} on Port USB1
Resetting 1-wire bus
Time = Fri Jan 19 21:09:06 CST 2007
Temperature = 72.5degs F
Humidity = 29.719664%
Time = Fri Jan 19 21:09:09 CST 2007
Temperature = 72.5degs F
Humidity = 29.721657%
Time = Fri Jan 19 21:09:12 CST 2007
Temperature = 72.5degs F
Humidity = 29.35742%
Time = Fri Jan 19 21:09:15 CST 2007
Temperature = 72.5degs F
Humidity = 29.35742%
Pretty cool, huh? I kind of changed the code to refresh every 3 seconds, instead of the default one minute. Soon, I will order some more parts to expand this network into a fully functional weather station! Watch for more details.
No comments:
Post a Comment