• ADD: Room305, Building 1,17# GuangMing RD.Dongguan CityGuangdong China 523779
  • TEL: +86 0769-23380975
  • FAX: +86 0769-23380975
  • Email: Support@inhaos.com
Home > download > Product Catalogue > RF Module > 433MHz RF Module > 3x RXB61 3.6 5.5V 315 433M ASK OOK Receiver RF Wireless Arduino RC Switch

3x RXB61 3.6 5.5V 315 433M ASK OOK Receiver RF Wireless Arduino RC Switch

3x RXB61 3.6 5.5V 315 433M ASK OOK Receiver RF Wireless Arduino RC Switch

    

  1. 315MH and 433.92MHz Frequency
  2. -109dBm High Sensitivity
  3. Image Rejection Function
  4. Low Power Consumption
  5. Excellent Selectivity and Noise Rejection

/*
  Simple example for receiving
  
  http://code.google.com/p/rc-switch/
*/


#include 

RCSwitch mySwitch = RCSwitch();

void setup() {
  Serial.begin(9600);
  mySwitch.enableReceive(0);  // Receiver on inerrupt 0 => that is pin #2
}

void loop() {
  if (mySwitch.available()) {
    
    int value = mySwitch.getReceivedValue();
    
    if (value == 0) {
      Serial.print("Unknown encoding");
    } else {
      Serial.print("Received ");
      Serial.print( mySwitch.getReceivedValue() );
      Serial.print(" / ");
      Serial.print( mySwitch.getReceivedBitlength() );
      Serial.print("bit ");
      Serial.print("Protocol: ");
      Serial.println( mySwitch.getReceivedProtocol() );
    }

    mySwitch.resetAvailable();
  }
}

Copyright © 2010 INHAOS Technology Co., Limited. All Rights Reserved. (Ver 1.0.0000)Powered by Onepound

Site Map | Add to Wishlist