On Sun, Apr 25, 2010 at 07:55:10AM -0700, Marc MERLIN wrote:
> On Sun, Apr 25, 2010 at 07:19:09AM -0400, Paul Alfille wrote:
> > On Sun, Apr 25, 2010 at 3:39 AM, Steinar Midtskogen
> > <stei...@latinitas.org> wrote:
> > > I did some more testing.  It turns out that the version doesn't
> > > matter.  It's just that sometimes I get an empty bus, sometimes not.
> > > A restart of owserver seems to be what it takes to change it.
> > > Digitemp, however, always lists everything.
> > >
> > > The setup: Linux PC->owserver->5 m active USB extension
> > > cord->USB-RS232 converter (pl2303)->DS9097U->UVI sensor.
> > 
> > Interesting. Perhaps turning on debugging would give some hints of
> > where the problem lies.
> > My money is on the pl2303 driver that I've had trouble with.
>  
> Well, he has a DS9097U at the end. This was the exact problem I had too:
> devices would randomly not show up on the bus while digitemp saw them
> reliably.
> Steinar, this is what worked in that case:
> /owfs/device wasn't there, but I could still cd to /owfs/device and it would
> show up on the fly (owfs seemed to only scan the bus to populate
> readdir, and if you had an error, some devices would go missing. But they
> would be available later if I just cd'ed in the directory they were supposed
> to be in).
> 
> I ended up "fixing" the problem by splitting my relatively long bus and
> using a hub.

Ok, so the UVI works for me, but it took some "tweaking".
1) I used a hobby boards 6 port hub
2) UVI, plugged by itself into the hub (with power) did not work if I had
   a 1-wire bus plugged into the passthrough cable
3) I had to play with hub configurations until I found one that worked
   (nothing plugged in passthrough)

End result:
gargamel:/etc/owfs# cat /owfs/1F.F05005000000DF/main/EE.E749CB010800/UVI/UVI*
         0.3           0

The only hitch is that the temperature reading looks way off:
gargamel:/etc/owfs# cat /owfs/1F.F05005000000DF/main/EE.E749CB010800/temperature
        86

The temperature from a DS18B20 less than a foot from the sensor is 77.33

Am I supposed to fine tune the temp sensor by putting a 9 degree offset in
temperature_offset (currently 0)?

If I fix it to read properly, is it going to be linearly good through the
temp range after that?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to