The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Dallas 1-Wire and iButton interface


  • Subject: Dallas 1-Wire and iButton interface
  • From: <max@xxxxxxxxxxxxxxxxx>
  • Date: Fri, 3 Dec 2004 14:17:34 -0000


------=_NextPart_000_001E_01C4D942.D537CF50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Originally posted on the xAP Developers list.

This application can be downloaded from the wiki at http://wiki.xapautomati=
on.org/tiki-index.php?page=3DxAPmcs1Wire

Free samples of the majority of the 1-Wire and iButton ranges can be
reques=
ted from http://www.maxim-ic.com/
This includes the serial and USB adaptors=
.

Max

----- Original Message -----=20
From: Michael McSharry=20
To: xAP_developer@xxxxxxx=20
Sent: Saturday, November 27, 2004 6:32 AM
Subject: Re: [xAP_developer] BSC and OneWire]


Attached is xAPmcs1Wire.exe which is an xap interface to Dallas 1-wire
netw=
ork using DS9097U (serial) DS9490 (USB) or functional equivalent PC
adapter=
s to the 1-wire network.  A full set of 1-wire/Ibutton devices typical of
a=
n HA environment are supported.  This includes temperature, voltage,
humidi=
ty, lightning count, water flow, rainfall, wind direction, wind speed,
rela=
ys, switches, air pressure and probably some others that don't come to
mind=
at the moment.  I'm making it available to enhance the library of BSC-comp=
liant applications.

The software uses the drivers developed by the Dallas Semiconductor.  If
no=
t already installed on the PC then they can be downloaded from ftp://ftp.da=
lsemi.com/pub/auto_id/licensed/Install_1_Wire_Drivers_v400b3.exe
Earlier version of these drivers will also function, however some devices
a=
re not supported with the _v3 and erlier drivers.  These drivers utilize
th=
e Microsoft Jave Virtual Machine.  The JAVA VM will need to be enabled on
t=
he PC.

The file can be placed anywhere.  It will create a \config subfolder and
ma=
y create a \data subfolder.  When executed it will run in the tray and a
mo=
use click on the icon will provide selection options which include
"Setup" =
"IO Window" and "Exit".  The other options have been
disabled as they only =
have meaning in the context of a system with other xap nodes that support
h=
ealth, redundancy management and centralized configuration management.

The "Setup" will show a Windows GUI that I quickly put together
to provide =
a stand-alone user interface.  Normally this node is configured via a
centr=
alized configuration user interface.  The xap schema to support the
configu=
ration discovery and modification are still enabled, but will cause no
harm=
.=20=20

The application-layer logic of this node was extracted from an existing
Hom=
eseer plugin so some of the setup context is not obvious.  For typical use
=
the "Poll" button, the Metric/English units selection, and the
sample inter=
val will be the only setup items of interest.

The analog values are returned using the xapBSC.info schema.  The discrete
=
values are reported with xapBSC.event and set with xapBSC.cmd.  All
aspects=
of the BSC 1.3 schema have been implemented.  Each 1-wire device has 6 xAP=
UID values reserved.  This means a little over 40 devices can be supported=
per instance of the application.  The body of the BSC xap message also has=
a Database=3DTrue key/value as these values are intended to be recorded by=
the xap datacollection node.


------=_NextPart_000_001E_01C4D942.D537CF50
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>


