FS20 WUE with ASH 2200 no datas shown in Serial Monitor

Hello everybody,

I’m trying to get this sketch running since hours…
As you can imaging the sketch is not written by myself (newby).

In the serial monitor there is only shown this:

Weather Data Receiver FS20WUE <<<
FS20WUE parameters loaded!

I think i build anything in the right way. At least i can see that thr receiver gets a signal from the ASH 2200 (green LED is flashing every 3 minutes).

Please give me a idea to see the values,

Thanks

This is the code…

/***********************************************************************************************

  • Sketch: DemoWetterdatenReceiver_01.ino

  • Author: A. Kriwanek: http://www.kriwanek.de/arduino/projekte/waermemengenzaehler.html

  • Version: 1.00 5.08.2012/09:30

  • This sketch controls the weather data receiver FS20 WUE from ELV Electronics. This radio

  • receiver is able to decode the weather sensors KS200/KS300, S300IA, S300TA, AS200 and PS50.

  • Additional it receives messages from FS20 senders (e.g. switches). This sketch sets the

  • FS20WUE parameters for receiving weather and FS20 data and displaying them on the serial

  • monitor or any other terminal program.

  • Rain-Sensor in KS300: 1 count = 295ml/m²

  • Hardware Serial: Send received data to PC with terminal program

  • SoftSerial: Receives weather and FS20 data from FS20WUE (Pin 1

  • RxD is digital pin 10 (connect to TX of FS20WUE)

  • TxD is digital pin 11 (connect to RX of FS20WUE)

  • Note:

  • Not all pins on the Mega and Mega 2560 support change interrupts,

  • so only the following can be used for RxD:

  • 10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69

  • Not all pins on the Leonardo support change interrupts,

  • so only the following can be used for RxD:

  • 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).

  • This sketch is free software: Arduino DemoWetterdatenReceiver_01 von Andreas Kriwanek steht unter

  • einer Creative Commons Namensnennung-Weitergabe unter gleichen Bedingungen 3.0 Unported Lizenz.

**********************************************************************************************/
#include <SoftwareSerial.h>

//=============================================================================================
// Define values and create objects:
//---------------------------------------------------------------------------------------------
SoftwareSerial mySerial(10, 11); // RxD, TxD

// Commands for the ELV Weather Receiver FS20WUE. There are some typos in the documentation of the
// receiver. This are the right commands:
char* cmdStat = “\x02\x01\xF0”; // Returns status of weather data receiver
char* cmdWDOn = “\x02\x02\xF2\x01”; // Receive weather data and transmit immediately
char* cmdFSOn = “\x02\x02\xF1\x01”; // Receive FS20 data and transmit immediately
char* cmdText = “\x02\x02\xFB\x01”; // All output in text format

//---------------------------------------------------------------------------------------------
void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(4800);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
Serial.println(">>> Weather Data Receiver FS20WUE <<<");

// Set the data rate for the SoftwareSerial port
mySerial.begin(4800);
delay(100);
mySerial.println(cmdText);
delay(10);
mySerial.print(cmdFSOn);
delay(10);
mySerial.print(cmdWDOn);
delay(10);
mySerial.print(cmdStat);
delay(10);

Serial.println(“FS20WUE parameters loaded!”);
}
//---------------------------------------------------------------------------------------------
void loop()
{
if (mySerial.available()) // Read from FS20WUE
Serial.write(mySerial.read()); // Write to PC serial
if (Serial.available()) // Read from PC serial
mySerial.write(Serial.read()); // Write to FS20WUE
}

You've incorrectly posted code that interacts with hardware that you didn't provide any links to. And you want us to tell you what is wrong. Doesn't work that way.

Read the stickies at the top of the forum. Post your code correctly. Post links to the hardware.