Sandaysoft

Support forum for Cumulus weather station software
It is currently Fri May 24, 2013 2:53 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 74 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
 Post subject: Re: 1-wire info and recommendations
PostPosted: Tue Jan 18, 2011 10:36 pm 
Offline
User avatar

Joined: Thu Dec 17, 2009 2:03 pm
Posts: 787
Location: Hurstpierpoint, West Sussex, UK
Weather Station: WH1081
Operating System: Windows XP & 7 Pro
Thanks Gina - yet another project to look forward to..... :)

_________________
Neil
Hurstpierpoint Weather

Image


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Sat Jan 22, 2011 1:36 pm 
Offline

Joined: Sat Feb 21, 2009 12:41 pm
Posts: 1859
Location: Devon UK
Weather Station: FO WH1081PC (Maplin)
Operating System: OS X, Linux Mint, Win7 & XP
One thing I've discovered in setting up my 1-wire network is that although you can get RJ11 plugs to work with RJ45 sockets, they are too loose a fit for a reliable connection. Think I'll post this in the General Forum too as it applies more widely than just 1-wire.

_________________
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Tue Jan 25, 2011 9:35 pm 
Offline

Joined: Sat Feb 21, 2009 12:41 pm
Posts: 1859
Location: Devon UK
Weather Station: FO WH1081PC (Maplin)
Operating System: OS X, Linux Mint, Win7 & XP
Having got my 1-wire network and sensors working and software logging the results, I've found a niggling problem with the DS18B20 temperature sensor. They are prone to an occasional error resulting in a reading of 85C. I guess I shall have to detect this and re-take the reading when it occurs. I'm rather disappointed - I din't expect this sort of thing from a professional component. This is not just a bad sample - I've Googled the problem and found several references to it. There are other 1-wire temperature sensors but they are not as convenient to use and I have bought several DS18B20 chips with the intention of measuring several different temperatures.

So it's not just Fine Offset stations that suffer from temperature spikes!!

_________________
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Mon Feb 21, 2011 7:38 pm 
Offline

Joined: Sat Feb 21, 2009 12:41 pm
Posts: 1859
Location: Devon UK
Weather Station: FO WH1081PC (Maplin)
Operating System: OS X, Linux Mint, Win7 & XP
I now have a working 1-wire circuit for my new wind sensors. It uses the usual reed switch and magnet for the anemometer but optical encoding for the wind vane (I was unable to produce an effective read switch version). I have overcome the need for more current than available parasitically from the 1-wire network by switching the LEDs on only during the reading process. A fairly large electrolytic capacitor supplies the LED current for the short period they are on, being recharged in the off period.
Attachment:
1-wire_vane_optical_gray-11-02-21.png
The anemometer reed switch is connected to a DS2423 counter chip which accumulates counts - 2 per revolution of the anemometer rotor. The count is then read periodically to determine the wind speed (and wind run). Circuitry to remove switch contact bounce is provided within the DS2423 counter chip.

For the wind direction :- A DS2413 dual PIO chip is used to switch the LEDs and the current in the photo-transistors produces a voltage across individual resistors and the 4 voltages are fed into a DS2450 4 channel analogue to digital converter chip. Using analogue sensing allows variation in light levels, sensitivity and opacity of the encoding disc to be allowed for in the software.

Power to the ancillary components, DS2423 counter and DS2450 A/D is provided parasitically from the 1-wire network by a Schottky diode and reservoir capacitor. The latter is made big enough so that the voltage only drops by a couple of tenths of a volt when the LEDs are on. Another Schottky diode is connected across the 1-wire network to trap possible negative going spikes on the line. This is standard procedure to protect the chips.


You do not have the required permissions to view the files attached to this post.

_________________
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Mon Feb 21, 2011 9:49 pm 
Offline

Joined: Sat Feb 21, 2009 12:41 pm
Posts: 1859
Location: Devon UK
Weather Station: FO WH1081PC (Maplin)
Operating System: OS X, Linux Mint, Win7 & XP
Here's a better diagram...
Attachment:
1-wire_wind_optical_11-02-21.png


You do not have the required permissions to view the files attached to this post.

_________________
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Tue Feb 22, 2011 12:53 pm 
Offline

Joined: Thu Feb 04, 2010 12:22 pm
Posts: 344
Location: Clayton, Ontario Canada
Weather Station: 1wire-Cumulus & Fine Offset
Operating System: Windows 7
Hi Gina,
I was surprised to hear about your temperature reading problem with the DS18B20 as I have not seen it before. I did some poking and I guess it's been around since 2004. It's not clear if it was fixed in later versions or not. At any rate, the issue seems to be with the power up reset. There is supposed to be a simple work around that involves resetting the chip at least once before taking the reading. The example I found says this should work:
> Reset
> ROM Command (Skip, Match)
> 0x64
Since I can't reproduce it on my devices (tried 2) I can't comment on whether or not the workaround actually helps, but I thought I'd pass it along.


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Tue Feb 22, 2011 6:56 pm 
Offline

Joined: Sat Feb 21, 2009 12:41 pm
Posts: 1859
Location: Devon UK
Weather Station: FO WH1081PC (Maplin)
Operating System: OS X, Linux Mint, Win7 & XP
Thanks Charlie :) I'll check that out. Not really a problem - if I get 85C I just use the previous good reading. Much less of a problem than random spikes from the FO unit.

_________________
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Wed Feb 23, 2011 2:47 pm 
Offline

Joined: Sat Feb 21, 2009 12:41 pm
Posts: 1859
Location: Devon UK
Weather Station: FO WH1081PC (Maplin)
Operating System: OS X, Linux Mint, Win7 & XP
Wind sensors 1-wire interface showing chip pin numbers:-

Image

_________________
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Sat Feb 26, 2011 2:10 pm 
Offline

Joined: Sat Feb 21, 2009 12:41 pm
Posts: 1859
Location: Devon UK
Weather Station: FO WH1081PC (Maplin)
Operating System: OS X, Linux Mint, Win7 & XP
I've now received an RH sensor I ordered a few days ago. The sensor is a Honeywell HIH 4030 SMD ready mounted on a breakout board with 0.1" pitch connections. I found a supplier in the UK. http://www.active-robots.com/products/sensors/sparkfun/sparkfun-weather-pressure-humidity-sensors.shtml Second item on the page. This was the cheapest supplier I could find in the UK. Total cost including delivery and VAT came to £16.84.

I shall be constructing a 1-wire interface as below but the Schottky diodes are individual diodes obtained from Sheepwalk Electronics and the humidity sensor is a later version. The DS2438 measures the humudity sensor output, the supply voltage and the temperature from which the relative humidity can be calculated. Also, there is no need for a separate temperature sensor as there is already one included.
Attachment:
1-wire_humidity.gif


You do not have the required permissions to view the files attached to this post.

_________________
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Wed May 09, 2012 2:23 pm 
Offline

Joined: Thu Feb 04, 2010 12:22 pm
Posts: 344
Location: Clayton, Ontario Canada
Weather Station: 1wire-Cumulus & Fine Offset
Operating System: Windows 7
Hi Gina,

I came across this old thread while doing a search - where did you ever get to with this project?


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Wed Jul 04, 2012 9:45 am 
Offline

Joined: Sat Feb 21, 2009 12:41 pm
Posts: 1859
Location: Devon UK
Weather Station: FO WH1081PC (Maplin)
Operating System: OS X, Linux Mint, Win7 & XP
I'm afraid I haven't been on here for a while and also my weather station development has been on hold for a year or so as I've been concentrating on astronomy and in particular, astrophotography. But I'm going back to 1-wire for temperature and humidity sensors for cooled DSLR cameras. I'm also expecting to get back to my weather stations soon. As I recall, I got the 1-wire sensors all working but need to write the software to interface the sensor data with the data processing display and upload routines that I'm using with the Fine Offset weather station. There is also more I want to do on the web site and displays.

Currently I'm sorting out my various computers and the weather website is not being updated. I also need to repair the 1-wire anemometer as it got damaged in a very bad storm.

_________________
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Wed Jul 04, 2012 2:38 pm 
Offline
User avatar

Joined: Wed Oct 12, 2011 11:22 pm
Posts: 121
Location: IL/FL
Weather Station: Davis Vantage Vue - Fine Offset
Operating System: W2003-XPSP3
I've seen similiar with use of multiple 1-wire sensors in a laboratory environment. The price point of the sensors allows for multiple sensors at a reasonable cost.

In the current home I have temperature/humidity sensors in every room of the house. Its also a hodgepodge of multiple networks and multiple devices kind of done up in a hub and spoke methodology. Today for most of the DB / Charting I utilize SQLite running on Wintel and our Linux boxes collectively gathering data via multiple xAP instances.

Trying a new / old similiar to but not a Maxim USB 9097. It is using the Maxim 1-wire technology but comes in a "kit" using standard 3 pin cabling which can be daisychained and sensors come with shielding et al.

For a bit in UV calculations I was using the 1-wire light sensors and calculating a UV 1-16 number which kind of worked; then went to the temperature sensor in a sealed jar method.

http://www.pcsensor.com/index.php?_a=viewProd&productId=52


You do not have the required permissions to view the files attached to this post.

_________________
- Pete

http://longboatkey.golffan.us/ - Fine Offset

http://lockport.golffan.us/ - Davis Vantage Vue


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Thu Jul 05, 2012 4:13 pm 
Offline

Joined: Thu Jul 05, 2012 3:47 pm
Posts: 1
Location: North Wales
Weather Station: Not sure
Operating System: OS X Lion
[apologies to all for being (slightly) off topic- newly registered not allowed to PM]
Not sure about the 1 wire, but good to know you`re still knocking about Gina and looking forward to your weather station update :)


Top
 Profile  
 
 Post subject: Re: 1-wire info and recommendations
PostPosted: Fri Jul 06, 2012 8:41 pm 
Offline

Joined: Sat Feb 21, 2009 12:41 pm
Posts: 1859
Location: Devon UK
Weather Station: FO WH1081PC (Maplin)
Operating System: OS X, Linux Mint, Win7 & XP
Thanks Trev (it is you isn't it?). Been swapping about with computers and things aren't yet all set up on this one.

_________________
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 74 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group