Pages: 1 ... 3 4 [5]   Go Down
Author Topic: I want to build an autonomous GPRS weather station  (Read 22290 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have also opened the base station housing and took some pics of the PCB, which is like you said, not a good example of PCB design. It looks like it was done on the fly. Here are some pics:







The wind direction is not shown in real-time. I've fiddled with it, it takes a few seconds for the update to show on the display. There are various wind direction algorithms out there and written in C, they are not complicated, and are free. I don't yet have any way of knowing what algorithm is used in this particular base station.

What I'm trying to do is connect it to a SCADA system. Then i might be able to make some progress, i hope. I'm starting to think that maybe i should get the Weather Meters form SparkFun and build my own system form scratch.
« Last Edit: December 30, 2010, 07:07:56 am by aerozg » Logged

Rome
Offline Offline
God Member
*****
Karma: 1
Posts: 987
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So it's actually a re-branded Ventus w155!
http://www.ventusdesign.com/products/w155-weather-station-with-rain-gauge-and-anemometer/
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 20
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

jumpjack: unfortuantly no smiley

In this particular case I prefer to talk about same parts not actual complet . Auriol rain gouge are different, probably diferent elctronic .
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Happy new year everyone smiley

Did any of you have some luck with decoding the wireless sensors data? I have an Alecto WS-3500 which has the same raingauge as the Ventus w155 but the display unit looks more like the one from Auriol... (standard LCD with blue backlight - not inverted like the Ventus device...)

Could someone translate the wireless packets into a binary sequence? I think if we could figure out how to read the temperature and humidity values from the transmission, we would have a first step smiley

Thanks and great work on that!
Logged

0
Offline Offline
Newbie
*
Karma: 3
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone,

I have decoded the most part of the Auriol weather station data. The document is available on my website, but the board does not allows to post any active links in the first post. Maybe in the next...

PS: Sorry for my bad english, it is not my mother language.
Logged

0
Offline Offline
Newbie
*
Karma: 3
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Second try...

There is the link: http://www.tfd.hu/tfdhu/files/wsprotocol/auriol_protocol_v10.pdf

Regards
TFD
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

TFD! You're a genius!  smiley

I'll try to modify the practical arduino weather station sketch to make it work with that... Will keep you guys posted.

(If anyone has some working sketch already, I'd be very pleased though  smiley-grin )
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 20
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

TFD, thanks for information , it is very good job.

However some things need to be chage smiley  (nop I didnt tested, but it is logical) .

1. Please send some array of random ID , my guess is that isnt so random .
2. How central device know which device send data ?
    - according your information it may be from :
      a) random ID
      b) bits 8,9,10,12,13, 14
3. How central device know which format is in use ?
    -may you send binary data log I would like to chechk real value

Regards,
Dubravko


Logged

Rome
Offline Offline
God Member
*****
Karma: 1
Posts: 987
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Congratulations TFD, very good job! And thanks for sharing!

About the faulty rain gauge, my one has no weak signal, but no signal at all sometimes, due to the magnet being too far from the sensor in some situations: be sure to hear the "click" every time you move the "bucket" left and right when performing your tests!
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Interesting development, nice work there TFD!
Logged

0
Offline Offline
Newbie
*
Karma: 3
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

First of all thank you for your appreciation!

@SnJDK:

I think the following is a simple way to distinguish data packets:
Code:
if( bit9 == 0 )

      temperature/humidity data

else
{
      switch( bit14_bit12 )
      {
            case 1: average wind speed data
            case 3: rain gauge data
            case 7: wind direction and gust data
      }
}

Here are some real samples (my test receiver outputs each nibble as a hex digit, regarding the bit order):

B606F082F random id: 0xb6, temperature: 0x0f6 -> 246 -> 24.6 °C, relative humidity: 28 %
B66100E09 average wind speed: 0x0e -> 14 -> 2.8 m/s
B66F6132D wind direction: ( 0x16 << 1 ) | 1 -> 0x2d -> 45 °, wind gust: 0x23 -> 35 -> 7.0 m/s

I have collected also some random id's. Listed in order of appearance, all are hex values:

2E 16 6E E6 62 F6 B2 1E E6 26 EE 9E 06 32 7E BA 0A EE AE C2 AE C6 EA 12 22 22 12 A2 EE 9E 32 EA 72 66 C2 2A 9A 76 E2 A6 EE 9A DA D2 7A 0A EA EE BA 76 EA EE 5E CE D2 AA 86 EE DE 6E CA 32 9E 56


@jumpjack:

I have experienced the same problem with the rain gauge's magnet. However it seems, that it works fine when the unit stands firmly on a flat surface. The problem is somewhere in the RF section of mine unit, because i hear the transmission bursts on the communicaton receiver used to monitor the occurences of transmissions, but the test receiver, nor the base unit does not receive anything. I have managed to capture only a few samples by placing the rain gauge and the test receiver here and there.


Regards
TFD
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

does anyone have some code for that already? I just noticed that my C coding skills suck badly and I don't actually quite get how to grab the packets.


I have a few questions and it would be great if someone could help me on that:

Should I start the packet detection on the 8 times 1bit 'preamble'?

How is the DATA output of a basic ASK 433MHz receiver working? Can I just use that output directly to map HIGH to 1 and LOW to 0? Or do I need to actually define the lengths of each pulse to parse a 1 or 0?

Thanks for your help (I'm a proud Arduino UNO user for a week so far and I have just started to learn...)

Greetings,
l33chy

P.S.: @TFD: Just out of curiosity: How did could you find out the specs of the transmission protocol? By using a professional logic analyzer?
« Last Edit: January 21, 2011, 09:48:21 am by l33chy » Logged

Rome
Offline Offline
God Member
*****
Karma: 1
Posts: 987
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I used two different 433 RXs, and both of them just output a "digital wave", i.e. I have to "manually" process it to determine what is "1" and what is "0", depending on length of high and low bursts.

I didn't write any code yet.  :smiley
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you jumpjack, that's very helpful!
Logged

Pages: 1 ... 3 4 [5]   Go Up
Jump to: