1-Wire LUX9000 Thermostat Monitor
Table of Contents
1-Wire addressable switches are used to read the state information from the accessory port of the LUX9000 Thermostat. The protocol to read out this port was graciously provided by LUX. (Thank you LUX!)
Here is the description of the LUX unit from their web site. We found ours at Home Depot! http://www.luxproducts.com/thermostats/tx9000.htm
The monitoring is done through a web browser. Here is a screen snapshot of the Thermostat monitor. See the software section for more details on it's operation.
As you can see, at 11:10 on Friday, the unit is running, trying to achieve a temperature of 76°F with the current temperature being 75.0.
The interface board contains (3) DS2406's that connect to the LUX accessory port and (1) DS2433 for tagging information. This board allows the LUX9000 to be a 1-Wire 'node' on the network.
The 1-Wire and power is provided through the RJ-12 connection from TINI. Note the ground 'tail'.
The Schematic can be downloaded here:
The PCB can be downloaded here:
Socket CommunicationThe socket communication is simple text read-line write-line. The consequence of this is the ThermostatMonitor socket server can be linked up to a simple telnet session.
Note that the first message that is recieved is the version of the server. The type of message is denoted by the first character. Here are the available types of messages.
From Server to Client
From Client to Server
Each sample directory contains batch files to build and deploy the applications. The batch files require the following environment variables be set before use:
The source is divided up into the following build directories:
DeployWhen using the 'deploy' batch files, the following 4 files will be copied to TINI:
RunTo start the application:
To stop the Thermostat server application, hit 'ENTER' at the telnet prompt. To stop the web server, connect on port 6666.
This current implementation can only monitor the Thermostat and not set any of the values. We have experimented with a unit that simulates 'key' presses to set the trip values. LUX is in the process of changing the firmware of this unit to allow updates through the accessory port. When this unit is available this same board will be able to interface with it.
Another step forward will be realized with the introduction of the DS2408. This is an 8-channel version of the DS2406 allowing the (3) DS2406's to be replaced with ONE chip!
|Need Help?||About Us|
|A Product of
Copyright © 2004 Maxim/Dallas Semiconductor Corp. Legal Notice