Hello!
He's got the right idea. Problem is that the DS2405 is more difficult to
program then say the DS2406. He also doesn't say which of the temperature
sensing ones he used as well. (DS1820 family member?)

We'd then next have to see his Perl code to see what's happening and
possibly try it for ourselves to find out what's wrong if anything, and then
why it's doing what its doing.

At least he chose a good embedded platform. There have been several articles
on the list for that thing discussing the one wire applications for it, most
notably the one wire weather station project. 

However the one wire on NSLU2 device applications suffers from a dearth of
documentation, unlike the one wire on a router such as the family from
LinkSys. Those things do not have that problem oddly enough. The
documentation for them was properly worked out and even well written.

Granted the people who make that former idea work as opposed to the latter
do document what they've done, and it is discussed on the list for the
NSLU2, but there we've got another problem. That of the classic problem of
how to ask the right questions.
--
Gregg C Levine [EMAIL PROTECTED]
"The Force will be with you always." Obi-Wan Kenobi
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Alfille
Sent: Sunday, January 20, 2008 11:14 AM
To: [email protected]
Subject: [Owfs-developers] Simple program switching a DS2405??!

-- weitergeleitete email ---
von:: cettl
an:: [email protected]
betreff:: Simple program switching a DS2405??!
datum:: 19.01.08 23:49 

Hello sourceforge community!

This is my first mail directly to you, and I hope, someone here can help me
(Please)!!

I?m a newbie in all this 1-wire things and Unix. I have a DS2405 which I
want to control with the help of the NSLU2 from a web browser. With
hardware, I have no problem (since I?m an analog designer), but with
software, hehe!
Here is my status, what is working and what not:
What?s already functioning now, are the commands:
"owwrite 05.24302C000000/PIO 1"
"owwrite 05.24302C000000/PIO 0"
I can see this DS2405 also in the web browser of the owfs written by Paul
Alfille ( http://192.168.1.77:3001/Serial_Number_of_device). Unfortunately,
the PIO changes only from ?off? to ?on?. I also tried the perl temperature
reading program by Paul Alfille. Over the web browser, I can see the
temperature, but the program running on the NSLU2 gives back an error
message.

However, I have absolutely no idea about is how I do this web browser
connection by MYSELF. Yes, in principle, this web browser from Paul does
exactly the same thing I want, but with the difference that all this is
somewhere written and distributed in the 100000 files of this owfs. So what
I badly would need is a VERY SIMPLE program which does change the output of
the DS2405 when clicking with the mouse. But now, everything is integrated
somehow (and I cannot follow how) in this large owfs. I have to start with a
very simple program and then, it should be no problem for me to add some
code to make more functions I want.

What I want at the end is making a water plant system: The NSLU over the
1-wire measures the water level on a plant and controls a DS2405 which
controls a valve to water it. This system should run on itself and for
maintanance or for adding a plant I want to connect the computer and see on
the web browser which plant got how much water and so on.

And now I beg if anyone could be so nice and write me this very little
program which does the following: When I click with the mouse on the button
?ON?, this DS2405 should switch on, when I click on the button ?OFF?. For
me, it is important that it is a very simple program, consisting only of
some lines (I heard, perl would be good). As I said, it?s no problem for me
to continue by myself and enlarge this little program with more functions
etc., but now, I have absolutely no idea how to start. I tried already some
perl programs (e.g. reading the temperature from a DS

THANK YOU in advance for your willingness to help me!!
Bernd2700 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to