Wireless Communication Arduino RF
by Eagle199393 in Circuits > Arduino
278610 Views, 224 Favorites, 0 Comments
Wireless Communication Arduino RF
![P1050751.JPG](/proxy/?url=https://content.instructables.com/FMP/AWXT/HSJAQQAT/FMPAWXTHSJAQQAT.jpg&filename=P1050751.JPG)
433Mhz RF Transmitter + Receiver Module Link Kit will allow us to connect two Arduinos and that can communicate. Data you send on computer Transmitter show on Arduino Receiver screen.
Final result video --- http://youtu.be/g-GxWBakV-8
Specifications:
Receiver module parameters
Product Model MX-05V
Operating voltage: DC5V
Quiescent current: 4mA
Receiving frequency: 433MHZ
Receiver sensitivity:-105DB
Size: 30 * 14 * 7mm
An extra antenna is needed, please use spiral 50Ω a quarter wavelength antenna
Technical parameters of the transmitter head
Product Model: MX-FS-03V
Launch distance :20-200 meters (different voltage, different results)
Operating voltage :3.5-12V
Dimensions: 19 * 19mm
Operating mode: AM
Transfer rate: 4KB/s
Transmitting power: 10mW
Transmitting frequency: 433M
Pinout from left to right: (DATA; VCC; GND)
![P1050790.JPG](/proxy/?url=https://content.instructables.com/FFA/BGEF/HSJAQQ1W/FFABGEFHSJAQQ1W.jpg&filename=P1050790.JPG)
You will need for this project:
Arduino Uno
Arduino Pro MINI (you can use Uno instead of Pro MINI if you want)
WH1602 or HD44780 16x2 Character LCD Display
433Mhz or 315Mhz RF Transmitter + Receiver Module Link
male-to-male cables
male-to-feemale cable
10k potentiometer
3.7V battery
![P1050683.JPG](/proxy/?url=https://content.instructables.com/F03/4XXB/HSJAQR9V/F034XXBHSJAQR9V.jpg&filename=P1050683.JPG)
![P1050675.JPG](/proxy/?url=https://content.instructables.com/FWB/ATA1/HSJAQRAY/FWBATA1HSJAQRAY.jpg&filename=P1050675.JPG)
![P1050671.JPG](/proxy/?url=https://content.instructables.com/FDA/FVUD/HS18EK0Z/FDAFVUDHS18EK0Z.jpg&filename=P1050671.JPG)
Remove Atmega328 from Arduino UNO
Using male-to-female cables connect Pro MINI to UNO RX-RX; TX-TX; RST-RST; GND-GND; VCC-+5V
Change in Tools-Board-Arduino Pro or Pro MINI
Upload sketch
Receiver Code
#include
#include
LiquidCrystal lcd(7, 6, 5, 4, 3, 2);
char cad[100];
int pos = 0;
void setup()
{
lcd.begin(16, 2);
lcd.setCursor(1, 0);
vw_setup(2000);
vw_rx_start();
}
void loop()
{
byte buf[VW_MAX_MESSAGE_LEN];
byte buflen = VW_MAX_MESSAGE_LEN;
int i;
if( vw_get_message(buf, &buflen) )
{
if(pos < 2)
lcd.setCursor(0, pos);
else
{
pos=0;
lcd.clear();
}
for (i = 1; i < buflen; i++)
{
lcd.print((char)buf[i]);
pos++;
}
}
}
Transmitter Code
#include
char cad[100];
int i=0;
void setup()
{
Serial.begin(9600);
vw_setup(2000);
Serial.print("End with \".\" each data");
}
void loop()
{
if( Serial.available() > 0)
{
cad[i] = Serial.read();
i++;
}
if( cad[i-1] == '.')
{
cad[i] = '\0';
i=0;
vw_send((byte *)cad, strlen(cad));
delay(400);
}
}
Receiver Scheme
![1.jpg](/proxy/?url=https://content.instructables.com/FR6/30YT/HSJAQTHV/FR630YTHSJAQTHV.jpg&filename=1.jpg)
![P1050788.JPG](/proxy/?url=https://content.instructables.com/F6N/3GUU/HSJAQQ47/F6N3GUUHSJAQQ47.jpg&filename=P1050788.JPG)
![P1050794.JPG](/proxy/?url=https://content.instructables.com/F1W/OWDM/HSKUYZ8M/F1WOWDMHSKUYZ8M.jpg&filename=P1050794.JPG)
Transmitter Scheme
![2.jpg](/proxy/?url=https://content.instructables.com/F9I/LIHQ/HSKUYYS5/F9ILIHQHSKUYYS5.jpg&filename=2.jpg)
![P1050770.JPG](/proxy/?url=https://content.instructables.com/FUX/OGHE/HSJAQQ7D/FUXOGHEHSJAQQ7D.jpg&filename=P1050770.JPG)
![P1050762.JPG](/proxy/?url=https://content.instructables.com/FTJ/8H3P/HSKUYZ0S/FTJ8H3PHSKUYZ0S.jpg&filename=P1050762.JPG)
![P1050787.JPG](/proxy/?url=https://content.instructables.com/FW1/E561/HSJAQQ4F/FW1E561HSJAQQ4F.jpg&filename=P1050787.JPG)
![P1050788.JPG](/proxy/?url=https://content.instructables.com/F6N/3GUU/HSJAQQ47/F6N3GUUHSJAQQ47.jpg&filename=P1050788.JPG)
![P1050749.JPG](/proxy/?url=https://content.instructables.com/FA4/6OZL/HSJAQQ8K/FA46OZLHSJAQQ8K.jpg&filename=P1050749.JPG)
![P1050780.JPG](/proxy/?url=https://content.instructables.com/FJ8/LZRF/HSJAQQGG/FJ8LZRFHSJAQQGG.jpg&filename=P1050780.JPG)
Press Enter.
THATS ALL!!!
Thats my video with final result: (too long I think and on Russian, youtube subtitles are not so good but you can on it)
http://youtu.be/g-GxWBakV-8
If you have questions please write in comments.