<DIV><FONT face=Arial size=2>Originally posted on the xAP
Developers
list.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This application can be downloaded
from the wiki at
<A
href="http://wiki.xapautomation.org/tiki-index.php?page=xAPmcs1Wire";>http://wiki.xapautomation.org/tiki-index.php?page=xAPmcs1Wire</A></FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Free samples of
the&nbsp;majority&nbsp;of the
1-Wire and iButton ranges can be requested from <A
href="http://www.maxim-ic.com/";>http://www.maxim-ic.com/</A>&nbsp;This
includes
the serial and USB adaptors.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Max</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV style="FONT: 10pt arial">----- Original Message -----
<DIV style="BACKGROUND: #e4e4e4; font-color:
black"><B>From:</B> <A
title=mcs101main@xxxxxxx href="mailto:mcs101main@xxxxxxx";>Michael
McSharry</A>
</DIV>
<DIV><B>To:</B> <A title=xAP_developer@xxxxxxx
href="mailto:xAP_developer@xxxxxxx";>xAP_developer@xxxxxxx</A>
</DIV>
<DIV><B>Sent:</B> Saturday, November 27, 2004 6:32
AM</DIV>
<DIV><B>Subject:</B> Re: [xAP_developer] BSC and
OneWire]</DIV></DIV>
<DIV><FONT face=Arial
size=2></FONT><BR></DIV>
<DIV><FONT face=Arial size=2>Attached is xAPmcs1Wire.exe which
is an
</FONT><FONT face=Arial size=2>xap interface to Dallas 1-wire
network using
DS9097U (serial) DS9490 (USB) or functional equivalent PC adapters to the
1-wire
network.&nbsp; A full set of 1-wire/Ibutton devices typical of an HA
environment
are supported.&nbsp; This includes temperature, voltage, humidity,
lightning
count, water flow, rainfall, wind direction, wind speed, relays, switches,
air
pressure and probably some others that don't come to mind at the
moment.&nbsp;
I'm making it available to enhance the library of BSC-compliant
applications.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The software uses the drivers
developed by the
Dallas Semiconductor.&nbsp; If not already installed on the PC then
they can be
downloaded from <A
href="ftp://ftp.dalsemi.com/pub/auto_id/licensed/Install_1_Wire_Drivers_v400b3.exe";>ftp://ftp.dalsemi.com/pub/auto_id/licensed/Install_1_Wire_Drivers_v400b3.exe</A><BR>Earlier
version of these drivers will also function, however some devices are not
supported with the _v3 and erlier drivers.&nbsp; These drivers utilize
the
Microsoft Jave Virtual Machine.&nbsp; The JAVA VM will need to be
enabled on the
PC.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The file can be placed
anywhere.&nbsp; It will
create a \config subfolder and may create a \data subfolder.&nbsp; When
executed
it will run in the tray and a mouse click on the icon will provide
selection
options which include "Setup" "IO Window" and
"Exit".&nbsp; The other options
have been disabled as they only have meaning in the context of a system
with
other xap nodes that support health, redundancy management and centralized
configuration management.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The "Setup" will show a
Windows GUI that I quickly
put together to provide a stand-alone user interface.&nbsp; Normally
this node
is configured via a centralized configuration user interface.&nbsp; The
xap
schema to support the configuration discovery and modification are still
enabled, but will cause no harm.&nbsp; </FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The application-layer logic of
this node was
extracted from an existing Homeseer plugin so some of the setup context is
not
obvious.&nbsp; For typical use the "Poll" button, the
Metric/English units
selection, and the sample interval will be the only setup items of
interest.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The analog values are returned
using the
xapBSC.info schema.&nbsp; The discrete values are reported with
xapBSC.event and
set with xapBSC.cmd.&nbsp; All aspects of the BSC 1.3 schema have been
implemented.&nbsp; Each 1-wire device has 6 xAP UID values
reserved.&nbsp; This
means a little over 40 devices can be supported per instance of the
application.&nbsp; The body of the BSC xap message also has a
Database=True
key/value as these values are intended to be recorded by the xap
datacollection
node.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>

<br>

<!-- **begin egp html banner** -->

<table border=0 cellspacing=0 cellpadding=2>
<tr bgcolor=#FFFFCC>
<td align=center><font size="-1"
color=#003399><b>Yahoo! Groups
Sponsor</b></font></td>
</tr>
<tr bgcolor=#FFFFFF>
<td align=center width=470><table border=0 cellpadding=0
cellspacing=0> <tr> <td align=center><font face=arial
size=-2>ADVERTISEMENT</font><br><a href="http://us.ard.yahoo.com/SIG=12992nhfe/M=298184.5639630.6699735.3001176/D=groups/S=1705007709:HM/EXP=1102169954/A=2434971/R=0/SIG=11eeoolb0/*http://www.netflix.com/Default?mqso=60185400";
alt=""><img src="http://us.a1.yimg.com/us.yimg.com/a/ne/netflix/111704_1104_g_300250a.gif";
alt="click here" width="300" height="250"
border="0"></a></td></tr></table>
</td>
</tr>
<tr><td><img alt="" width=1 height=1 src="http://us.adserver.yahoo.com/l?M=298184.5639630.6699735.3001176/D=groups/S=:HM/A=2434971/rand=104024579";></td></tr>
</table>

<!-- **end egp html banner** -->



<!-- **begin egp html banner** -->

<br>
<tt><hr width="500">
<b>Yahoo! Groups Links</b><br>
<ul>
<li>To visit your group on the web, go to:<br><a
href="http://groups.yahoo.com/group/xap_automation/";>http://groups.yahoo.com/group/xap_automation/</a><br>&nbsp;
<li>To unsubscribe from this group, send an email to:<br><a
href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe";>xap_automation-unsubscribe@xxxxxxx</a><br>&nbsp;
<li>Your use of Yahoo! Groups is subject to the <a href="http://docs.yahoo.com/info/terms/";>Yahoo!
Terms of Service</a>.
</ul>
</tt>
</br>

<!-- **end egp html banner** -->


</BODY></HTML>

------=_NextPart_000_001E_01C4D942.D537CF50--




xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.