Mopit rf433 receiver and Arduino compatibility

Hi.

I had some trouble, a few days ago, with my first receiver rf433 receiver and Arduino. Today I was given a different receiver to test it out.

Basically, I want to receive and decode the sent rf433 signal from a proprietary thermo sensor, which periodically sends the signal every 43 seconds (I already know the format of the protocol that the sensor uses).

To test the new receiver out I hooked up:

  • pin2 (GND) of the receiver to GND of my Arduino.
  • pin14 (DATA OUT) to digital pin 7.
  • pin15 (VCC) to 5V.

I than ran the following sketch:

 #define rPin 7           // RF Receiver pin = digital pin 7
 #define ledPin 13        // Onboard LED = digital pin 13
 unsigned int data = 0;   // variable used to store received data

 void setup(){
   pinMode(rPin,INPUT);
   
   pinMode(ledPin, OUTPUT);
   digitalWrite(ledPin,0);
   Serial.begin(9600);
 }

 void loop(){
   data=digitalRead(rPin);    //listen for data on pin7: 0 or 1
   
   if(data > 0){
    Serial.println(data);
   }
   
 }

The read values are always zero (even when the signal is being transmitted). Would anybody know why?

Thank you in advance!