Pages: [1]   Go Down
Author Topic: Cheap and small RF Rx/Tx  (Read 1339 times)
0 Members and 1 Guest are viewing this topic.
Slovakia
Offline Offline
Newbie
*
Karma: 0
Posts: 33
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everybody,
I was wondering in somebody used one of these:
http://www.aliexpress.com/item/Free-Shipping-10pair-lot-433MHZ-Superregeneration-Wireless-Transmitter-Module-Burglar-Alarm-and-Receiver-Module/686618396.html

I want to make some RF sensors and remotes for my arduino but cheap. I need to send and receive only On/OF (0/1) signal to and from arduino. I have no idea about coding for RF (I hope Transmitters and receivers will be paired).
My vision is:
After signal Input (+5) on DATA at transmitter (Sensor version) will be end signal to Receiver and that I can read on digital port through Arduino.
Will it work this way?
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 179
Posts: 8067
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
After signal Input (+5) on DATA at transmitter (Sensor version) will be end signal to Receiver and that I can read on digital port through Arduino. Will it work this way?

I think those transmitters/receivers use ON/OFF Keying (OOK).  When the transmitter data pin is HIGH it transmits.  When the data pin is LOW it turns off.  Similarly, if the receiver detects a signal it turns the output pin HIGH and if it doesn't detect a signal it turns the output pin LOW.  If the two are close to each other and there are no other transmitter in the area using the same band the output of the receiver should be similar to the input of the transmitter.

There is a library called "VirtualWire" that adds framing around your message so that it can detect interference.  This can be used to prevent damaged messages from causing unexpected behavior on the receiver.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 36
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There is a library called "VirtualWire" that adds framing around your message so that it can detect interference.  This can be used to prevent damaged messages from causing unexpected behavior on the receiver.

Documentation for VirtualWire can be found here: http://www.open.com.au/mikem/arduino/VirtualWire.pdf

This migth help also: http://code.google.com/p/rc-switch/. You could use the same protocol and use those kinds of remotes to controll it along with your arduino.
« Last Edit: January 10, 2013, 09:53:20 am by llukkari » Logged

Slovakia
Offline Offline
Newbie
*
Karma: 0
Posts: 33
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Guys!, really helpful comments, I´m ordering Today
Btw. Llukkari, great job with your web interface, maybe one I’ll get there too.
Logged

Palermo
Offline Offline
Full Member
***
Karma: 0
Posts: 168
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Those modules are very easy to use with the VirtualWire library. Go get it. It lets you send short data packages, enough for your purpose.
Don't expect long distance range, the signal will suffer because of every obstacle you put inbetween.
I used them at home, they cover some 10meters w/ obstacles. Much depends on the power supply too (higher voltage makes them cover higher distances).
Logged

Pages: [1]   Go Up
Jump to: