Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.6.5 (build 3081) - 28 May 2020 (please see important announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

See the Wiki to download the software or click on the Downloads link in the Forum Banner.

Davis VP2 Relay Device

For discussion of DIY weather equipment - sensors, accessories, improvements to existing kit etc
User avatar
laulau
Posts: 631
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Davis VP2 Relay Device

Post by laulau »

Hi,
I've done a modified version of AnemometerTX.ino to add solar value to my VP2.
I think the RFM69 sendig are ok for that.
my actual config :
IIS with id=0 for temp/hum and rain
Transmitter id=1 for wind
Arduino Pro mini with RFM69 as IIS id=2 for Solar Rad
In WeatherLink i can't add a second IIS just for solar (only one is admitted) and i can't add a transmitter for solar, there no option for that.

Any though how i can add my solar value in the system ?
18 5 52-00-00-FF-71-00-62-00-00-43
Solar:478.00 / 1.758 = 271 = 0x10F << 6 43C0 packet3 and packet4 | 5 : 43C5
19 6 62-00-00-43-C5-00-82-00-00-FF
0 8 82-00-00-FF-C5-00-92-00-00-00
1 E E2-00-00-80-01-00-01-04-02-02
2 5 52-00-00-FF-71-00-62-00-00-43
3 4 42-00-00-FF-C5-00-52-00-00-FF
4 8 82-00-00-FF-C5-00-92-00-00-00
5 E E2-00-00-80-01-00-01-04-02-02
6 5 52-00-00-FF-71-00-62-00-00-43
7 9 92-00-00-00-05-00-A2-00-00-00
8 8 82-00-00-FF-C5-00-92-00-00-00
9 E E2-00-00-80-01-00-01-04-02-02
10 5 52-00-00-FF-71-00-62-00-00-43
Solar:478.00 / 1.758 = 271 = 0x10F << 6 0x43C0 packet3 and packet4 | 5 : 43C5
11 6 62-00-00-43-C5-00-82-00-00-FF
12 8 82-00-00-FF-C5-00-92-00-00-00

10 5 52-00-00-FF-71-00-62-00-00-FF
Solar:1761.00 / 1.758 = 1001 = 0x3E9 << 6 = 0xFA40 packet3 and packet4 | 5 : FA45
11 6 62-00-00-FA-45-00-82-00-00-FF
12 8 82-00-00-FF-C5-00-92-00-00-00
13 E E2-00-00-80-01-00-01-04-02-02
14 5 52-00-00-FF-71-00-62-00-00-FA
15 A A2-00-00-00-01-00-E2-00-00-80
16 8 82-00-00-FF-C5-00-92-00-00-00
17 E E2-00-00-80-01-00-01-04-02-02

Laurent

Image

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

Re: Davis VP2 Relay Device

Post by mcrossley »

That is what I use my relay device for. As you say you can only have 1 ISS connected to a VP2 console, and it will only read solar data from an ISS.

So you have to make it appear as if all the data is coming from a single ISS.

OR - Buy a WeatherLink Live device, or a Metobridge Pro (was Red).

User avatar
laulau
Posts: 631
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Davis VP2 Relay Device

Post by laulau »

So i'll take the RxTx sketch and add the solar data ! ;)
Laurent

Image

User avatar
laulau
Posts: 631
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Davis VP2 Relay Device

Post by laulau »

Hi Mark,
I've done a modified version of RelayRxTx and include solar data.(Arduino nano with RFM69HW)
The serial output show that packets are transmitted but VP2 console don't get them.
I run ISSRx.ino sketch on an other arduino equiped with RFM69 to decode the transmission.
I get the station0 and station1 (my real ISS and my wind transmitter) but don't receive the TX_ID 2 packets !

Do you have any idea what could go wrong ?
Capture.PNG
You do not have the required permissions to view the files attached to this post.
Laurent

Image

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

Re: Davis VP2 Relay Device

Post by mcrossley »

OK, it looks like the frequency is dialled in as the fei numbers are low.
The timing intervals look good.

As it happens, I just received a couple of EU ISS boards today, and I have the same problem. The VP2 is only picking up the odd packet from the Moteino. So it looks like it may be an EU vs. US frequency problem...

User avatar
laulau
Posts: 631
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Davis VP2 Relay Device

Post by laulau »

I'm a little lost :
rssi is received signal strength indication.
What is fei and which value should we have ?
Do you have an US frequency system ?
Laurent

Image

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

Re: Davis VP2 Relay Device

Post by mcrossley »

OK, for me my frequency was off, I had been using a correction of q-450 for US 928MHz, but switching the 868 I had to remove the correction and it is working fine now.

I'll contact you to discuss, because I don't think my current code is not not checked in to Git.

safuser
Posts: 2
Joined: Sun 04 Sep 2016 12:25 pm
Weather Station: Davis VP2
Operating System: Win10

Re: Davis VP2 Relay Device

Post by safuser »

So, I have ported RxTx code to Adafruit ESP32 feather with RFM69HCW featherwing. More on that later.. Realizing from your last post I do not have your current code. Where should I be looking to minimize FEI? currently using Q-400 to minimize error on console. I have added some to the serial output i.e.:

17:13:55.670 -> 973427257 R 80-00-4C-27-39-07-39-32-FF-FF 1 0/333/7/97.9 34 -69 -6.00 2562512 ok 0 106 temp 62.7 (17.1)
17:13:55.808 -> 973479952 T E3-00-4C-39-01-0E-ED-BD-FF-FF 4 -/---/-/---- 43 - - 2750019 ok 0 107 rain 57
17:13:55.808 -> Station Data: Wind Knots: 0.0 Dir: 107 Outside TempF: 62.70 Outside TempC: 17.06 Outside Humid: 37.10
17:13:55.808 -> Radiodata: Chan: 43 RSSI: -69 FEI: -104 packets: 333 lostPackets: 7 stationsFound: 1 curStation: 0 numStations: 1 discChannel: 16


Getting 97%+ receive from VUE on chan 1. Then relay to VP2 console on CH4. Console is showing 98% with ~0 Freq error now. Does the freq correction apply to both transmit and receive or can they be split using different valus for each? From serial clip above, seems like my receive is off? BTW, US Freqs.

User avatar
laulau
Posts: 631
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Davis VP2 Relay Device

Post by laulau »

Despite ISSRx.ino sketch doesn't receive the TX_ID 2 data i gave a go on my VP2 and :o some packets were catched.
VP2 doesn't stay synchronised with station 3 and data from my wind transmitter (station 2) were also lost.
I think i have to change the TX parameters on the fly and see what happens, but i don't know if i have to change thee timer or the frequency values!
Other point : how to get the ISSRx sketch to receive the TX_ID 2 data ?
Thanks
Laurent

Image

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

Re: Davis VP2 Relay Device

Post by mcrossley »

As I have just changed the frequency of my VP2 setup from 912MHz to 868MHz I had to revisit my relay. I have made some changes and it now seems to work pretty well - the EU frequencies did not look right to me (too much jitter in the frequency correction on the console) and I have produced a new set, mine have come out at evenly spaced intervals, which makes more sense to me than the randomly spaced intervals in the original code.

I have also put a brief 'how-to' in the ReadMe file on tuning your set-up. I'll do some final testing today, and then make the new code available....

User avatar
laulau
Posts: 631
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Davis VP2 Relay Device

Post by laulau »

Ok, let me know when the new code is available.
In the meantime i have tested again, and my VP2 is catching the relay data with the solar included :D
It works with a Nano and a HOPERF RFM69HW-868S2.(older model)
The IISRx sketch isn't receiving the relay data :x it's a Pro Mini with a RFM69HCW-??? .
I've triyed with a Mega2560 but the serial monitor only show the TX packets, no data incoming :shock:
The final goal is to catch the solar packets from my WeatherDuino and insert them in the VP2 data stream.
Laurent

Image

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

Re: Davis VP2 Relay Device

Post by mcrossley »

Latest code pushed to my fork - actually not many changes, but the ReadMe has been updated and now has some tips.

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

Re: Davis VP2 Relay Device

Post by mcrossley »

Another update to my fork. Something that has been bugging me for a while was one of my consoles running ver 1.90 firmware would have lots of resyncs, but the other running ver 3.12 firmware would be fine. I suspect the later firmware relaxed the timing windows. Anyway, I suspected the transmit time jitter in the RelayRxTx sketch was to blame. So this version I have dropped the second timer interrupt and now just use the one. My second ver 1.90 console is now happily staying synced.

I also tweaked the EU frequencies again, this has improved the console +/- figures to mainly stay within +/- 1, so I think the steps are correct now, but the RFM69 has 61 Hz jumps in frequency which I think is the remaining error. The absolute frequencies may be off a bit as I'm looking at this with a cheap RTL USB SDR- calibrated the best I can, but still not great.

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

Re: Davis VP2 Relay Device

Post by mcrossley »

Ignore that, I've managed to mess up my repo, I'll have to sort it out and get back to you when it's fixed. :bash:

User avatar
laulau
Posts: 631
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Davis VP2 Relay Device

Post by laulau »

Hi,
Something new ?
I'm having some difficulties to make the VP2 receiving the relay data.
Sometimes the station is able to get the solar data i've added and sometime not!
I don't really know what's wrong :groan:
Laurent

Image

Post Reply