Order Tray | Contact Us | Home | SIG Lists

[wxsig] Still looking for solution :-(

Bill Hosking hoskingb at earthlink.net
Wed Nov 22 15:59:52 UTC 2006


Sounds good Will. Just email me direct the s19 file when you are done.  I'll 
upload it and let you know quickly what happened.
Bill W7JSW
----- Original Message ----- 
From: "Will Beals" <will at beals5.com>
To: "'TAPR Weather Station SIG Mailing List'" <wxsig at lists.tapr.org>
Sent: Tuesday, November 21, 2006 9:33 PM
Subject: RE: [wxsig] Still looking for solution :-(


> Bill:
>
> I spent some time looking at the humidity code this evening.
>
> I do have a couple of pieces of code where I could get into an infinite
> loop.  When I ask the DS2438 to do an A/D conversion, I go into a polling
> mode waiting for it to say it is done.  I do not have any way of breaking
> out of those loops.  If for some external reason the DS2438 cannot 
> complete
> the conversion, the T238 will hang instead of simply reporting an error 
> and
> moving on.
>
> This may or may not be the problem, but is clearly an exposure.  I'll work
> on a test version of the T238 code that will address that issue and we can
> see if it solves your crashing problem.  If it does, it probably means
> you'll get error messages instead of humidity data, but at least we'll be
> isolating things.
>
> will
>
> -----Original Message-----
> From: Bill Hosking [mailto:hoskingb at earthlink.net]
> Sent: Monday, November 20, 2006 11:26 PM
> To: will at beals5.com; TAPR Weather Station SIG Mailing List
> Subject: Re: [wxsig] Still looking for solution :-(
>
> With my test adapter (copied from the x1w1 schematic) which I did because
> the commercial one didn't let me put +5 on pin1, and running the testhumd
> program I get back perfectly acceptable temperature, humidity, and voltage
> readings. Additionally, I could disconnect the 5V from pin 1 and, sure
> enough, the program told me 0V and no humidity reading. It apparently does
> not return the raw register values as far as I can tell.
>
> Bill
> ----- Original Message ----- 
> From: "Will Beals" <will at beals5.com>
> To: "'TAPR Weather Station SIG Mailing List'" <wxsig at lists.tapr.org>
> Sent: Monday, November 20, 2006 9:48 PM
> Subject: RE: [wxsig] Still looking for solution :-(
>
>
>> Bill:
>>
>> This is enough data to really confirm that your setup is exposing some
>> kind
>> of SW bug that I have not seen before.  With (I think) 100+ humidity
>> sensors
>> out there and not hearing of such an issue before, I still sorta hope 
>> that
>> the root cause is something on the hardware side that is giving results
>> that
>> I'm not handling well and that if you can find that hardware issue the
>> problem would "go away".  Ken Brown had some suggestions based on some
>> earlier experiences, so they would be worth investigating.  As I
>> understand
>> it, your sensor is not very accessible right now though.
>>
>> Based on the fact that the LED stops flashing and 1-wire bus activity
>> stops,
>> it is clear that the firmware is crashing.
>>
>> Bill:  Does the testhumd untility return the raw register values for the
>> humidity sensor?  I can quite easily emulate that here and can see if 
>> that
>> causes a crash on my end.  In parallel, I'll go off and look at the code
>> and
>> see if I can see anything that could cause a crash.
>>
>> will
>>
>> -----Original Message-----
>> From: Bill Hosking [mailto:hoskingb at earthlink.net]
>> Sent: Monday, November 20, 2006 7:11 PM
>> To: will at beals5.com
>> Subject: Re: [wxsig] Still looking for solution :-(
>>
>> Some more data Will
>>
>> This is with the x1w2 in line and powered up but adding/erasing the 
>> sensor
>> id.
>>
>> Without the humidity sensor id, the voltage on the I-button line varies 
>> on
>
>> a
>> regular pattern with a low of 4.73 v and a high of 4.93.
>>
>> Telling the box to recognize the humidity sensor, it goes to the "one
>> second
>> please' prompt and hangs there. The voltage is 4.92, not changing.
>>
>> Pulling the phone plug, resetting, erasing the humidity sensor id, and
>> going
>> on, the box goes to normal operation with temp/wind/rain and the voltage
>> is
>> changing as above.
>>
>> {Through all of this, there is a constant +4.96V on pin 1 which only the
>> x1w2 is using.}
>>
>> Bill
>> ----- Original Message -----
>> From: "Will Beals" <will at beals5.com>
>> To: "'Bill Hosking'" <hoskingb at earthlink.net>
>> Sent: Sunday, November 19, 2006 2:55 PM
>> Subject: RE: [wxsig] Still looking for solution :-(
>>
>>
>>> Bill:
>>>
>>> I had some other questions too that would help, do you mind answering to
>>> the
>>> reflector?  They are below again.
>>>
>>> will
>>> ---------------------
>>> On the lockup, a few more questions:
>>>  Does the LED continue flashing?
>>>  I understand you do not have a TNC, but which TNC mode is selected?
>>>  Can you hit the menu button to get back to menus or do you have to hit
>>> reset?
>>>  Can you measure the 1-wire bus voltage with a volt-meter with and
>>> without
>>> the humidity sensor attached?  If possible, read it with the T238 hung
>>> too.
>>> While running, the bus voltage will vary on a voltmeter, so max value is
>>> OK.
>>>
>>>
>>> -----Original Message-----
>>> From: Bill Hosking [mailto:hoskingb at earthlink.net]
>>> Sent: Wednesday, November 15, 2006 10:31 PM
>>> To: will at beals5.com; TAPR Weather Station SIG Mailing List
>>> Subject: Re: [wxsig] Still looking for solution :-(
>>>
>>> Yeah, that is the problem trying to draw in text form (shoulda gone to
>>> courier).
>>> First - the x1w2 and temp/wind sensors have pass-through connectors, 
>>> with
>>> that understood...
>>>
>>> From T238
>>> about 50-60 ft of flat 4-wire phone cable, crimped connectors
>>> x1w2 (pass through) humidity sensor
>>> about 20 ft of same cable
>>> wind/temp module (pass through)
>>> 6 ft cable (same stuff)
>>> Rain Gauge
>>>
>>> Without the humidity sensor turned on, temp, wind, and rain work
>>> perfectly.
>>> Turn on humidity sensor, system hangs at the "wait a moment" prompt
>>>
>>> Bill
>>> ----- Original Message -----
>>> From: "Will Beals" <will at beals5.com>
>>> To: "'TAPR Weather Station SIG Mailing List'" <wxsig at lists.tapr.org>
>>> Sent: Wednesday, November 15, 2006 9:32 PM
>>> Subject: RE: [wxsig] Still looking for solution :-(
>>>
>>>
>>>> Bill:
>>>>
>>>> Hopefully we can figure something out that won't require drilling holes
>>>> and
>>>> venturing into crawlways!
>>>>
>>>> Unfortunately your diagram didn't come out to well, can you elaborate 
>>>> in
>>>> a
>>>> different format?
>>>>
>>>> T238 Controller
>>>> ?? Feet of cable
>>>> Rain gauge
>>>> ?? Feet of cable
>>>> X1W2 sensor with humidity
>>>> ?? Feet of cable
>>>> Is there something more?
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> wxsig mailing list
>> wxsig at lists.tapr.org
>> https://lists.tapr.org/cgi-bin/mailman/listinfo/wxsig
>>
>>
>
>
>
>
>
>
> _______________________________________________
> wxsig mailing list
> wxsig at lists.tapr.org
> https://lists.tapr.org/cgi-bin/mailman/listinfo/wxsig
>
> 






More information about the wxsig mailing list