Order Tray | Contact Us | Home | SIG Lists

[wxsig] temperature sensor - substitute DS18B20 for DS18S20?

William Beals will at beals5.com
Thu Sep 9 02:38:12 UTC 2010


Ted:

Thanks for the extra detail.  That means I was looking in the wrong place
initially and gives me a better idea of where to look.  Let me go do some
digging.

will

-----Original Message-----
From: Ted Hullar [mailto:ted at hullar.com] 
Sent: Tuesday, September 07, 2010 10:15 PM
To: 'William Beals'
Subject: RE: [wxsig] temperature sensor - substitute DS18B20 for DS18S20?

Hi Will, 

Yes, the system is detecting both the TAI603 and the DS18S20, and then
asking me which I want to use.  So far, so good, that part of the code seems
to be working fine.  If I select the TAI603, everything works as expected, I
get wind speed, direction, and temperature, all from the TAI603.  The
problem case is if I select the DS18S20 for temperature.  I do get
temperature readings from the DS18S20.  However, I get no wind speed info
from the TAI603.  The lines on the display change to "---" for both
direction and wind speed.  So, it's an either/or situation: I can either get
data from the TAI603, or the DS18S20, but not both.  I should note that when
the DS18S20 is selected and the display is reading "---" for speed and
direction, the error count for wind speed and direction increments every 5
seconds.  

Not sure this is relevant, but I did my first-time setup with only the
TAI603, and added the DS18S20 later.  I would think the sensor setup handles
this, but maybe it's remembering something from the first setup?  

Thanks for your help.  I should mention the equipment performed flawlessly
for the past week in a variety of conditions, including heavy dust, rain,
and lots of wind.  I was able to gather a lot of good data that, to my
knowledge, no one has ever captured at the event site before.  Pretty nifty!

Ted

-----Original Message-----
From: William Beals [mailto:will at beals5.com] 
Sent: Sunday, September 05, 2010 12:46 PM
To: 'Ted Hullar'
Subject: RE: [wxsig] temperature sensor - substitute DS18B20 for DS18S20?

Ted:

I did some digging into my source code and it appears I should be taking
care of the case you describe below.  I should be taking care of it as part
of the sensor discovery procedure.  

If you go do a temperature calibration, the first thing I do is look for the
TAI603.  In your case I should find it and know that it could be used for
wind speed, direction, and temperature.  I then check for a DS1820 and if I
find one, put up a message saying I found both and ask you which to use for
temperature.

Did you have the DS1820 plugged in when you did the sensor discovery?  It
should be detected.

will

-----Original Message-----
From: Ted Hullar [mailto:ted at hullar.com] 
Sent: Wednesday, August 25, 2010 11:25 PM
To: 'William Beals'
Subject: RE: [wxsig] temperature sensor - substitute DS18B20 for DS18S20?

Thanks for taking a look at it.  As a bit of a programmer myself (well, SQL,
I'm not sure it really qualifies!), I was starting to wonder if it might be
software.  I tried feeding the whole thing (TAI-603 and T238) from the same
12V supply, and got the same results I reported before, so I think my
"different power supply" theory is dead.    

If you have a chance to look at it this weekend, that would be great.  I'm
setting the instruments up at a special event this weekend, running through
labor day, so if you get a fix, I'd be happy to test it out on the fly!
It's not that big a deal, though, I'm most interested in the wind data, and
can certainly live without the temp sensor, although it's interesting
information.  Also, let me know if you want me to send you one of the
DS18S20 sensors I'm using, I got a few extra.  It's labeled DS1820, although
the part was represented as DS18S20.  

Thanks again, have a great weekend!

Ted

-----Original Message-----
From: William Beals [mailto:will at beals5.com] 
Sent: Wednesday, August 25, 2010 7:59 PM
To: 'Ted11'
Subject: RE: [wxsig] temperature sensor - substitute DS18B20 for DS18S20?

Ted:

This may be a software problem.  The DS18S20 draws practically no power so
shouldn't be messing things up.  What I am wondering is if there is
something I'm not handling gracefully in the new TAI-603 support code and an
external sensor.  Lemme try to take a look this weekend and see if I can
duplicate it.

will


-----Original Message-----
From: Ted11 [mailto:tedlists at hullar.com] 
Sent: Wednesday, August 25, 2010 9:11 AM
To: 'William Beals'
Subject: FW: [wxsig] temperature sensor - substitute DS18B20 for DS18S20?

Will, 

I should have mentioned in my previous email that I'm now set up with
KE6ROS-13, not -2, in case you want to check the comments.  

Ted

-----Original Message-----
From: wxsig-bounces at tapr.org [mailto:wxsig-bounces at tapr.org] On Behalf Of
William Beals
Sent: Sunday, August 22, 2010 8:56 PM
To: 'TAPR Weather Station SIG Mailing List'
Subject: Re: [wxsig] temperature sensor - substitute DS18B20 for DS18S20?

Ted:

Oops! They are different parts with different family IDs, so it will
definitely not be recognized.  I was out this weekend, let me look at the
DS18B20 a bit closer before you order.

will

-----Original Message-----
From: wxsig-bounces at tapr.org [mailto:wxsig-bounces at tapr.org] On Behalf Of
Ted11
Sent: Saturday, August 21, 2010 7:31 PM
To: 'TAPR Weather Station SIG Mailing List'
Subject: [wxsig] temperature sensor - substitute DS18B20 for DS18S20?

I wanted to add an external temperature sensor to my T238, but mistakenly
bought a DS18B20 instead of a DS18S20.  I figured I would wire it up
anyways, and unsurprisingly, it doesn't work.  On the off chance it should
work, and doesn't because I screwed up somewhere else, I wanted to ask if
anyone has gotten a DS18B20 to talk to the T238+.  

Otherwise, I'll be ordering the right part on Monday!

Ted


_______________________________________________
wxsig mailing list
wxsig at tapr.org
https://www.tapr.org/cgi-bin/mailman/listinfo/wxsig


_______________________________________________
wxsig mailing list
wxsig at tapr.org
https://www.tapr.org/cgi-bin/mailman/listinfo/wxsig







More information about the wxsig mailing list