Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Pages: [1]   Go Down
Author Topic: La crosse WS- 2300  (Read 3434 times)
0 Members and 1 Guest are viewing this topic.
Slovenia
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a anemometer (wind speed sensor) from an La Crosse weather station (WS-2300) (up to 16 wind directions) and    
Rain Gauge for WAS 2300-16-series. I'd like to connect it to my arduino.

It uses a standard RJ11 jack to transmit data. I opened it (wind speed sensor)- photo, up and saw that the RJ-11 pin-out is as followed:

1 - serial I / O
2 - VDD
3 - Regulator CE (Chip Enable)
4 - GND

Rain Gauge used Reed switch RJ-11 pin-out is as followed>

1 - DATA
4 - GND


How would I go about connecting it to my arudino, and then reading what's being sent over the serial line?

thanks


* DSCN8998.JPG (1011.08 KB, 2816x2112 - viewed 86 times.)
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 234
Posts: 14296
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
How would I go about connecting it to my arudino, and then reading what's being sent over the serial line?

You apparently did not search the forum, check - http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1286087094

Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Slovenia
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks,

but this does not help me much.  If I look at other post is still anemometer connected to ovn pin, and wind vane to another. How is here?

tnx
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 234
Posts: 14296
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
1 - serial I / O
2 - VDD
3 - Regulator CE (Chip Enable)
4 - GND

There will be pulses from line 1, probably a square wave. You could use an interrupt routind to count these pulses. See - http://arduino.cc/en/Reference/AttachInterrupt

The minimal code should be like this
Code:
volatile unsigned long counter = 0;

void setup()
{
  Serial.begin(115200);
  attachInterrupt(0, wind, RISING);   // IRQ 0 == PIN 2
}

void loop()
{
  if (millis() - last > 1000)  // display counter once per second
  {
    Serial.println(counter);
    last = millis();
  }
}

void wind()
{
  counter++;
}
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Jump to: