Paul Alfille <paul.alfi...@gmail.com> writes:

> So one DS2405 works well, and the other not?

You mean DS2450?  Both work in oww, but only one works in owfs.  So it
looks like the adc stuff in owfs has a problem.

-Steinar


>
> Paul Alfille
>
> On Fri, Jul 10, 2009 at 8:21 AM, Steinar
> Midtskogen<stei...@latinitas.org> wrote:
>> I have two AAG anemometers, both DS2450 based.  Eight reed switches
>> are organised in such a way that each of the four inputs to the AD
>> converter either is (roughly) 0V, 2.5V or 5V and the combination of
>> the four levels will identify one of 16 bearings of the vane (whose
>> magnet will connect the switches to 2.5V or 0V sources as it moves).
>>
>> Both anemometers work fine in oww, but only one of the works in owfs.
>> On the one that doesn't work, owfs sees either 0, 2.6 or 3.5V, and the
>> four inputs give combinations that should be impossible (the vane
>> makes sure that 16 of the 81 combinations are possible).  It looks
>> like the 0 reading really should have been 5V.  The 3.5V reading makes
>> no sense either, but seems to produce a possibly correct bearing if
>> assumed to be 0V instead.
>>
>> Any idea what could be wrong?  It works in oww.  Could the AD
>> conversion somehow fail in owfs but not in oww?  I've tried it on two
>> different 1-wire adapters, with or without a hub.  None of the
>> anemometers have external power.  The wire length to both are roughly
>> equal (~ 25 meters).
>>
>> --
>> Steinar
>>
>> ------------------------------------------------------------------------------
>> Enter the BlackBerry Developer Challenge
>> This is your chance to win up to $100,000 in prizes! For a limited time,
>> vendors submitting new applications to BlackBerry App World(TM) will have
>> the opportunity to enter the BlackBerry Developer Challenge. See full prize
>> details at: http://p.sf.net/sfu/Challenge
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a limited time, 
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize  
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to