Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

The inside of the ws-1081

Discussion specific to Fine Offset and similar rebadged weather stations
User avatar
steve
Cumulus Author
Posts: 26247
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: The inside of the ws-1081

Postby steve » Tue Apr 10, 2012 1:46 pm

82M99, according to a post in this thread: http://sandaysoft.com/forum/viewtopic.php?f=16&t=2936
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

MFX
Posts: 6
Joined: Tue Apr 10, 2012 11:50 am
Weather Station: WH1081
Operating System: Windows XP
Location: UK

Re: The inside of the ws-1081

Postby MFX » Tue Apr 10, 2012 2:17 pm

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.

User avatar
steve
Cumulus Author
Posts: 26247
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: The inside of the ws-1081

Postby steve » Tue Apr 10, 2012 2:32 pm

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.
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

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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

AllyCat
Posts: 997
Joined: Sat Feb 26, 2011 1:58 pm
Weather Station: Fine Offset 1080/1 & 3080
Operating System: Windows XP SP3
Location: SE London

Re: The inside of the ws-1081

Postby AllyCat » Tue Apr 10, 2012 2:51 pm

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.

MFX
Posts: 6
Joined: Tue Apr 10, 2012 11:50 am
Weather Station: WH1081
Operating System: Windows XP
Location: UK

Re: The inside of the ws-1081

Postby MFX » Tue Apr 10, 2012 2:54 pm

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.

MFX
Posts: 6
Joined: Tue Apr 10, 2012 11:50 am
Weather Station: WH1081
Operating System: Windows XP
Location: UK

Re: The inside of the ws-1081

Postby MFX » Tue Apr 10, 2012 2:56 pm

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.

User avatar
steve
Cumulus Author
Posts: 26247
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: The inside of the ws-1081

Postby steve » Tue Apr 10, 2012 3:50 pm

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.
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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

MFX
Posts: 6
Joined: Tue Apr 10, 2012 11:50 am
Weather Station: WH1081
Operating System: Windows XP
Location: UK

Re: The inside of the ws-1081

Postby MFX » Tue Apr 10, 2012 8:21 pm

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.

MFX
Posts: 6
Joined: Tue Apr 10, 2012 11:50 am
Weather Station: WH1081
Operating System: Windows XP
Location: UK

Re: The inside of the ws-1081

Postby MFX » Wed Apr 11, 2012 9:55 am

MFX wrote:
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.

NullColaShip
Posts: 1
Joined: Sat Jun 02, 2012 12:00 pm
Weather Station: WH1081
Operating System: Windows 7
Location: Christchurch, New Zealand

Re: The inside of the ws-1081

Postby NullColaShip » Sat Jun 02, 2012 12:13 pm

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

ksangeelee
Posts: 8
Joined: Sun Nov 20, 2011 9:50 pm
Weather Station: WH-1081
Operating System: Debian
Location: Edinburgh
Contact:

Re: The inside of the ws-1081

Postby ksangeelee » Wed Sep 26, 2012 12:23 am

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

User avatar
Super-T
Posts: 786
Joined: Tue Sep 09, 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: The inside of the ws-1081

Postby Super-T » Wed Sep 26, 2012 3:48 am

Well done.. Great project for a rainy day :-)

User avatar
steve
Cumulus Author
Posts: 26247
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: The inside of the ws-1081

Postby steve » Wed Sep 26, 2012 6:43 am

Nice work!
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

User avatar
mcrossley
Posts: 4979
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Jessie Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: The inside of the ws-1081

Postby mcrossley » Wed Sep 26, 2012 1:54 pm

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?

AllyCat
Posts: 997
Joined: Sat Feb 26, 2011 1:58 pm
Weather Station: Fine Offset 1080/1 & 3080
Operating System: Windows XP SP3
Location: SE London

Re: The inside of the ws-1081

Postby AllyCat » Wed Sep 26, 2012 3:32 pm

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.


Return to “Fine Offset/EasyWeather”

Who is online

Users browsing this forum: No registered users and 6 guests