How to get and display RF433 data

At this moment I am quit new to the arduino. Because of a personal home domotica project I would like to use a arduino uno to receive and display the temp data from my sensors (type Carrin KW9010 -> http://www.carrin.com.hk/products/kw9010.htm)

I am using the arduino uno with a Velleman RX433 receiver.

I have looked at the different weather station project in this forum, but don't get the information I need.

I need a script which is able to detect the transmission of the sensor, and display this transmission on the serial port.

I am able to display the received data on the serial port, but don't know how to find the data transmission with a script, and after that wait for the next transmission...

Below a part of the total received data which I believe has the transmission in it... The actual data is more or less highlighted because I can't figure out where the actual data starts / stops..

11111111111111111111111111111111111111111111111111111111111100001100000111111111111111 
1111111111111111111111111111111111111111111111111111100001100001111111111111111111111111111111111111 
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 
1111111011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 
1111111111111111111111111111111011111111111111111101111111111111111111111111111111111101111111111111 
111111111111111111111111111110110111111111011111111111[glow]1101011001101110111111111111111110111110111011 
1101111111111100010011111111111111111110001111100111101111110111011111111111110111001101111111110100 
1111111000111110111101111111110001101110110010000111010001111111110110010110111011011111010100111111 
1111011101111100110111001011111111011100010111011100111011000100100010011011111001101001110110011010 
1101110010101000001111111011100111100011110110111011111000011000100111011010011110111011001111100101 [/glow]
0110100110011101100100010000011100001110011110000000100000100110010110100010001100100111010001000101 
0001001100000000000000000000001100101001000000100000011000101100000000000000001000000000000010100000 
0000000000100010011000000000000001000010010000010000000000000100111000000101100000000000000100101010 
0000000001000100110010000100100010000100000001000000000010010001010011011001000000000000000000000000 
0100100000010000000100000000000010100001000011010000100001000100001000000000011110001000000000000000 
0100000100000010000000000100000010000000000010110010000000000001000000110000100001000010001001101000

With kind regards,

Peter

Below a part of the total received data which I believe has the transmission in it...

How/where did you receive this data?

I recorded this data by connecting a velleman rx433 to the arduino board on input 2. I use the script below to read the data and display it on the serial...

/*
* RF433 Carrin weathersensor
*
* This software reads the carring KW9010 temp sensor
*/

int rfdataPin = 2;

void setup()                    // run once, when the sketch starts
{
  Serial.begin(9600);           // set up Serial library at 9600 bps
  pinMode(rfdataPin, INPUT);    // sets the digital pin as input to read
  Serial.println("RF433 Carrin arduino receiver startup");

}
 
void loop()                       // run over and over again
{
 int i;

  for (i = 0; i < 100; i++) {  // Used to create a CR point after 100 counts.
  Serial.print(digitalRead(rfdataPin));
  }
  
Serial.println(" ");    // Read the pin and display the value
//delay(100);
}

I recorded this data by connecting a velleman rx433 to the arduino board on input 2.

How? What on that wireless sender did you connect to pin 2? What else did you connect?

Sorry I didn't provide the requested information yet...

The velleman rx433 receiver has the following pinouts:

  • 1: gnd
  • 2: digital output
  • 3: lineaire output
  • 4: Vcc
  • 5: Vcc
  • 6: gnd
  • 7: gnd
  • 8: antenna

I connected pin 2 to the arduino digital input 2. I connected the Vcc pins to the 5V and the gnd pins to the GND of the arduino board.

The receiver is always on because of the direct Vcc connection to 5V.

To receive any data I have a working KW9010 sensor switched on which sends every ~45sec a message with the sensor ID and the temperature...

The known data of the KW9010 as far as I found on the internet is:

Signals coming from a KW9010-receiver
;Bits are encoded in the low pulse; short=0, long=1
;Encoding: (reverse-engineered):
;????1010 0100tttt tttttttt ii???
;where t is the temperature in centigrades multiplied by 10
;and i is the id of the device
;Added by J. Domburg

Found at: http://meuk.spritesserver.nl/projects/rftemp/rftemp.asm