[Owfs-developers] Temperature Sensing.

2011-10-27 Thread Doug Collinge
On Thu, Oct 27, 2011 at 06:08, < [email protected]> wrote: > > > What I need is for a relay to automatically trigger (or, even better, > > for 1 of 2 relays to trigger depending on Hi/Lo) *WITHOUT* any > > commands or communication over the 1-wire network. 1-wire would

Re: [Owfs-developers] Owfs-developers Digest, Vol 58, Issue 12

2011-03-11 Thread Doug Collinge
Yes, Roberto - the DS18B20 datasheet is very definite that the Vdd pin must be connected to the ground pin if the chip is to be used in parasitic mode. If it is to be used in powered mode then Vdd must be connected to +5V. On Fri, Mar 11, 2011 at 06:52, < [email protected].

Re: [Owfs-developers] [SOLVED] Dreaded 85 degrees C read from DS18B20 located outside

2011-03-10 Thread Doug Collinge
> Their (Maxim tech. support's) response seems to imply that things would > not work by leaving Vdd floating. However, it has worked for me for > months, and even iButtonLink seem to be shipping sensors with Vdd > floatin (the following comes from the manual for iButtonLink's T-Sense > sensor > [ht

[Owfs-developers] [SOLVED] Dreaded 85 degrees C read from DS18B20 located outside

2011-03-09 Thread Doug Collinge
So, I had a look at the datasheet to see what would happen if the Vdd lead on a DS18B20 was left floating. All there is to work from is a block diagram, which doesn't contain enough information. So I asked tech support at Maxim the following question: The block diagram of the DS18B20 shows a block

Re: [Owfs-developers] Dreaded 85 degrees C read from DS18B20 located outside

2011-03-02 Thread Doug Collinge
I use DS18B20s to monitor the temperatures in my still. The 85C issue is a real pain because that's right around the temperatures I have to measure. Fortunately my system is pretty much 100% reliable so I never see 85C error readings. Hot 96% ethanol vapour is pretty aggressive so I came up with a

Re: [Owfs-developers] max owfs polling time

2009-01-03 Thread Doug Collinge
more than once between samples. On Sat, Jan 3, 2009 at 00:51, Jaap Struyk wrote: > Doug Collinge schreef: > > > races before you wrap the counters. Just for fun-with-numbers sake, > > that's 93 years of daily races! > > In that case I will be 144 before I have to wor

Re: [Owfs-developers] max owfs polling time

2009-01-02 Thread Doug Collinge
I don't think there is going to be a problem. The counters on that device are 32 bits long, which gives a count length of some 4 billion. By your calculation of 126k counts per race you are going to have to run 2^32 / 126000 = 34087 races before you wrap the counters. Just for fun-with-numbers

Re: [Owfs-developers] RJ11 to RJ45 Cable

2008-11-17 Thread Doug Collinge
I guess someone should point out that RJ11 plugs can be inserted into RJ45 jacks without any alignment or reliability issues. I have been using this fact for my sensor assemblies for quite some time now. I have a number of sensors that are wired with RJ11 but I patch them together with a little b

Re: [Owfs-developers] DS18S20 to get water temperature

2008-11-07 Thread Doug Collinge
an > RTV silicone or some > type of epoxy. I would assume each covering would change the temperature > readings and would > have to be calibrated for. > > Mike > > > - Original Message - > From: "Doug Collinge" <[EMAIL PROTECTED]> > To: owfs-d

Re: [Owfs-developers] DS18S20 to get water temperature

2008-11-07 Thread Doug Collinge
Glass tubing would also be very nice, if you are worried about chemical contamination. Not such a great heat conductor but easy to seal and very clean. On Fri, Nov 7, 2008 at 12:25, Doug Collinge <[EMAIL PROTECTED]> wrote: > You could do the very same thing with stainless hobby tubing

Re: [Owfs-developers] DS18S20 to get water temperature

2008-11-07 Thread Doug Collinge
eadings and would > have to be calibrated for. > > Mike > > > ----- Original Message - > From: "Doug Collinge" <[EMAIL PROTECTED]> > To: [email protected] > Sent: Friday, November 7, 2008 3:20:14 PM (GMT-0500) Auto-Detected > Subject

Re: [Owfs-developers] DS18S20 to get water temperature

2008-11-07 Thread Doug Collinge
I built several probes for measuring the temperature of hot water. They are made of copper refrigeration tube, closed at one end by sawing a cross in it, folding over, and soldering. I wired up a sensor to some telephone cable and stuck it into the tube with some heat sink gunk, then closed the w

Re: [Owfs-developers] Thoughs on a temp sensor based liquid level monitor?

2008-09-24 Thread Doug Collinge
The design depends on there being a difference between the air temperature and the water temperature, which may or may not be the case in general. If there is any risk of them being at the same temperature you could address the problem by attaching a heater resistor to each sensor. Then the water

[Owfs-developers] What is the meaning of 85C?

2008-07-30 Thread Doug Collinge
What does reading 85C precisely mean? I have some DS1820 devices, powered, on a bus and they all work but sometimes go off into this 85C mode. I know that this is some kind of error condition but precisely what error condition? Is there some way to use owfs to reset everything to recover from th

Re: [Owfs-developers] How to Use Simultaneous

2008-07-14 Thread Doug Collinge
s note should help: > > http://www.mail-archive.com/[email protected]/msg02524.html > > > > > On Sun, Jul 13, 2008 at 3:25 AM, Doug Collinge <[EMAIL PROTECTED]> > wrote: > >> Ah, writing to '/simultaneous' actually seems to wait fo

Re: [Owfs-developers] How to Use Simultaneous

2008-07-13 Thread Doug Collinge
"1" to simultaneous to trigger a conversion. That also clears the > cache. A normal read will read immeadiately the already measured temperature > ready in the device. > > Paul Alfille > > On Sat, Jul 12, 2008 at 8:28 PM, Doug Collinge <[EMAIL PROTECTED]> > wrot

[Owfs-developers] How to Use Simultaneous

2008-07-12 Thread Doug Collinge
I'm writing myself a little Python code here and trying to use 'simultaneous' but getting results that are inconsistent with my understanding. I have multiple DS1820 devices on a bus. They are all powered devices. I want to simultaneously convert them all, wait, then read them all. I'm expectin

Re: [Owfs-developers] lrint() changes

2008-05-11 Thread Doug Collinge
n > > > > > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Doug > Collinge > *Sent:* den 11 maj 2008 01:16 > *To:* [email protected] > *Subject:* Re: [Owfs-developers] lrint() changes > > > > I only used

Re: [Owfs-developers] lrint() changes

2008-05-10 Thread Doug Collinge
I only used that for a quick fix to a problem connected with the 1821 returning negative temperatures and causing a crash. I agree that it's not worth creating a dependency for so I would be happy to code it into the 1821 support if you give me a few days to code and test. On Sat, May 10, 2008 at

Re: [Owfs-developers] Bits to produce a .deb file

2008-01-31 Thread Doug Collinge
I used this repo to put these packages on ubuntu feisty and gutsy without any issues. On Jan 31, 2008 5:41 PM, Paul Alfille <[EMAIL PROTECTED]> wrote: > Failed to fetch > http://alt.smurf.nois.de/debian/dists/stable/smuft/binary-i386/Packages.bz2Sub-process > bzip2 returned an error code (2) > >

Re: [Owfs-developers] Fwd: CMC industrial Electronics Ltd 1-wire module

2008-01-28 Thread Doug Collinge
I ripped the following from the datasheet of the device in question, in case anyone recognized whatever is inside the module. = As a Dallas 1-Wire(R) device, the sensor value i

Re: [Owfs-developers] DS1821 Thermostat support and reset circuit

2008-01-22 Thread Doug Collinge
Ok, I have committed the support code for the DS1821 thermostat and Paul uploaded my document on the reset circuit to the examples section, here<http://owfs.org/index.php?page=ds1821-thermostat-circuit----doug-collinge> This stuff finally makes the DS1821 a usable device, actually fairl

Re: [Owfs-developers] DS1821 Thermostat support and reset circuit

2008-01-20 Thread Doug Collinge
ell me how and I'll do it myself. On Jan 20, 2008 7:07 PM, Paul Alfille <[EMAIL PROTECTED]> wrote: > Your choice. > > Either send the code and the schematic/instructions to me, or get added as a > developer and add it yourself. > > And thank you. > > Paul Alfille >

[Owfs-developers] DS1821 Thermostat support and reset circuit

2008-01-20 Thread Doug Collinge
I have just completed support for the DS1821 thermostat chip, implementing all the features in the datasheet. It is tested and ready to commit as far as I can tell. What should I do with it? One of the little issues with the DS1821 is that, once you program it to be a thermostat it stops listeni

Re: [Owfs-developers] NEW: OWNet/C# assembly

2008-01-10 Thread Doug Collinge
I'm interested. On Jan 10, 2008 1:56 PM, Matthias Urlichs <[EMAIL PROTECTED]> wrote: > Hi, > > Paul Alfille: > > So now we have ownet support for: > > python > > Note that this is a blocking implementation. > > I have written one based on the Twisted framework, which is non-blocking; > if somebody

Re: [Owfs-developers] Update-- Projects and projects

2007-08-03 Thread Doug Collinge
On 8/3/07, Matthias Urlichs <[EMAIL PROTECTED]> wrote: > > Alfille, Paul H.,M.D.: > > Still, this is a root-only option. > > > So is every other method to disable the kernel 1wire driver. ;-) > At least it's a "once only" root operation.

Re: [Owfs-developers] How should we chain?

2007-08-02 Thread Doug Collinge
Is it possible to have two separate chains on one bus? Not that I think that's a good idea but whatever interface is chosen should be able to represent anything that is possible. On 8/2/07, Paul Alfille <[EMAIL PROTECTED]> wrote: > > Regarding symlinks: > > owfs can probably do symlinks, but that

Re: [Owfs-developers] How should we chain?

2007-08-02 Thread Doug Collinge
On 8/2/07, Matthias Urlichs <[EMAIL PROTECTED]> wrote: > > That would allow people to address the devices by position, which is not > stable -- you insert another device near the beginning and everything > still works -- but some time later, when the cache for the ordering > times out, everything i

Re: [Owfs-developers] How should we chain?

2007-08-01 Thread Doug Collinge
Presumably, the reason you are using chaining is so that you don't have to deal with device IDs. So one natural way to interface a chain is to make a "chain" directory and put the chained devices inside it, named "0", "1", "2", ... This way the order of the chain is naturally established by the a

Re: [Owfs-developers] ownet/python crashing sporadically in connection.py

2007-06-28 Thread Doug Collinge
7;).match(stripped) :# Could crash if it matched '.' - let it. #if stripped.replace('.', '').isdigit(): On 6/28/07, Doug Collinge <[EMAIL PROTECTED]> wrote: I'm looking over the situation and will report when I have some information.

