The 433 MHz RF Receiver Module is a compact and low-cost module capable of receiving radio frequency (RF) signals at the 433 MHz frequency band. This frequency band is widely used for a variety of wireless communication applications, including remote control systems, home automation, and telemetry. Due to its ease of use and broad range, it is a popular choice for hobbyists and professionals working on wireless projects.
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (5V DC) |
2 | DATA | Data output pin |
3 | GND | Ground connection |
4 | ANT | Antenna connection (optional) |
#include <RH_ASK.h>
#include <SPI.h> // Not required, but included for compatibility
// Create ASK object
RH_ASK rf_receiver(2000, 11, 12, 0, true);
void setup()
{
Serial.begin(9600); // Start serial communication at 9600 baud
if (!rf_receiver.init())
Serial.println("init failed");
}
void loop()
{
uint8_t buf[RH_ASK_MAX_MESSAGE_LEN];
uint8_t buflen = sizeof(buf);
// Check if received packet is available
if (rf_receiver.recv(buf, &buflen))
{
// Print received message to serial
Serial.print("Message Received: ");
Serial.println((char*)buf);
}
}
RH_ASK
object is initialized with a bitrate of 2000 bps and RX pin on Arduino pin 11.init()
function sets up the RF receiver; if it fails, an error message is printed.loop()
, the recv()
method checks for a new message and prints it to the serial monitor.Q: Can I use multiple RF receiver modules in the same area? A: Yes, but make sure each pair of transmitter and receiver operates on a different frequency or uses a unique encoding scheme to avoid interference.
Q: What is the range of the 433 MHz RF Receiver Module? A: The range can vary from a few meters to over 100 meters, depending on the transmitter power, antenna, and environmental conditions.
Q: Is it legal to use the 433 MHz band for wireless communication? A: The 433 MHz band is an ISM (Industrial, Scientific, and Medical) band and is generally license-free in many countries. However, users should check local regulations as there may be restrictions on power output or duty cycle.