Sandaysoft

Support forum for Cumulus weather station software
It is currently Sun May 26, 2013 3:30 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  [ 122 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9  Next
Author Message
 Post subject: Re: The inside of the ws-1081
PostPosted: Tue Apr 10, 2012 1:46 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17614
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
82M99, according to a post in this thread: http://sandaysoft.com/forum/viewtopic.php?f=16&t=2936

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Tue Apr 10, 2012 2:17 pm 
Offline

Joined: Tue Apr 10, 2012 11:50 am
Posts: 6
Location: UK
Weather Station: WH1081
Operating System: Windows XP
Thanks, a bit more detail about my plan. :-

Fit a better quality TX/RX unit with decent aerials to extend the range.
Work out the protocol for the wireless link between the units (has someone done this already?)
Work out the protocol for the USB link (ditto?).
Fit my own little micro to the transmitter which will continue sending Wind speed and direction info when the units main micro isn't.
Fit another micro to the the receiver which will send the extra data to the PC via the USB connector.

This means that the update rate on the receivers LCD display will be unchanged but the PC will get far more frequent wind information. Could cumulus cope with this?

Long term would be to completely replace the transmitters micro with my own to do all the sensors at higher speed, I doubt the LCD will update faster but the PC should.

Martin.


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Tue Apr 10, 2012 2:32 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17614
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
MFX wrote:
Work out the protocol for the wireless link between the units (has someone done this already?)

Others have asked about this, but I'm not aware of anyone who has actually done it.
Quote:
Work out the protocol for the USB link (ditto?).

The protocol is available unofficially from various places, e.g. http://code.google.com/p/fowsr/downloads/list

Quote:
This means that the update rate on the receivers LCD display will be unchanged but the PC will get far more frequent wind information. Could cumulus cope with this?
Cumulus just reads the station's current data location every 10 seconds and treats what it gets as a new set of data, even if it hasn't changed. I can't think of any code in Cumulus which would care if it actually did update more often than the normal 48 seconds. I don't really understand how your plan works, but it involves hardware so that's not surprising :lol:

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Tue Apr 10, 2012 2:51 pm 
Offline

Joined: Sat Feb 26, 2011 1:58 pm
Posts: 482
Location: SE London
Weather Station: Fine Offset 1080/1 & 3080
Operating System: Windows XP SP3
MFX wrote:
Fit my own little micro to the transmitter which will continue sending Wind speed and direction info when the units main micro isn't.
Hi Martin,

You've omitted "Fit a larger battery to the transmitter" (or maybe add solar powering). The reason that the transmitter runs for a year or more on a pair of cells is that it only transmits for 50ms every 48 seconds (i.e. 0.1% duty cycle).

Good luck working out the RF protocol, nobody else seems to have succeeded yet.

However, I am working on a project which happens to involve "processing" the FO wind data more frequently (but it's not the prime aim of the project), maybe some details in the Homebuilt section soon.

Cheers, Alan.


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Tue Apr 10, 2012 2:54 pm 
Offline

Joined: Tue Apr 10, 2012 11:50 am
Posts: 6
Location: UK
Weather Station: WH1081
Operating System: Windows XP
Quote:
The protocol is available unofficially from various places, e.g. http://code.google.com/p/fowsr/downloads/list


Ah sorry I don't mean the USB link between the receiver and the PC I mean the bit between the micro in the receiver and the Holtek USB chip. Would there be any way of making Cumulus look at the data more frequently than every 10 seconds (at least for wind information?) My long term plan for this is for use at firework displays where wind information is a priority but what the weather in general is likely to do is also very useful so what I want to have is :-

Portable handheld receiver giving just wind information (with audible alarms) that can be carried round the site.
Existing LCD display giving an overview of the weather in general.
PC logging everything but in particular windspeed and direction.

Martin.


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Tue Apr 10, 2012 2:56 pm 
Offline

Joined: Tue Apr 10, 2012 11:50 am
Posts: 6
Location: UK
Weather Station: WH1081
Operating System: Windows XP
AllyCat wrote:
You've omitted "Fit a larger battery to the transmitter" (or maybe add solar powering). The reason that the transmitter runs for a year or more on a pair of cells is that it only transmits for 50ms every 48 seconds (i.e. 0.1% duty cycle).


Not a concern for me it will only ever need to run for a week at a time maximum and usually a lot less than that.


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Tue Apr 10, 2012 3:50 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17614
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
MFX wrote:
Ah sorry I don't mean the USB link between the receiver and the PC I mean the bit between the micro in the receiver and the Holtek USB chip.
I had a feeling you were after something more low level than the bit I understand.
Quote:
Would there be any way of making Cumulus look at the data more frequently than every 10 seconds (at least for wind information?)
It would be easy enough to make the interval configurable (I've been thinking of doing that anyway); I'd just have to check to make sure that I haven't written any code that currently relies on the 10 second interval. It would have to read all of the data at the same time, not just the wind data.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Tue Apr 10, 2012 8:21 pm 
Offline

Joined: Tue Apr 10, 2012 11:50 am
Posts: 6
Location: UK
Weather Station: WH1081
Operating System: Windows XP
Quote:
Good luck working out the RF protocol, nobody else seems to have succeeded yet.


Well I'm making progress, I've isolated the bits of the data stream that indicate :-

Wind speed
Direction
Rainfall
Temperature
Humidity
Low battery
possibly TX battery voltage?

But I haven't been able to work out how the numbers sent correspond to what's displayed yet. Next stage is to make a dummy transmitter so I can send numbers of my choice and see what they correspond to on the display. There's also a lot of bits that don't seem to change whatever I do, maybe reserved for other features?

Martin.


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Wed Apr 11, 2012 9:55 am 
Offline

Joined: Tue Apr 10, 2012 11:50 am
Posts: 6
Location: UK
Weather Station: WH1081
Operating System: Windows XP
MFX wrote:
Quote:
Good luck working out the RF protocol, nobody else seems to have succeeded yet.

possibly TX battery voltage?


Ah what I though may be battery voltage looks like it may be a checksum which is a bit of a stumbling block until I can work out what checksum method they've used.

Martin.


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Sat Jun 02, 2012 12:13 pm 
Offline

Joined: Sat Jun 02, 2012 12:00 pm
Posts: 1
Location: Christchurch, New Zealand
Weather Station: WH1081
Operating System: Windows 7
MFX wrote:
Well I'm making progress, I've isolated the bits of the data stream that indicate :-

Wind speed
Direction
Rainfall
Temperature
Humidity
Low battery
possibly TX battery voltage?

But I haven't been able to work out how the numbers sent correspond to what's displayed yet. Next stage is to make a dummy transmitter so I can send numbers of my choice and see what they correspond to on the display. There's also a lot of bits that don't seem to change whatever I do, maybe reserved for other features?

Martin.

Can you please share your findings so far? I'm planning on rigging up a microcontroller to receive the data from my station (I'm just awaiting a pitch changer for the RF transceiver I've got, so I can attach it more easily) - so anything you're able to share would be a great help, both in terms of your setup and the protocol. I've got a TI Launchpad (with an MSP430G2553) lined up for the job, with a CC1101-based transceiver module, but no matter what you're using I'm sure there'll be some room for collaboration (i.e. the protocol).

Cheers,
Paul


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Wed Sep 26, 2012 12:23 am 
Offline

Joined: Sun Nov 20, 2011 9:50 pm
Posts: 8
Location: Edinburgh
Weather Station: WH-1081
Operating System: Debian
steve wrote:
MFX wrote:
Work out the protocol for the wireless link between the units (has someone done this already?)

Others have asked about this, but I'm not aware of anyone who has actually done it.


I've created a receiver for my WH1081 (Maplin branded, 433MHz) using a Raspberry Pi. As part of the project, I had to figure out the wireless protocol, which I've documented in the (link) here.

Kevin


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Wed Sep 26, 2012 3:48 am 
Offline
User avatar

Joined: Tue Sep 09, 2008 3:37 am
Posts: 696
Location: Auckland, New Zealand
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 7 Pro
Well done.. Great project for a rainy day :-)

_________________
Terry Wiltshire
http://www.janter.co.nz/weather/index.htm
Image


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Wed Sep 26, 2012 6:43 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17614
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Nice work!

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Wed Sep 26, 2012 1:54 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2523
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Also interesting that the radio data packet does have a checksum, so unless the base station ignores it, these 'wacky' values coming from the FO must be generated in the base station? Though I doubt the base station multi-tasks so my initial thought about possibly reading memory locations that are partially written to would seem unlikely?

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: The inside of the ws-1081
PostPosted: Wed Sep 26, 2012 3:32 pm 
Offline

Joined: Sat Feb 26, 2011 1:58 pm
Posts: 482
Location: SE London
Weather Station: Fine Offset 1080/1 & 3080
Operating System: Windows XP SP3
mcrossley wrote:
Also interesting that the radio data packet does have a checksum, so unless the base station ignores it, these 'wacky' values coming from the FO must be generated in the base station?
Hi,

Or the "Transmitter" (external module) is creating/reading wacky values before calculating the checksum? :)

Yes, well done Kevin; I suspect that "m" is indeed the top nibble of the rain count. I seem to remember that the rain count from the Console (USB/memory map) is two bytes (but of course the Console could maintain an "overflow" from the "n" nibble locally). However, it should be easy to test, just plug the Wind (anemometer) cable into the Rain socket for few hours ! ;)

I'm fairly sure that that protocol is the "new" one, introduced on the 308x (Solar) models and apparently now on "recent" Maplin units. The earlier protocol seems to be quite different (surprisingly using a significantly higher data rate) because the full transmission takes less than 50ms (but no "repeats") with earlier models.

Personally, I don't have an RPi but as it appears you've posted the source code, perhaps someone else will be able to analyse some of the "other" protocols. The x080 models transmit the Radio Controlled Clock data as well, and the 308x models transmit solar data in a separate packet (with 60 seconds repetition rate). That might be easier to decypher (now that you've cracked the basic data format) because the Solar Pod encodes the data packet to send to the transmitter, so it can be read (on the Solar Pod cable) even without a radio receiver.

Cheers, Alan.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 122 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9  Next

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:  
cron

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