Re: [Owfs-developers] ownet/python crashing sporadically in connection.py

2007-06-28 Thread Doug Collinge
I never would have noticed this if I hadn't had this little can of butane nearby. I'm looking over the situation and will report when I have some information. On 6/28/07, Doug Collinge <[EMAIL PROTECTED]> wrote: Thanks, everyone! I checked the new changes out of CVS an

Re: [Owfs-developers] ownet/python crashing sporadically in connection.py

2007-06-28 Thread Doug Collinge
Thanks, everyone! I checked the new changes out of CVS and I'm currently testing. On 6/28/07, Christian Magnusson <[EMAIL PROTECTED]> wrote: I checked in the changes to the CVS. /Christian *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Michael Weber *Sent:* den 28

[Owfs-developers] ownet/python crashing sporadically in connection.py

2007-06-27 Thread Doug Collinge
I'm having a problem using the python interface in ownet (from CVS) for reading a few DS18S20 thermometers. A very basic program (shown below) finds all sensors with a "temperature" attribute and then polls them continuously until the crash occurs. Sometimes this takes minutes, sometimes hours,

Re: [Owfs-developers] DS18S20 sampling speed

2007-06-20 Thread Doug Collinge
On 6/20/07, Matthias Urlichs <[EMAIL PROTECTED]> wrote: ... except that it's uncached/10.(blah)/temperature... Oops. Oh well, the concept is clear. > [ full quote without any changes ] Please don't do that. Sorry. -

Re: [Owfs-developers] DS18S20 sampling speed

2007-06-20 Thread Doug Collinge
Sounds like you are rereading the cached data, which makes the whole thing seem faster if there are multiple clients for the same data. If you read "mnt/1wire/10.(blah)/uncached/temperature" then you force a device read on each access. On 6/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I

Re: [Owfs-developers] Write to DS1821 configuration register - how?

2007-06-19 Thread Doug Collinge
incantation. Silly, but entertaining... On 6/19/07, Alfille, Paul H.,M.D. <[EMAIL PROTECTED]> wrote: -Original Message- From: [EMAIL PROTECTED] on behalf of Doug Collinge Sent: Tue 6/19/2007 7:26 PM To: [email protected] Subject: [Owfs-developers] Write to DS18

[Owfs-developers] Write to DS1821 configuration register - how?

2007-06-19 Thread Doug Collinge
I'm fooling around with the DS1821 for which there is some support in OWFS. I can read the temperature and set the Th and Tl registers. I want to use the part in thermostat mode but there doesn't seem to be any facility in OWFS for setting that bit in the status/config register. The only bit I c