Connecting RF Transmitter and Receiver to Arduino
Connecting RF Transmitter and Receiver to Arduino
Arduino
By VinayM44 in TechnologyArduino
835
2
By VinayM44Click to Visit my site
More by the author:
About: An Hobbyist who is interested in Arduino and Electronics circuits and making an
Projects an for final year students and helping out them in there Project, if you are looking for
something related to Electron... More About VinayM44 »
The RF(Radio Frequency) Module operates at radio frequency, The corresponding range varries
between 30khz & 300Ghz, in the RF system, The digital data is represnted as variations in the
amplitude of carrier wave. This kind of modulation is known as Amplitude shifting key (ASK).
The signals transmitted through RF can travel through larger distances making it suitable for
long range applications. RF transmission is more strong and reliable.. RF communication uses a
specific frequency range.. This RF module comprises of an RF Transmitter and an RF Receiver.
The transmitter/receiver (Tx/Rx) pair operates at a frequency of 434 MHz. An RF transmitter
receives serial data and transmits it wirelessly through RF through its antenna connected at pin4.
The transmission occurs at the rate of 1Kbps - 10Kbps.The transmitted data is received by an RF
receiver operating at the same frequency as that of the transmitter.
Features of RF Module:
1.Receiverfrequency 433MHz.
In this Post you guys will know about how to transmit the data from one place to another place
wirelessly for achieving this here we used an Rf Transmitter and Receiver module. Rf transmitter
will send some characters to Receiver section, Based on the character received, Encoded
Message will be displayed on the LCD display in the receiver Section. The Rf transmitter and
Reciever will be connected to an arduino board on tx and rx end, befor going to start the
connections we need some hardware components that are listed below.
Step 1: Components Required
Hardware components
4.jumper wires.
5. Breadboard (optional)
6.Soldering gun
Software Required
1. Arduino IDE
Make the connections as per the circuit diagram, for implementing an Rf Tx & Rx we need two
arduino boards, one for Transmitter and another one for Receiver. Once you connected
everything as per the circuit diagram. The module works fine
Step 3: Code
Code
Before going to upload the code to your Arduino First download the library from here
http://www.airspayce.com/mikem/arduino/VirtualWir...
Transmitter code
char *controller;
voidsetup()
vw_set_ptt_inverted(true);
vw_set_tx_pin(12);
void loop()
controllerer="9" ;
vw_wait_tx();
delay(1000);
controller="8" ;
vw_wait_tx();
delay(1000);
}
Receiver Code
charcad[100];
int pos = 0;
voidsetup()
lcd.begin(16, 2);
vw_set_ptt_inverted(true);
vw_set_rx_pin(11);
voidloop()
uint8_t buf[VW_MAX_MESSAGE_LEN];
if (vw_get_message(buf, &buflen))
// Non-blocking
{
if(buf[0] == '9')
lcd.clear();
lcd.print("Hello Techies");
if(buf[0] == '8')
lcd.clear();
lcd.print("Welcome to ");
lcd.print("Pro-Tech Channel");
Step 4: Result
Step 5: Follow Us On
Click on the link below and follow the blog for more updates
https://protechel.wordpress.com
RF Transmitter and Receiver Circuit
[Explained] in detail
Posted on July 21, 2017
/Under Uncategorized
/With 3 Comments
The term ‘RF’ in RF transmitter stands for Radio Frequency. Radio frequency is generated
through a small electronic device with the help of which you can easily transmit signals between
any two devices which work on radio frequency waves. Usually, all the RF modules work with
the help of a transmitter and receiver that is why it is known as a RF transmitter and receiver
circuit.
RF Transmitter
A small RF transmitter can easily transmit a radio wave and even can do modulation that wave to
carry the data along. In a circuit, RF transmitter should be placed or joined next to the micro
controller. This micro controller provides data to the module which can be transmitted with the
help of this RF module. Different RF transmitters are operated at different frequencies, according
to the wavelength of the frequency the RF transmitter and receiver circuit is set up.
Receiver Circuit
The main function of the receiver circuit is to receive the modulated signals transmitted via RF
transmitter. When this module receives the signals then it further demodulates it for RF
communication to occur between two ends. There are various types of RF Receiver circuit; you
can use the one which fits in your budget and process the most for better and productive results.
A RF transmitter and receiver circuit diagram is only complete when it has a proper RF
transmitter, RF receiver, battery, antenna and pins to connect all these devices. This basically
works as a wireless on or off switch. And, the main purpose of this complete circuit is to send
pulses from its antenna to a RF receiver.
It is recommended to always use a continuous wave RF transmitter, so that you do not need to
modulate the radio frequency waves. Nowadays, this circuit has wide number of applications as
it has made the wireless transmission a lot easier than before.
The most common example of a device which works on RF transmitter and receiver circuit is our
remote controls. Almost, each one of uses remote everyday but do we ever wonder how it works
from such a long distance. The simple mechanism with the help of which you can easily access
your television through a remote is through a RF transmitter and receiver circuit. And, not only
all the television remotes, even all the other remotes which you use have this circuit within them
for its functioning.
You may like to watch FM transmitter circuit working and application
All the major wireless transmissions occur through this RF transmitter and receiver circuit only,
like wireless meter reading, wireless data terminals, wireless data transmissions, wireless home
security systems and lot more.
To make sure that the performance of your circuit is not hindered, you need to see that the circuit
is properly attached or not. And, some other factors which can affect the performance of the
circuit are worn out batteries or insufficient transmitter power.
These are all the points you should keep in mind while setting up or using a RF transmitter and
receiver circuit.