On Mon, 12 Apr 2010 06:52:09 -0400, Paul Alfille wrote:

> Very interesting Matthias!
> 
Thanks. I aim to please. ;-)

> It looks like you intend these chips to be drop-in replacements for
> discontinued Dallas designs.

Not only discontinued ones, but extending them. For instance, not just
a ds2423, but one with an analog input with self-adapting hysteresis(*);
not just an 18s20, but something that is a thermocouple, physically,
and with an additional output to autonomously control my central heating,
controlled simply by setting temp_high/low.

> And so should be supported by software (like OWFS) without any changes?
> 
Well, at first. If we can figure out some way to recognize that a device
can do extended commands, like pipe debug output back into OWFS or 
whatever, that would be splendid.

One idea which comes to mind: all Dallas chip IDs I've seen so far end
with x000000 (or 010800 or some combination thereof). I propose to
use some of these bits as a signature, so that OWFS knows that it can
use a special command (is there a global list so that we don't step
on anybody's toes?) for asking the chip what it really is and what other
interesting things it might be able to do.


(*) My power meter has a blinking LED which indicates the current power usage.
A photo resistor in front of that will see enough ambient light so that
I need an adaptive threshold for the counter. I can do that in hardware,
or simply program an AVR to do it. Guess which is easier (and cheaper). ;-)

-- 
Matthias Urlichs


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to