Re: [Owfs-developers] Sporadic wrong readings from owserver

2012-08-13 Thread Pedro Côrte-Real
On Fri, Jul 15, 2011 at 8:55 PM, Pedro Côrte-Real wrote: > On Fri, Jul 15, 2011 at 7:55 PM, Paul Alfille wrote: >> 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 r

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-15 Thread Pedro Côrte-Real
On Fri, Jul 15, 2011 at 7:55 PM, Paul Alfille wrote: > 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 scratchp

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-15 Thread Paul Alfille
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 opti

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-15 Thread Pedro Côrte-Real
On Thu, Jul 14, 2011 at 5:17 PM, Paul Alfille 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 a

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-14 Thread Pedro Côrte-Real
On Thu, Jul 14, 2011 at 5:17 PM, Paul Alfille 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. Are you reading USB-dongle -> sensor directly? My setup is a USB dongle connected

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-14 Thread Paul Alfille
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. Paul -- AppSumo Presents a FREE Video for the SourceForge Communi

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-13 Thread Pedro Côrte-Real
On Wed, Jul 13, 2011 at 11:45 AM, Paul Alfille wrote: > Honeywell has updated and simplified their datasheets. I use the formula > straight from the datasheet: > http://sensing.honeywell.com/index.cfm/ci_id/142534/la_id/1/document/1/re_id/0 > Voltage output (1st order curve fit) VOUT=(VSUPPLY)(0.0

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-13 Thread Paul Alfille
Honeywell has updated and simplified their datasheets. I use the formula straight from the datasheet: http://sensing.honeywell.com/index.cfm/ci_id/142534/la_id/1/document/1/re_id/0 Voltage output (1st order curve fit) VOUT=(VSUPPLY)(0.0062(sensor RH) + 0.16), typical at 25 ºC Temperature compensat

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-12 Thread Pedro Côrte-Real
On Fri, Jul 8, 2011 at 11:34 PM, Pedro Côrte-Real wrote: > On Fri, Jul 8, 2011 at 9:54 PM, Paul Alfille wrote: >> Thanks for the report -- I found the error with DS2409 aux/main directories. > > That's great, thanks! Is there anything else I should try to debug the > humidity stuff? I've also jus

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-08 Thread Pedro Côrte-Real
On Fri, Jul 8, 2011 at 9:54 PM, Paul Alfille wrote: > Thanks for the report -- I found the error with DS2409 aux/main directories. That's great, thanks! Is there anything else I should try to debug the humidity stuff? I've also just gotten a broken value for the pressure sensor so I suspect there

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-08 Thread Paul Alfille
I did exactly this and got no output. I did the change in 2.8p9 as > 2.8p11 seems to have broken the hobby boards hub (DIR shows nothing in > all the aux and main channels). Any idea of what could be happening? I > Thanks for the report -- I found the error with DS2409 aux/main directories. Paul

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-08 Thread Pedro Côrte-Real
On Fri, Jul 8, 2011 at 3:09 PM, Pedro Côrte-Real wrote: > I spoke too soon. Seems like stdout was just not being flushed. It's > now outputting readings. I should have one of the strange ones in a > bit. After running it for a while I got a few wrong values and put them in a spreadsheet[1]. What

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-08 Thread Pedro Côrte-Real
On Fri, Jul 8, 2011 at 2:46 PM, Pedro Côrte-Real wrote: > I did exactly this and got no output. I spoke too soon. Seems like stdout was just not being flushed. It's now outputting readings. I should have one of the strange ones in a bit. Pedro ---

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-08 Thread Pedro Côrte-Real
On Fri, Jul 8, 2011 at 2:46 PM, Pedro Côrte-Real wrote: > have just gotten another 85ºC reading from one of the DS18S20 in one of the > Humidity/Temp hobby board sensors. That 85C reading was exactly on startup. It seems that what is happening is that sometimes the first reading from the 18S20 is

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-08 Thread Pedro Côrte-Real
>> Possibly putting in a line line: >> printf( "%g,%g,%g,%g\n", VAD, VDD, T, OWQ_F(owq) ) ; >> >> before the return statement >> File: owfs/module/owlib/src/c/ow_2438.c >> Subroutine: FS_HUMID_4000 >> Line 372 >> >>     // temperature compensation >>     temperature_compensation = 1.0546 - 0.00216

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-08 Thread Pedro Côrte-Real
On Fri, Jul 8, 2011 at 11:41 AM, Paul Alfille wrote: > Hi Pedro, > > I looked at the HobbyBoards site and I think the humidity sensor is HIH-4000 > based. > http://www.hobby-boards.com/catalog/product_info.php?cPath=24&products_id=54 > > I presume you are reading the HIH4000/humidity property. I

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-08 Thread martin
Paul, I hope the database output will show up. First chart is the really bad errors over the last few errors. The second is what it normally looks like. Seems that the problem is that sometimes it returns the same value for VAD and VDD which causes the humidity calculation to return 135% or someth

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-08 Thread Paul Alfille
Hi Pedro, I looked at the HobbyBoards site and I think the humidity sensor is HIH-4000 based. http://www.hobby-boards.com/catalog/product_info.php?cPath=24&products_id=54 I presume you are reading the HIH4000/humidity property. My thought is to figure out which value is causing the sprious readi