That's great.

In looking through the code to figure out your difficulty, I found a way to
optimise the code and reduce wear on the DS2438. It will be reflected in the
next release.

Briefly, the VAD/VDD switch is taken from the scratchpad memory, rather than
EEPROM backup. By only setting the option in the scratch pad, we speed up
conversion and reduce flashing the eeprom. Even better, each read of the
voltage pulls the VAD/VDD switch back from eeprom, reducing the work another
25%.

Paul Alfille

On Fri, Jul 15, 2011 at 1:40 PM, Pedro Côrte-Real <[email protected]> wrote:

> On Thu, Jul 14, 2011 at 5:17 PM, Paul Alfille <[email protected]>
> wrote:
> > I'm having trouble recreating the error.
> > I tried 8000 consecutive readings on an AAG humidity sensor. No stray
> > readings.
> > I'll look through your logs next.
>
> I seem to have fixed the problem. I had a 12V power brick connected
> directly to an outlet but my definitive installation would be to power
> it from a UPS. I still needed to run some wires to do that but today I
> decided to just plug it in provisionally, not thinking it would make
> any difference. As it turns out all the wrong readings disappeared
> once I did that. My AC power must be dirty and the 12V transformer
> must be crappy at filtering high frequencies.
>
> This also explains why the old sensors didn't have any problems. The
> hobby boards hubs use extra cat6 pairs to put 5V power on one and
> whatever they are fed on another. Their sensors use those but my other
> installation does not, so only those were affected. I wonder if I
> disable the unfiltered output in the hubs (leaving only the pair with
> the 5V) the situation improves.
>
> I don't know if there's anything owfs can do to be resilient in this
> kind of installation but now I'm guessing that if I improve the power
> connections for the rest of my sensors I'll stop seeing some of the
> other more sporadic wrong readings.
>
> Pedro
>
>
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to