I’ve seen a lot of projects in which text is sent through 433mhz rf rx and tx modules but I haven’t seen actual HIGH/LOW signals being sent.
Is it possible to send a signal from the 433mhz rf transmitter to the receiver with the help of Radio Head library so a buzzer is sounded?
If so, how?
Basically, What I’m trying to do is have a Arduino Uno connected to a HC-sr501 PIR Motion Sensor and when a motion is detected, then it sends a signal through a transmitter.
On the other hand the signal is received by a receiver connected to another Arduino Uno which sounds a buzzer.
I’ve tried to send text through these rx/tx modules and it worked just fine but I can’t figure out how to replace the text with a buzzer so…
Maybe a more experienced person could help kick start my engine?
Thanks in advance!!!
Edit: This is the code for the text I transmitted
// Include RadioHead Amplitude Shift Keying Library
#include <RH_ASK.h>
// Include dependant SPI Library
#include <SPI.h>
// Create Amplitude Shift Keying Object
RH_ASK rf_driver;
void setup()
{
// Initialize ASK Object
rf_driver.init();
}
void loop()
{
const char *msg = "Hello World";
rf_driver.send((uint8_t *)msg, strlen(msg));
rf_driver.waitPacketSent();
delay(1000);
}[code/]